diff options
author | P. J. McDermott <pjm@nac.net> | 2014-03-18 16:08:53 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2014-03-18 16:08:53 (EDT) |
commit | 246f1eac4e32d074d33b1cf0b186397f61148b28 (patch) | |
tree | 8b7d5b1cc1e0dd309bf2a65c61a36ce4aa4f3921 /bootstrap-stage2-test.sh | |
parent | bbb52cd4fe48c6f83e146fe037daef2572adccb8 (diff) |
Don't install cross packages in stage2.
Diffstat (limited to 'bootstrap-stage2-test.sh')
-rwxr-xr-x | bootstrap-stage2-test.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bootstrap-stage2-test.sh b/bootstrap-stage2-test.sh index dd68aac..8596c57 100755 --- a/bootstrap-stage2-test.sh +++ b/bootstrap-stage2-test.sh @@ -76,6 +76,21 @@ test_packages() ../root1/usr/src/*_all_${PLAT}.opk \ ../root1/usr/src/*_all_all.opk; do [ -f "${opk}" ] || continue + case "${opk#../root1/usr/src/}" in + "build-essential-${ARCH}_"*) ;; + 'build-essential-common_'*) ;; + 'build-essential-'*) continue ;; + "gcc-${ARCH}_"*) ;; + "gcc-"*"-${ARCH}_"*) ;; + 'gcc-'*'-common_'*) ;; + 'gcc-'*'-locales_'*) ;; + 'gcc-'*) continue ;; + "g++-${ARCH}_"*) ;; + "g++-"*"-${ARCH}_"*) ;; + 'g++-'*'-common_'*) ;; + 'g++-'*'-locales_'*) ;; + 'g++-'*) continue ;; + esac cp "${opk}" . done sudo chroot . sh -c 'opkg install /*.opk' |