Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/stage1/
Date: Wed, 29 Aug 2012 03:18:57
Message-Id: 1346208400.ce3433d22948ea3183b6d033e0cf4e7cb3a1d8fd.jmbsvicetto@gentoo
1 commit: ce3433d22948ea3183b6d033e0cf4e7cb3a1d8fd
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 29 02:46:40 2012 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 29 02:46:40 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=ce3433d2
7
8 Add initial support to update the seed stage on stage1 - bug 397505.
9
10 ---
11 targets/stage1/stage1-chroot.sh | 7 +++++++
12 1 files changed, 7 insertions(+), 0 deletions(-)
13
14 diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh
15 index af50a1c..00f390d 100644
16 --- a/targets/stage1/stage1-chroot.sh
17 +++ b/targets/stage1/stage1-chroot.sh
18 @@ -23,6 +23,13 @@ fi
19 [ -e /etc/portage/make.conf ] && \
20 echo 'USE="${USE} -build"' >> /etc/portage/make.conf
21 run_merge "--oneshot --nodeps sys-apps/baselayout"
22 +
23 +# Update stage3
24 +UPDATE_SEED_STAGE="yes"
25 +if [ -n ${UPDATE_SEED_STAGE} ]; then
26 + echo "Updating seed stage..."
27 + clst_root_path=/ run_merge "--update --deep --newuse @world"
28 +fi
29 sed -i '/USE="${USE} -build"/d' /etc/portage/make.conf
30
31 # Next, we install the package manager