summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-12-07 14:17:04 (EST)
committer P. J. McDermott <pjm@nac.net>2013-12-07 14:17:04 (EST)
commit077d2006ba917607f8b616ca38ea8928ec7985eb (patch)
tree78902e2d5844cc4e7162226958926b7d26e1640f
parent464ac7e720e62e88d95d793b95aba18997b7547d (diff)
bootstrap-prepare.sh: Get proper BusyBox config.
-rwxr-xr-xbootstrap-prepare.sh6
1 files changed, 4 insertions, 2 deletions
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 "${@}"