summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-08 13:11:15 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-08 13:11:15 (EDT)
commitdce70f2aa3743ab29db6f4dcab93d8573eb46f4d (patch)
tree0ddd580d39d5a122a56d27bd6e7d04888d859b12
parentd076bcec7e052027aaec9e7fe9787335f20371d0 (diff)
Move list of Git repositories into separate file.
-rw-r--r--bootstrap-pkgs-git.txt19
-rwxr-xr-xbootstrap-prepare.sh6
2 files changed, 20 insertions, 5 deletions
diff --git a/bootstrap-pkgs-git.txt b/bootstrap-pkgs-git.txt
new file mode 100644
index 0000000..7ee1044
--- /dev/null
+++ b/bootstrap-pkgs-git.txt
@@ -0,0 +1,19 @@
+busybox
+config-dev
+eglibc
+expat
+fakeroot
+file
+gettext
+gmake
+gmp
+libunistring
+linux-libre
+m4
+opkbuild
+opkg
+opkhelper-3.0
+zlib
+toolchains/binutils
+toolchains/gcc-4.7
+toolchains/gcc-defaults
diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh
index 8f4e230..1eae105 100755
--- a/bootstrap-prepare.sh
+++ b/bootstrap-prepare.sh
@@ -61,11 +61,7 @@ prepare_packages_from_git()
[ -d pkg ] || mkdir pkg
cd pkg
- for repo in zlib toolchains/binutils linux-libre eglibc \
- gmp toolchains/gcc-4.7 toolchains/gcc-defaults \
- busybox gmake opkg opkbuild opkhelper-3.0 \
- fakeroot file m4 config-dev \
- expat gettext libunistring; do
+ for repo in $(cat "${SCRIPT_DIR}/bootstrap-pkgs-git.txt"); do
log 'Preparing package %s...' "${repo##*/}"
if [ ! -d "${repo##*/}" ]; then
git clone --depth 1 \