summaryrefslogtreecommitdiffstats
path: root/bootstrap-stage2-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap-stage2-install.sh')
-rwxr-xr-xbootstrap-stage2-install.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/bootstrap-stage2-install.sh b/bootstrap-stage2-install.sh
index e288bf8..2c001ae 100755
--- a/bootstrap-stage2-install.sh
+++ b/bootstrap-stage2-install.sh
@@ -89,6 +89,21 @@ install_packages()
../root1/usr/src/*_all_all.opk; do
[ -f "${opk}" ] || continue
pkg="${opk#../root1/usr/src/}"
+ case "${pkg}" 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
log 'Installing package %s...' "${pkg%%_*}"
tar -xzOf "${opk}" data.tar.gz | tar -xz
done
@@ -128,6 +143,21 @@ configure_packages()
../root1/usr/src/*_all_all.opk; do
[ -f "${opk}" ] || continue
pkg="${opk#../root1/usr/src/}"
+ case "${pkg}" 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
pkg="${pkg%%_*}"
for entry in $(tar -xzOf "${opk}" control.tar.gz | tar -tz); do
file="${entry##*/}"