image.py: correct umount cmd
This commit is contained in:
parent
00c61844e7
commit
531845f176
1 changed files with 1 additions and 1 deletions
2
image.py
2
image.py
|
@ -330,7 +330,7 @@ def cmd_build(profile_name: str = None, build_pkgs: bool = True):
|
|||
chroot.deactivate()
|
||||
|
||||
logging.debug(f'Unmounting rootfs at "{chroot.path}"')
|
||||
res = run(['umount', chroot.path, '&&', 'sync'])
|
||||
res = run(['umount', chroot.path])
|
||||
logging.debug(f'rc: {res.returncode}')
|
||||
|
||||
logging.info(f'Done! Image saved to {image_path}')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue