1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-13 03:19:47 +03:00

Fix pmbootstrap install --android-recovery-zip (MR 2368)

Tweaked-By: Oliver Smith <ollieparanoid@postmarketos.org>
This commit is contained in:
HenriDellal 2024-07-14 17:20:40 +00:00 committed by Oliver Smith
parent d8e174b04c
commit 2b577a8694
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 6 additions and 5 deletions

View file

@ -1040,7 +1040,7 @@ def print_flash_info(device: str, deviceinfo: Deviceinfo, split: bool, have_disk
def install_recovery_zip(args: PmbArgs, device: str, arch: Arch, steps):
logging.info(f"*** ({steps}/{steps}) CREATING RECOVERY-FLASHABLE ZIP ***")
chroot = Chroot(ChrootType.BUILDROOT, arch)
mount_device_rootfs(Chroot.rootfs(device))
mount_device_rootfs(Chroot.rootfs(device), chroot)
pmb.install.recovery.create_zip(args, chroot, device)
# Flash information