SHA256
Fixing /run remount on switch_root and elimenating /usr/bin/mount dependency.
This commit is contained in:
1 parent
1998df9720
commit
ef16746068
2 files changed
+48
-10
No files matched your search
+4
-1
@@ -76,7 +76,10 @@ enum NyanitState {
|
||||
/// Mounting bee-root and chiking if there any snapshots
|
||||
fn mount_and_check_snaps(bee_root_dev: &str) -> Result<NyanitState, ExecCommandError> {
|
||||
// mount bee-root
|
||||
nyan_system::mount_bee_root(TMP_ROOT, bee_root_dev)?;
|
||||
nyan_system::mount_bee_root(bee_root_dev, TMP_ROOT)?;
|
||||
|
||||
// let root_list = nyan_system::list_dir(TMP_ROOT)?;
|
||||
// return Err(ExecCommandError::Other(root_list));
|
||||
|
||||
// list snaps if any
|
||||
let mut snaps_list = nyan_system::list_bzzpss_snaps(TMP_ROOT_SNAPS)?;
|
||||
|
||||
Reference in new issue
Block a user