diff options
-rw-r--r-- | locale/en_US.sh | 3 | ||||
-rw-r--r-- | src/cmd/installer-pc.sh | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/locale/en_US.sh b/locale/en_US.sh index cb5fe5d..77569ef 100644 --- a/locale/en_US.sh +++ b/locale/en_US.sh @@ -105,8 +105,11 @@ msg_prokit_cmd_build_not_a_dir='Not a directory: %s' msg_prokit_cmd_installer_pc_summary='install a PC system onto a block device' msg_prokit_cmd_installer_pc_usage='-a <arch> -p <plat> [-m <mirror>] '\ '<suite> <device>' +msg_prokit_cmd_installer_pc_dd='Clearing MBR and partition table...' msg_prokit_cmd_installer_pc_dd_fail='Failed to clear MBR and partition table' +msg_prokit_cmd_installer_pc_fdisk='Creating partition table...' msg_prokit_cmd_installer_pc_fdisk_fail='Failed to create partition table' +msg_prokit_cmd_installer_pc_mkfs='Creating file system...' msg_prokit_cmd_installer_pc_mkfs_fail='Failed to create file system' # src/cmd/mkinitramfs.sh 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}" |