From dce70f2aa3743ab29db6f4dcab93d8573eb46f4d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 08 Sep 2013 13:11:15 -0400 Subject: Move list of Git repositories into separate file. --- 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 \ -- cgit v0.9.1