1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-24 21:15:10 +03:00

Revert "chroot: allow mounting the device rootfs (MR 2252)"

This reverts commit f331b95824.
This commit is contained in:
Casey Connolly 2025-05-10 16:08:34 +02:00
parent feae3c8a20
commit 393f7e3616
7 changed files with 10 additions and 64 deletions

View file

@ -419,10 +419,6 @@ def run(args: PmbArgs) -> None:
)
arch = pmb.parse.deviceinfo().arch
# Make sure the rootfs image isn't mounted
pmb.mount.umount_all(Chroot(ChrootType.IMAGE, "").path)
pmb.install.losetup.detach_all()
img_path = system_image(device)
img_path_2nd = None
if args.second_storage: