From 26e2311c14db52115042990b00ab240f69fee5af Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 07 Dec 2013 20:02:12 -0500 Subject: bootstrap-prepare.sh: Make dummy busybox.config. --- 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" } -- cgit v0.9.1