mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
chroot.mount_rootfs(): no need to put "loop" into mount options, loopdev is created externally
This commit is contained in:
parent
0cec961288
commit
dfce1cf4e0
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ class Chroot:
|
|||
results[pkg] = self.run_cmd(f'{cmd} {pkg}')
|
||||
return results
|
||||
|
||||
def mount_rootfs(self, source_path: str, fs_type: str = None, options: list[str] = ['loop'], allow_overlay: bool = False):
|
||||
def mount_rootfs(self, source_path: str, fs_type: str = None, options: list[str] = [], allow_overlay: bool = False):
|
||||
if self.active:
|
||||
raise Exception(f'{self.name}: Chroot is marked as active, not mounting a rootfs over it.')
|
||||
if not os.path.exists(source_path):
|
||||
|
|
Loading…
Add table
Reference in a new issue