mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
registry updates for multi-hardware-requirements
This commit is contained in:
@@ -280,8 +280,11 @@ pub async fn execute<C: Context>(
|
||||
let lower = TmpMountGuard::mount(&BlockDev::new(&image_path), MountType::ReadOnly).await?;
|
||||
let work = config_path.join("work");
|
||||
let upper = config_path.join("overlay");
|
||||
let overlay =
|
||||
TmpMountGuard::mount(&OverlayFs::new(&lower.path(), &upper, &work), ReadWrite).await?;
|
||||
let overlay = TmpMountGuard::mount(
|
||||
&OverlayFs::new(vec![lower.path()], &upper, &work),
|
||||
ReadWrite,
|
||||
)
|
||||
.await?;
|
||||
|
||||
let boot = MountGuard::mount(
|
||||
&BlockDev::new(&part_info.boot),
|
||||
|
||||
Reference in New Issue
Block a user