forked from Mirror/pmbootstrap
install: output empty line before flash/sshd info (MR 2030)
Leave some visual space before the flashing and ssh daemon information blocks, so they don't get overlooked by the user: [12:50:31] *** (4/4) FILL INSTALL BLOCKDEVICE *** [12:50:31] (native) copy rootfs_qemu-amd64 to /mnt/install/ [12:50:36] [12:50:36] *** FLASHING INFORMATION *** [12:50:36] Refer to the installation instructions of your device, or the generic install instructions in the wiki. [12:50:36] https://wiki.postmarketos.org/wiki/Installation_guide#pmbootstrap_flash [12:50:36] [12:50:36] *** SSH DAEMON INFORMATION *** [12:50:36] SSH daemon is disabled (--no-sshd). [12:50:36] [12:50:36] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary) [12:50:36] Done
This commit is contained in:
parent
2b2ede95e5
commit
af2b2b5933
1 changed files with 6 additions and 0 deletions
|
@ -341,6 +341,7 @@ def disable_sshd(args):
|
|||
|
||||
|
||||
def print_sshd_info(args):
|
||||
logging.info("") # make the note stand out
|
||||
logging.info("*** SSH DAEMON INFORMATION ***")
|
||||
|
||||
if not args.ondev_no_rootfs:
|
||||
|
@ -547,6 +548,7 @@ def install_system_image(args, size_reserve, suffix, step, steps,
|
|||
def print_flash_info(args):
|
||||
""" Print flashing information, based on the deviceinfo data and the
|
||||
pmbootstrap arguments. """
|
||||
logging.info("") # make the note stand out
|
||||
logging.info("*** FLASHING INFORMATION ***")
|
||||
|
||||
# System flash information
|
||||
|
@ -804,5 +806,9 @@ def install(args):
|
|||
else:
|
||||
install_system_image(args, 0, f"rootfs_{args.device}", step, steps,
|
||||
split=args.split, sdcard=args.sdcard)
|
||||
|
||||
print_flash_info(args)
|
||||
print_sshd_info(args)
|
||||
|
||||
# Leave space before 'chroot still active' note
|
||||
logging.info("")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue