mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Also umount efivars
This commit is contained in:
@@ -36,6 +36,8 @@ def umount_chroot_basedir():
|
||||
for command in (
|
||||
['umount', '-f', PACKAGE_PATH],
|
||||
['umount', '-f', os.path.join(CHROOT_BASEDIR, 'proc')],
|
||||
# Need to unmount efivarfs before sys (automatically mounted under sys)
|
||||
['umount', '-f', os.path.join(CHROOT_BASEDIR, 'sys/firmware/efi/efivars')],
|
||||
['umount', '-f', os.path.join(CHROOT_BASEDIR, 'sys')],
|
||||
):
|
||||
run(command, check=False, log=False)
|
||||
|
||||
Reference in New Issue
Block a user