3 . /tmp/chroot-functions.sh
10 # Setup our environment
11 export clst_buildpkgs="$(/tmp/build.py)"
12 export STAGE1_USE="$(portageq envvar STAGE1_USE)"
13 export USE="-* build ${STAGE1_USE}"
14 export FEATURES="${clst_myfeatures} nodoc noman noinfo"
16 ## Sanity check profile
17 if [ -z "${clst_buildpkgs}" ]
19 echo "Your profile seems to be broken."
20 echo "Could not build a list of build packages."
21 echo "Double check your /etc/make.profile link and the 'packages' files."
26 run_emerge "--noreplace --oneshot ${clst_buildpkgs}"
27 rm -f /var/lib/portage/world
28 touch /var/lib/portage/world
30 rm -f /var/log/emerge.log