diff --git a/pmb/install/_install.py b/pmb/install/_install.py index e6939446..df8b881c 100644 --- a/pmb/install/_install.py +++ b/pmb/install/_install.py @@ -518,8 +518,6 @@ def print_flash_info(args): """ Print flashing information, based on the deviceinfo data and the pmbootstrap arguments. """ logging.info("*** FLASHING INFORMATION ***") - logging.info("Run the following to flash your installation to the" - " target device:") # System flash information method = args.deviceinfo["flash_method"] @@ -527,6 +525,16 @@ def print_flash_info(args): flasher_actions = flasher.get("actions", {}) requires_split = flasher.get("split", False) + if method == "none": + logging.info("Refer to the installation instructions of your device," + " or the generic install instructions in the wiki.") + logging.info("https://wiki.postmarketos.org/wiki/Installation_guide" + "#pmbootstrap_flash") + return + + logging.info("Run the following to flash your installation to the" + " target device:") + if "flash_rootfs" in flasher_actions and not args.sdcard and \ bool(args.split) == requires_split: logging.info("* pmbootstrap flasher flash_rootfs") @@ -584,7 +592,7 @@ def install_recovery_zip(args, steps): # Flash information logging.info("*** FLASHING INFORMATION ***") logging.info("Flashing with the recovery zip is explained here:") - logging.info("") + logging.info("https://postmarketos.org/recoveryzip") def install_on_device_installer(args, step, steps):