From ce3433d22948ea3183b6d033e0cf4e7cb3a1d8fd Mon Sep 17 00:00:00 2001 From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" Date: Wed, 29 Aug 2012 02:46:40 +0000 Subject: [PATCH] Add initial support to update the seed stage on stage1 - bug 397505. --- targets/stage1/stage1-chroot.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.26.2