diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-11-11 09:56:23 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-11-11 09:56:23 (EST) |
commit | f24225c67aa6bd4c19f0e0764d616f45ad551276 (patch) | |
tree | 5d9055fc4609d495b77491394a93c26c8fd3a8c7 /installers | |
parent | a6f3e7e52c2d22db546eb3d765965e44e1b585af (diff) |
installers/pc: Drop shell call, switch to prokit
Diffstat (limited to 'installers')
-rwxr-xr-x | installers/pc.sh | 12 |
1 files changed, 2 insertions, 10 deletions
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}" } |