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

build: move run_abuild and friends to a new file (MR 2252)

_package.py was getting pretty big. split the actual build steps out.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-16 19:30:21 +02:00 committed by Oliver Smith
parent 700fe32cf5
commit ceaad5c291
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 265 additions and 244 deletions

View file

@ -963,10 +963,9 @@ def print_flash_info(device: str, deviceinfo: Deviceinfo, split: bool, have_disk
logging.info("* pmbootstrap flasher flash_kernel")
logging.info(" Flashes the kernel + initramfs to your device:")
if requires_split:
logging.info(f" {Chroot.native()}/home/pmos/rootfs/"
f"{device}-boot.img")
logging.info(f" {Chroot.native() / 'home/pmos/rootfs' / device}-boot.img")
else:
logging.info(f" {Chroot(ChrootType.ROOTFS, device)}/boot")
logging.info(f" {Chroot(ChrootType.ROOTFS, device) / 'boot'}")
if "boot" in flasher_actions:
logging.info(" (NOTE: " + method + " also supports booting"