forked from Mirror/pmbootstrap
install: remove /mnt/pmbootstrap at the end
Don't include the /mnt/pmbootstrap directories in the images created with "pmbootstrap install". Reviewed-by: Pablo Correa Gómez <ablocorrea@hotmail.com> Reviewed-by: Luca Weiss <luca@z3ntu.xyz> Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230806184729.4891-3-ollieparanoid@postmarketos.org%3E
This commit is contained in:
parent
fdbb8eebb8
commit
0ff6ad481d
5 changed files with 58 additions and 1 deletions
|
@ -816,6 +816,7 @@ def install_system_image(args, size_reserve, suffix, step, steps,
|
|||
# Clean up after running mkinitfs in chroot
|
||||
pmb.helpers.mount.umount_all(args, f"{args.work}/chroot_{suffix}")
|
||||
pmb.helpers.run.root(args, ["rm", f"{args.work}/chroot_{suffix}/in-pmbootstrap"])
|
||||
pmb.chroot.remove_mnt_pmbootstrap(args, suffix)
|
||||
|
||||
# Just copy all the files
|
||||
logging.info(f"*** ({step + 1}/{steps}) FILL INSTALL BLOCKDEVICE ***")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue