summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-11-13 19:12:37 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-11-13 19:12:37 (EST)
commitfd78b0f39a4a9d36ead598a1a6c2fa4d511bf2d2 (patch)
treef393dda61d8f61941ec21f321e2fcb4515ebac60
parent11625bbd613611a8d54951f16c1a6b3564987b78 (diff)
installers/pc: Add "Installing boot loader" msg
-rwxr-xr-xinstallers/pc.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/installers/pc.sh b/installers/pc.sh
index 2e4081a..9c85e9d 100755
--- a/installers/pc.sh
+++ b/installers/pc.sh
@@ -62,9 +62,14 @@ main()
printf '\n======================\n\n'
mountpoint="$(mount_fs "${dev}")"
+
"${0%installers/pc}src/prokit" install \
-a "${host_arch}" -p "${host_plat}" \
${mirror:+-m} ${mirror} 'dev/trunk' "${mountpoint}"
+
+ printf '\nInstalling boot loader'
+ printf '\n======================\n\n'
+
# This prokit-opkg command won't be needed once the config-base packages
# depend on lilo.
"${0%installers/pc}src/prokit" opkg "${mountpoint}" install lilo
@@ -75,6 +80,7 @@ main()
ln "${mountpoint}/boot/vmlinuz" "${mountpoint}/boot/vmlinuz.old"
"${0%installers/pc}src/prokit" shell "${mountpoint}" \
install-lilo "/dev/${dev}" "PARTUUID=${b1}${b2}${b3}${b4}-01"
+
umount_fs "${mountpoint}"
}