We should likely install baselayout before anything else, including the package manag...
authorChris Gianelloni <wolf31o2@gentoo.org>
Tue, 8 Apr 2008 22:45:51 +0000 (22:45 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Tue, 8 Apr 2008 22:45:51 +0000 (22:45 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1391 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/stage1/stage1-chroot.sh

index ab5145de7a10bbb9908b417a0f043e344a52798a..5d2c269af514ebe8cedee09ec4d996e886264989 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 # 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
index b76b8ed2f0203d98f7c4301a4f918fc096b69c92..13d40aebd9154a6679d2e61f303480ee385f320b 100755 (executable)
@@ -19,15 +19,17 @@ then
 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