diff options
-rwxr-xr-x | bootstrap-prepare.sh | 11 |
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" } |