From 077d2006ba917607f8b616ca38ea8928ec7985eb Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 07 Dec 2013 14:17:04 -0500 Subject: bootstrap-prepare.sh: Get proper BusyBox config. --- diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh index f4bbc43..e52a3cf 100755 --- a/bootstrap-prepare.sh +++ b/bootstrap-prepare.sh @@ -23,11 +23,13 @@ set -e SCRIPT_DIR= ARCH= +PLAT= main() { SCRIPT_DIR="$(cd "${0%/*}" && pwd)" ARCH="$(cat /etc/proteanos_arch)" + PLAT="$(cat /etc/proteanos_plat)" cat <<-EOF @@ -144,8 +146,8 @@ prepare_file_system() fi sudo mkdir -p /usr/local/share/platconf/dev/busybox/ - sudo cp -p pkg/busybox/busybox.config \ - /usr/local/share/platconf/dev/busybox/busybox.config + sudo cp -p "pkg/config-${PLAT}/src/busybox/config" \ + "/usr/local/share/platconf/${PLAT}/busybox/busybox.config" } main "${@}" -- cgit v0.9.1