diff options
author | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2012-08-29 02:46:40 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org> | 2012-08-29 02:46:40 +0000 |
commit | ce3433d22948ea3183b6d033e0cf4e7cb3a1d8fd (patch) | |
tree | 75b1035b2d7cc89d353450a18ed417e5dfd4c139 | |
parent | This patch adds in support for automatically detecting and decompressing (diff) | |
download | catalyst-ce3433d22948ea3183b6d033e0cf4e7cb3a1d8fd.tar.gz catalyst-ce3433d22948ea3183b6d033e0cf4e7cb3a1d8fd.tar.bz2 catalyst-ce3433d22948ea3183b6d033e0cf4e7cb3a1d8fd.zip |
Add initial support to update the seed stage on stage1 - bug 397505.
-rw-r--r-- | targets/stage1/stage1-chroot.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |