Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78084 Details for
Bug 120305
bootstrap.sh ignores all supported USE flags
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A different approach
bootstrap.diff (text/plain), 1.94 KB, created by
Chris Gianelloni (RETIRED)
on 2006-01-25 09:01:51 UTC
(
hide
)
Description:
A different approach
Filename:
MIME Type:
Creator:
Chris Gianelloni (RETIRED)
Created:
2006-01-25 09:01:51 UTC
Size:
1.94 KB
patch
obsolete
>Index: bootstrap.sh >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/scripts/bootstrap.sh,v >retrieving revision 1.78 >diff -u -b -B -r1.78 bootstrap.sh >--- bootstrap.sh 2 Dec 2005 15:43:57 -0000 1.78 >+++ bootstrap.sh 25 Jan 2006 16:58:09 -0000 >@@ -196,7 +196,7 @@ > case "${opt}" in > nls) > USE_NLS=1 >- STAGE1_USE="${STAGE1_USE} nls" >+ ALLOWED_USE="${ALLOWED_USE} nls" > ;; > nptl) > if [[ -z $(portageq best_visible / '>=sys-kernel/linux-headers-2.6.0') ]] ; then >@@ -213,10 +213,10 @@ > USE_NPTLONLY=1 > ;; > multilib) >- STAGE1_USE="${STAGE1_USE} multilib" >+ ALLOWED_USE="${ALLOWED_USE} multilib" > ;; > userlocales) >- STAGE1_USE="${STAGE1_USE} userlocales" >+ ALLOWED_USE="${ALLOWED_USE} userlocales" > ;; > esac > done >@@ -249,9 +249,9 @@ > if [[ ${USE_NPTL} = "1" ]] ; then > myOS_HEADERS="$(portageq best_visible / '>=sys-kernel/linux-headers-2.6.0')" > [[ -n ${myOS_HEADERS} ]] && myOS_HEADERS=">=${myOS_HEADERS}" >- STAGE1_USE="${STAGE1_USE} nptl" >+ ALLOWED_USE="${ALLOWED_USE} nptl" > # Should we build with nptl only? >- [[ ${USE_NPTLONLY} = "1" ]] && STAGE1_USE="${STAGE1_USE} nptlonly" >+ [[ ${USE_NPTLONLY} = "1" ]] && ALLOWED_USE="${ALLOWED_USE} nptlonly" > fi > [[ -z ${myOS_HEADERS} ]] && myOS_HEADERS="virtual/os-headers" > >@@ -295,11 +295,11 @@ > > if [ ${BOOTSTRAP_STAGE} -le 1 ] ; then > show_status 2 Updating portage >- ${V_ECHO} USE="-* build bootstrap ${STAGE1_USE}" emerge ${STRAP_EMERGE_OPTS} ${myPORTAGE} || cleanup 1 >+ ${V_ECHO} USE="-* build bootstrap ${ALLOWED_USE} ${STAGE1_USE}" emerge ${STRAP_EMERGE_OPTS} ${myPORTAGE} || cleanup 1 > echo ------------------------------------------------------------------------------- > set_bootstrap_stage 2 > fi >-export USE="-* bootstrap ${STAGE1_USE}" >+export USE="-* bootstrap ${ALLOWED_USE} ${STAGE1_USE}" > > # We can't unmerge headers which may or may not exist yet. If your > # trying to use nptl, it may be needed to flush out any old headers
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 120305
:
78079
| 78084