summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-11-11 21:49:22 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-11-11 21:49:22 (EST)
commit560a9371cac663662d9ba26e874fee17a1253f71 (patch)
tree518e44c3f2e5434a576aa6d8307734ce52548221
parent3b2fffe17bba071263a7efcd56aa7ee306ff7185 (diff)
installers/pc: Add suites and dirs to prokit cmds
-rwxr-xr-xinstallers/pc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/installers/pc.sh b/installers/pc.sh
index 044e3af..88eb01c 100755
--- a/installers/pc.sh
+++ b/installers/pc.sh
@@ -64,14 +64,14 @@ main()
mountpoint="$(mount_fs "${dev}")"
"${0%installers/pc}src/prokit" install \
-a "${host_arch}" -p "${host_plat}" \
- ${mirror:+-m} ${mirror} "${mountpoint}"
- "${0%installers/pc}src/prokit" opkg install lilo
+ ${mirror:+-m} ${mirror} 'dev/trunk' "${mountpoint}"
+ "${0%installers/pc}src/prokit" opkg "${mountpoint}" 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}src/prokit" shell \
+ "${0%installers/pc}src/prokit" shell "${mountpoint}" \
install-lilo "/dev/${dev}" "PARTUUID=${b1}${b2}${b3}${b4}-01"
umount_fs "${mountpoint}"
}