summaryrefslogtreecommitdiffstats
path: root/src/installer
diff options
context:
space:
mode:
Diffstat (limited to 'src/installer')
-rw-r--r--src/installer/pc.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/installer/pc.sh b/src/installer/pc.sh
index 157894d..ce1b898 100644
--- a/src/installer/pc.sh
+++ b/src/installer/pc.sh
@@ -38,33 +38,33 @@ _installer_pc_make_partition_and_fs()
shift 1
local log=
- info "$(get_msg 'cmd_installer_pc_dd')"
+ info "$(get_msg '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')"
+ error "$(get_msg 'installer_pc_dd_fail')"
_installer_pc_log_print 'dd' "${log}"
return 1
fi
- info "$(get_msg 'cmd_installer_pc_fdisk')"
+ info "$(get_msg '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')"
+ error "$(get_msg 'installer_pc_fdisk_fail')"
_installer_pc_log_print 'sfdisk' "${log}"
return 1
fi
elif ${HAVE_FDISK}; then
if ! log="$(printf 'n\np\n1\n\n\nt\n83\na\n1\nw\n' |
${FDISK} -- "${dev}" 2>&1)"; then
- error "$(get_msg 'cmd_installer_pc_fdisk_fail')"
+ error "$(get_msg 'installer_pc_fdisk_fail')"
_installer_pc_log_print 'fdisk' "${log}"
return 1
fi
fi
- info "$(get_msg 'cmd_installer_pc_mkfs')"
+ info "$(get_msg 'installer_pc_mkfs')"
if ! log="$(${MKE2FS} -t ext4 -- "${dev}1" 2>&1)"; then
- error "$(get_msg 'cmd_installer_pc_mkfs_fail')"
+ error "$(get_msg 'installer_pc_mkfs_fail')"
_installer_pc_log_print 'mke2fs' "${log}"
return 1
fi