diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-31 18:55:22 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-31 19:02:13 (EDT) |
commit | 1685dbfead4dbb853f28ae18526044a71e5671fa (patch) | |
tree | 3738fa3b82cdad850a6a8ed2e8818a04dc1d9a95 /bootstrap-main.sh | |
parent | 2dcc387183d786267b1e89ca6bacfaffb08bedd3 (diff) |
Move package building into a new script.
Diffstat (limited to 'bootstrap-main.sh')
-rwxr-xr-x | bootstrap-main.sh | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/bootstrap-main.sh b/bootstrap-main.sh index be14830..d7cb1de 100755 --- a/bootstrap-main.sh +++ b/bootstrap-main.sh @@ -11,6 +11,7 @@ main() SCRIPT_DIR="$(cd "${0%/*}" && pwd)" setup_arch_plat "${SCRIPT_DIR}/bootstrap-prepare.sh" + "${SCRIPT_DIR}/bootstrap-stage1-build.sh" stage1 } @@ -22,17 +23,7 @@ setup_arch_plat() stage1() { - local dir opk elf_interp zlib_upstream_ver - - cd pkg - - for dir in */; do - cd "${dir}" - opkbuild -bC - cd .. - done - - cd .. + local opk elf_interp zlib_upstream_ver [ -d "root_${ARCH}" ] && rm -Rf "root_${ARCH}" mkdir "root_${ARCH}" |