Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in scripts: bootstrap.sh
Date: Thu, 17 Nov 2011 01:51:17
Message-Id: 20111117015106.5DD2B2004B@flycatcher.gentoo.org
1 jmbsvicetto 11/11/17 01:51:06
2
3 Modified: bootstrap.sh
4 Log:
5 Update bootstrap.sh to replace STAGE1_USE with BOOTSTRAP_USE - bug 390701.
6
7 Revision Changes Path
8 1.94 scripts/bootstrap.sh
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/scripts/bootstrap.sh?rev=1.94&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/scripts/bootstrap.sh?rev=1.94&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/scripts/bootstrap.sh?r1=1.93&r2=1.94
13
14 Index: bootstrap.sh
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v
17 retrieving revision 1.93
18 retrieving revision 1.94
19 diff -u -r1.93 -r1.94
20 --- bootstrap.sh 14 Jul 2011 19:19:02 -0000 1.93
21 +++ bootstrap.sh 17 Nov 2011 01:51:06 -0000 1.94
22 @@ -1,7 +1,7 @@
23 #!/bin/bash
24 # Copyright 1999-2007 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.93 2011/07/14 19:19:02 zmedico Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.94 2011/11/17 01:51:06 jmbsvicetto Exp $
28
29 # people who were here:
30 # (drobbins, 06 Jun 2003)
31 @@ -52,7 +52,7 @@
32 env "$@"
33 }
34
35 -cvsver="$Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.93 2011/07/14 19:19:02 zmedico Exp $"
36 +cvsver="$Header: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v 1.94 2011/11/17 01:51:06 jmbsvicetto Exp $"
37 cvsver=${cvsver##*,v }
38 cvsver=${cvsver%%Exp*}
39 cvsyear=${cvsver#* }
40 @@ -304,16 +304,16 @@
41 # disable collision-protection
42 export FEATURES="${FEATURES} -collision-protect"
43
44 -# query STAGE1_USE from the profile
45 -STAGE1_USE=$(portageq envvar STAGE1_USE)
46 +# query BOOTSTRAP_USE from the profile
47 +BOOTSTRAP_USE=$(portageq envvar BOOTSTRAP_USE)
48
49 if [ ${BOOTSTRAP_STAGE} -le 1 ] ; then
50 show_status 2 Updating portage
51 - ${V_ECHO} USE="-* build bootstrap ${ALLOWED_USE} ${STAGE1_USE}" emerge ${STRAP_EMERGE_OPTS} ${myPORTAGE} || cleanup 1
52 + ${V_ECHO} USE="-* build bootstrap ${ALLOWED_USE} ${BOOTSTRAP_USE}" emerge ${STRAP_EMERGE_OPTS} ${myPORTAGE} || cleanup 1
53 echo -------------------------------------------------------------------------------
54 set_bootstrap_stage 2
55 fi
56 -export USE="-* bootstrap ${ALLOWED_USE} ${STAGE1_USE}"
57 +export USE="-* bootstrap ${ALLOWED_USE} ${BOOTSTRAP_USE}"
58
59 # We can't unmerge headers which may or may not exist yet. If your
60 # trying to use nptl, it may be needed to flush out any old headers