Skip to content

Commit eb7388b

Browse files
committed
install: Be verbose for EFI creation and bootloader install
We previously changed the rootfs `mkfs` invocation to be verbose; for consistency let's do the same for the EFI partition as well as the bootloader run just so people can see what's going on more. Signed-off-by: Colin Walters <[email protected]>
1 parent b015ff7 commit eb7388b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/src/bootloader.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ pub(crate) fn install_via_bootupd(
2727
device.as_str(),
2828
rootfs.as_str(),
2929
]);
30-
Task::new_and_run("Running bootupctl to install bootloader", "bootupctl", args)
30+
Task::new("Running bootupctl to install bootloader", "bootupctl")
31+
.args(args)
32+
.verbose()
33+
.run()
3134
}

lib/src/install/baseline.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ pub(crate) fn install_create_rootfs(
434434
let espdev = &findpart(esp_partno)?;
435435
Task::new("Creating ESP filesystem", "mkfs.fat")
436436
.args([espdev.as_str(), "-n", "EFI-SYSTEM"])
437+
.verbose()
437438
.quiet_output()
438439
.run()?;
439440
let efifs_path = bootfs.join(crate::bootloader::EFI_DIR);

0 commit comments

Comments
 (0)