From: Jorge Manuel B. S. Vicetto (jmbsvicetto) Date: Wed, 29 Aug 2012 02:46:40 +0000 (+0000) Subject: Add initial support to update the seed stage on stage1 - bug 397505. X-Git-Tag: Catalyst-2.0.11~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ce3433d22948ea3183b6d033e0cf4e7cb3a1d8fd;p=catalyst.git Add initial support to update the seed stage on stage1 - bug 397505. --- diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh index af50a1c5..00f390d8 100644 --- a/targets/stage1/stage1-chroot.sh +++ b/targets/stage1/stage1-chroot.sh @@ -23,6 +23,13 @@ fi [ -e /etc/portage/make.conf ] && \ echo 'USE="${USE} -build"' >> /etc/portage/make.conf run_merge "--oneshot --nodeps sys-apps/baselayout" + +# Update stage3 +UPDATE_SEED_STAGE="yes" +if [ -n ${UPDATE_SEED_STAGE} ]; then + echo "Updating seed stage..." + clst_root_path=/ run_merge "--update --deep --newuse @world" +fi sed -i '/USE="${USE} -build"/d' /etc/portage/make.conf # Next, we install the package manager