From 195812246f80e757ecdb28dceeb0df35a974539b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 23 Jan 2016 18:47:37 -0500 Subject: cmd/installer-pc: Add informational output --- (limited to 'src/cmd') 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}" -- cgit v0.9.1