summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-18 15:31:22 (EDT)
committer P. J. McDermott <pjm@nac.net>2014-03-18 15:32:51 (EDT)
commitbbb52cd4fe48c6f83e146fe037daef2572adccb8 (patch)
treea8b9ae6a6cfbb199b254896403b0b2e8468adb6f
parent9e85363722455a6376752eab77b86c833ed7cdb5 (diff)
Don't install cross gcc-defaults pkgs in stage1.
-rwxr-xr-xbootstrap-stage1-install.sh20
-rwxr-xr-xbootstrap-stage1-test.sh10
2 files changed, 30 insertions, 0 deletions
diff --git a/bootstrap-stage1-install.sh b/bootstrap-stage1-install.sh
index 9455fcc..318ff17 100755
--- a/bootstrap-stage1-install.sh
+++ b/bootstrap-stage1-install.sh
@@ -92,6 +92,16 @@ install_packages()
"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
log 'Installing package %s...' "${pkg%%_*}"
tar -xzOf "${opk}" data.tar.gz | tar -xz
@@ -148,6 +158,16 @@ configure_packages()
"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
pkg="${pkg%%_*}"
for entry in $(tar -xzOf "${opk}" control.tar.gz | tar -tz); do
diff --git a/bootstrap-stage1-test.sh b/bootstrap-stage1-test.sh
index 543fcd5..2bb21ba 100755
--- a/bootstrap-stage1-test.sh
+++ b/bootstrap-stage1-test.sh
@@ -78,6 +78,16 @@ test_packages()
"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