From b0c05436a9d489a43799761b94adc853c2704f98 Mon Sep 17 00:00:00 2001 From: Lionel Duboeuf Date: Fri, 30 Mar 2018 02:52:38 +0200 Subject: [PATCH] pmbootstrap install: print 'flash_system' before 'flash_kernel' (#1372) --- pmb/install/_install.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pmb/install/_install.py b/pmb/install/_install.py index 624c965f..f60be8d3 100644 --- a/pmb/install/_install.py +++ b/pmb/install/_install.py @@ -303,16 +303,6 @@ def install_system_image(args): logging.info("*** (5/5) FLASHING TO DEVICE ***") logging.info("Run the following to flash your installation to the" " target device:") - logging.info("* pmbootstrap flasher flash_kernel") - logging.info(" Flashes the kernel + initramfs to your device:") - logging.info(" " + args.work + "/chroot_rootfs_" + args.device + - "/boot") - method = args.deviceinfo["flash_method"] - if (method in pmb.config.flashers and "boot" in - pmb.config.flashers[method]["actions"]): - logging.info(" (NOTE: " + method + " also supports booting" - " the kernel/initramfs directly without flashing." - " Use 'pmbootstrap flasher boot' to do that.)") # System flash information if not args.sdcard: @@ -324,6 +314,17 @@ def install_system_image(args): logging.info(" (NOTE: This file has a partition table," " which contains a boot- and root subpartition.)") + logging.info("* pmbootstrap flasher flash_kernel") + logging.info(" Flashes the kernel + initramfs to your device:") + logging.info(" " + args.work + "/chroot_rootfs_" + args.device + + "/boot") + method = args.deviceinfo["flash_method"] + if (method in pmb.config.flashers and "boot" in + pmb.config.flashers[method]["actions"]): + logging.info(" (NOTE: " + method + " also supports booting" + " the kernel/initramfs directly without flashing." + " Use 'pmbootstrap flasher boot' to do that.)") + # Export information logging.info("* If the above steps do not work, you can also create" " symlinks to the generated files with 'pmbootstrap export'"