summaryrefslogtreecommitdiffstats
path: root/src/cmd/installer-pc.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-23 18:47:37 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-23 18:47:37 (EST)
commit195812246f80e757ecdb28dceeb0df35a974539b (patch)
tree4756554da903f97d217eda794b91f1cc18ee3f3e /src/cmd/installer-pc.sh
parent9b9f917e5da9d26a06a93e0bc4275f353069bdd7 (diff)
cmd/installer-pc: Add informational output
Diffstat (limited to 'src/cmd/installer-pc.sh')
-rw-r--r--src/cmd/installer-pc.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/installer-pc.sh b/src/cmd/installer-pc.sh
index 1d43793..472e885 100644
--- a/src/cmd/installer-pc.sh
+++ b/src/cmd/installer-pc.sh
@@ -107,12 +107,14 @@ cmd_installer_pc_make_partition_and_fs()
local dev="${1}"
local log=
+ info "$(get_msg 'cmd_installer_pc_dd')"
if ! log="$(dd if=/dev/zero of="${dev}" bs=512 count=1 2>&1)"; then
error "$(get_msg 'cmd_installer_pc_dd_fail')"
cmd_installer_pc_log_print 'dd' "${log}"
return 1
fi
+ info "$(get_msg 'cmd_installer_pc_fdisk')"
if ${HAVE_SFDISK}; then
if ! log="$(printf ',,83,*\n' | ${SFDISK} "${dev}" 2>&1)"; then
error "$(get_msg 'cmd_installer_pc_fdisk_fail')"
@@ -128,6 +130,7 @@ cmd_installer_pc_make_partition_and_fs()
fi
fi
+ info "$(get_msg 'cmd_installer_pc_mkfs')"
if ! log="$(${MKE2FS} -t ext4 "${dev}1" 2>&1)"; then
error "$(get_msg 'cmd_installer_pc_mkfs_fail')"
cmd_installer_pc_log_print 'mke2fs' "${log}"