summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-08-18 04:35:20 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-08-18 04:35:20 +0000
commit8bedf68a8719340df9984c23b351b5cc876220ed (patch)
tree9b855309d3bc1526736af1c3fe7c0699dc5e415d /scripts
parentminimal build version if build set. (diff)
downloadgentoo-2-8bedf68a8719340df9984c23b351b5cc876220ed.tar.gz
gentoo-2-8bedf68a8719340df9984c23b351b5cc876220ed.tar.bz2
gentoo-2-8bedf68a8719340df9984c23b351b5cc876220ed.zip
miscellaneous build-image related tweaks
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh21
1 files changed, 12 insertions, 9 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index d494a364713a..8fbf01c5582f 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -2,26 +2,29 @@
LIST=$1
+myPORTAGE=`grep "sys-apps/portage" $1`
myGETTEXT=`grep "sys-devel/gettext" $1`
myBINUTILS=`grep "sys-devel/binutils" $1`
myGCC=`grep "sys-devel/gcc" $1`
myGLIBC=`grep "sys-libs/glibc" $1`
+echo "Using PORTAGE $myPORTAGE"
echo "Using BINUTILS $myBINUTILS"
echo "Using GCC $myGCC"
echo "Using GETTEXT $myGETTEXT"
echo "Using GLIBC $myGLIBC"
export USE="build"
-export STEPS="clean unpack compile install qmerge clean"
cd /usr/portage
-ebuild $myBINUTILS $STEPS || exit
-ebuild $myGCC $STEPS || exit
-ebuild $myGETTEXT $STEPS || exit
+#commented out for now; why do we need to do this?
+#emerge $myPORTAGE || exit
+#emerge $myBINUTILS || exit
+#emerge $myGCC || exit
+#emerge $myGETTEXT || exit
unset USE
-export USE="`python -c 'import portage; print portage.settings["USE"];'` bootstrap"
-ebuild $myGLIBC $STEPS || exit
-ebuild $myGETTEXT $STEPS || exit
-ebuild $myBINUTILS $STEPS || exit
-ebuild $myGCC $STEPS || exit
+export USE="`spython -c 'import portage; print portage.settings["USE"];'` bootstrap"
+emerge $myGLIBC || exit
+emerge $myGETTEXT || exit
+emerge $myBINUTILS || exit
+emerge $myGCC || exit
unset USE