From f24225c67aa6bd4c19f0e0764d616f45ad551276 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 11 Nov 2014 09:56:23 -0500 Subject: installers/pc: Drop shell call, switch to prokit --- diff --git a/installers/pc.sh b/installers/pc.sh index bd83df7..06a91ff 100755 --- a/installers/pc.sh +++ b/installers/pc.sh @@ -58,17 +58,9 @@ main() printf '\n======================\n\n' mountpoint="$(mount_fs "${dev}")" - "${0%installers/pc.sh}./miniprokit.sh" install \ - -a "${host_arch}" -P "${host_plat}" \ + "${0%installers/pc.sh}src/prokit" install \ + -a "${host_arch}" -p "${host_plat}" \ ${mirror:+-m} ${mirror} "${mountpoint}" - mirror="$(printf '%s\n' "${mirror}" | \ - sed 's|^.*://||; s|^.*@||; s|/.*$||g;')" - printf '%s %s\n' "$(nslookup "${mirror}" | \ - sed -n '/Address: /{ s/Address: //; p; q; };')" \ - "${mirror}" >"${mountpoint}/etc/hosts" - "${0%installers/pc.sh}./miniprokit.sh" shell "${mountpoint}" \ - <"${0%pc.sh}data/pc.sh" - rm "${mountpoint}/etc/hosts" umount_fs "${mountpoint}" } -- cgit v0.9.1