install: fix CREATE DEVICE ROOTFS message (MR 1991)

This converts the 1st step message to use a format string as well and
fixes two small typos in the 2nd step message.
This commit is contained in:
Johannes Marbach 2020-11-18 19:59:33 +01:00 committed by Oliver Smith
parent 751524b5b4
commit 74931b9b93
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 2 deletions

View File

@ -668,11 +668,11 @@ def install(args):
steps = 4
# Install required programs in native chroot
logging.info("*** (1/{}) PREPARE NATIVE CHROOT ***".format(steps))
logging.info(f"*** (1/{steps}) PREPARE NATIVE CHROOT ***")
pmb.chroot.apk.install(args, pmb.config.install_native_packages,
build=False)
logging.info(f'*** (2/{steps} CREATE DEVICE ROOTFS("{args.device}") ***')
logging.info(f'*** (2/{steps}) CREATE DEVICE ROOTFS ("{args.device}") ***')
# Create user before installing packages, so post-install scripts of
# pmaports can figure out the username (legacy reasons: pmaports#820)