summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-12-07 20:02:12 (EST)
committer P. J. McDermott <pjm@nac.net>2013-12-07 20:02:12 (EST)
commit26e2311c14db52115042990b00ab240f69fee5af (patch)
tree0fd3a62b57794860b7aa802d4125f0ec4d928e32
parent616e12801eac0bfadf9470796ebfb3076a48ece0 (diff)
bootstrap-prepare.sh: Make dummy busybox.config.
-rwxr-xr-xbootstrap-prepare.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh
index e52a3cf..a92b448 100755
--- a/bootstrap-prepare.sh
+++ b/bootstrap-prepare.sh
@@ -37,6 +37,7 @@ main()
===================================
EOF
+ prepare_file_system_fake
prepare_packages_from_git
prepare_packages_from_ftp
prepare_file_system
@@ -56,6 +57,15 @@ log()
printf '\n\n'
}
+prepare_file_system_fake()
+{
+ # ob-platconf needs to find this file. Otherwise, opkbuild fails to
+ # build busybox. config-dev provides this, but that isn't fetched until
+ # after busybox is built.
+ sudo mkdir -p "/usr/local/share/platconf/${PLAT}/busybox"
+ sudo touch "/usr/local/share/platconf/${PLAT}/busybox/busybox.config"
+}
+
prepare_packages_from_git()
{
local repo patch
@@ -145,7 +155,6 @@ prepare_file_system()
>pkg/gcc-4.7/local.mk
fi
- sudo mkdir -p /usr/local/share/platconf/dev/busybox/
sudo cp -p "pkg/config-${PLAT}/src/busybox/config" \
"/usr/local/share/platconf/${PLAT}/busybox/busybox.config"
}