# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 08 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/stage1/stage1-chroot.sh:
+ We should likely install baselayout before anything else, including the
+ package manager. As such, I've moved it to after sys-apps/baselayout is
+ installed.
+
08 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org>
targets/livecd-stage2/livecd-stage2-controller.sh:
Check for a snapshot in the overlay and error if one is present. This should
fi
## START BUILD
-clst_root_path=/ setup_pkgmgr
-make_destpath /tmp/stage1root
-
# First, we drop in a known-good baselayout
[ -e /etc/make.conf ] && \
echo 'USE="${USE} -build"' >> /etc/make.conf
run_merge "--oneshot --nodeps sys-apps/baselayout"
sed -i '/USE="${USE} -build"/d' /etc/make.conf
+# Next, we install the package manager
+clst_root_path=/ setup_pkgmgr
+make_destpath /tmp/stage1root
+
+# Now, we install our packages
[ -e /etc/make.conf ] && \
echo "USE=\"-* bindist build ${STAGE1_USE} ${clst_HOSTUSE}\"" \
>> /etc/make.conf