Gentoo Archives: gentoo-commits

From: Richard Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/
Date: Tue, 28 May 2013 20:20:33
Message-Id: 1369772430.8324fc2ccaa796d6ba06e00d33facc6392d6b811.zerochaos@gentoo
1 commit: 8324fc2ccaa796d6ba06e00d33facc6392d6b811
2 Author: Douglas Freed <dwfreed <AT> mtu <DOT> edu>
3 AuthorDate: Tue May 28 20:20:30 2013 +0000
4 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Tue May 28 20:20:30 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=8324fc2c
7
8 Fixes a bug inadvertently caused by 6c0a577 where setting update_seed
9 to no would result in dropping the use and making of binpkgs while
10 building stage1, which is undesirable. The conditional was getting a
11 bit unwieldly, so I added a comment explaining when it matches, which is
12 especially helpful to those who don't know every single test flag.
13
14 Tested-By: Rick Farina <zerochaos <AT> gentoo.org>
15 Tested-By: Brian Dolbec <dolsen <AT> gentoo.org>
16
17 ---
18 targets/support/chroot-functions.sh | 3 ++-
19 1 file changed, 2 insertions(+), 1 deletion(-)
20
21 diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
22 index 0705b5b..cacf5f8 100644
23 --- a/targets/support/chroot-functions.sh
24 +++ b/targets/support/chroot-functions.sh
25 @@ -133,7 +133,8 @@ setup_myemergeopts(){
26 then
27 export bootstrap_opts="${bootstrap_opts} -f"
28 export clst_myemergeopts="${clst_myemergeopts} -f"
29 - elif [ -n "${clst_PKGCACHE}" -a -z "${clst_update_seed}" ]
30 + # if we have PKGCACHE, and either update_seed is empty or 'no', make and use binpkgs
31 + elif [ -n "${clst_PKGCACHE}" ] && [ -z "${clst_update_seed}" -o "${clst_update_seed}" = "no" ]
32 then
33 export clst_myemergeopts="${clst_myemergeopts} --usepkg --buildpkg --newuse"
34 export bootstrap_opts="${bootstrap_opts} -r"