1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-19 18:45:09 +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 d8886b086a
commit 9a6e32fb6d
No known key found for this signature in database
GPG key ID: 0583312B195F64B6
7 changed files with 26 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: