diff options
-rwxr-xr-x | bootstrap-prepare.sh | 6 |
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 "${@}" |