From a8a4009a1fa3dd9382c7f3a0652e5dbfc96aadee Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 02 Jun 2014 11:28:54 -0400 Subject: bootstrap-prepare.sh: Use arch-specific repo list. --- diff --git a/bootstrap-prepare.sh b/bootstrap-prepare.sh index 7be6634..6b1efbc 100755 --- a/bootstrap-prepare.sh +++ b/bootstrap-prepare.sh @@ -73,11 +73,17 @@ prepare_file_system_fake() prepare_packages_from_git() { - local repo branch patch + local pkgs_list repo branch patch [ -d pkg ] || mkdir pkg cd pkg + if [ -e "${SCRIPT_DIR}/bootstrap-pkgs-git_${ARCH}.txt" ]; then + pkgs_list="${SCRIPT_DIR}/bootstrap-pkgs-git_${ARCH}.txt" + else + pkgs_list="${SCRIPT_DIR}/bootstrap-pkgs-git.txt" + fi + while read repo branch; do if [ -f "${repo##*/}_"*'_src_all.changes' ]; then continue @@ -112,7 +118,7 @@ prepare_packages_from_git() opkbuild -SC rm -Rf tmp cd .. - done <"${SCRIPT_DIR}/bootstrap-pkgs-git.txt" + done <"${pkgs_list}" cd .. } -- cgit v0.9.1