install: fix root partition path in print (MR 2377)

When we output the root partition path, it says rootfs.img but it should
be root.img fix it.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-07-20 17:33:02 +02:00
parent 6002a73329
commit c23a9ea9cd
No known key found for this signature in database
GPG key ID: 0583312B195F64B6

View file

@ -972,7 +972,7 @@ def print_flash_info(device: str, deviceinfo: Deviceinfo, split: bool, have_disk
logging.info("* pmbootstrap flasher flash_rootfs")
logging.info(" Flashes the generated rootfs image to your device:")
if split:
logging.info(f" {Chroot.native() / 'home/pmos/rootfs' / device}-rootfs.img")
logging.info(f" {Chroot.native() / 'home/pmos/rootfs' / device}-root.img")
else:
logging.info(f" {Chroot.native() / 'home/pmos/rootfs' / device}.img")
logging.info(