summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-11-11 21:44:29 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-11-11 21:44:29 (EST)
commit3b2fffe17bba071263a7efcd56aa7ee306ff7185 (patch)
tree63c2eea74a1cf39b69cae2c12df15977ab4884d1
parent0cef41b71059397226a388edb672079f303b1745 (diff)
installers/pc: Update own name in param expansions
-rwxr-xr-xinstallers/pc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/installers/pc.sh b/installers/pc.sh
index 68c6259..044e3af 100755
--- a/installers/pc.sh
+++ b/installers/pc.sh
@@ -62,16 +62,16 @@ main()
printf '\n======================\n\n'
mountpoint="$(mount_fs "${dev}")"
- "${0%installers/pc.sh}src/prokit" install \
+ "${0%installers/pc}src/prokit" install \
-a "${host_arch}" -p "${host_plat}" \
${mirror:+-m} ${mirror} "${mountpoint}"
- "${0%installers/pc.sh}src/prokit" opkg install lilo
+ "${0%installers/pc}src/prokit" opkg install lilo
read b4 b3 b2 b1 <<-EOF
$(od -An -tx1 -v -j 440 -N 4 "/dev/${dev}")
EOF
# This ln command won't be needed once lilo 24.1-1 is uploaded.
ln "${mountpoint}/boot/vmlinuz" "${mountpoint}/boot/vmlinuz.old"
- "${0%installers/pc.sh}src/prokit" shell \
+ "${0%installers/pc}src/prokit" shell \
install-lilo "/dev/${dev}" "PARTUUID=${b1}${b2}${b3}${b4}-01"
umount_fs "${mountpoint}"
}