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:
parent
700fe32cf5
commit
ceaad5c291
4 changed files with 265 additions and 244 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue