Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 279177 Details for
Bug 374157
bootstrap.sh is not found sys-apps/shadow and always fails on Gentoo/FBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for bootstrap.sh
bootstrap.sh.patch (text/plain), 1.23 KB, created by
Yuta SATOH
on 2011-07-05 17:22:29 UTC
(
hide
)
Description:
sample patch for bootstrap.sh
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2011-07-05 17:22:29 UTC
Size:
1.23 KB
patch
obsolete
>--- bootstrap.sh.orig 2011-05-20 12:31:24.000000000 +0900 >+++ bootstrap.sh 2011-07-06 02:19:50.188578179 +0900 >@@ -260,9 +260,18 @@ > sed 's/[][,]//g; s/\*//g' | tr ' ' '\n' | while read p; do n=${p##*/}; n=${n%\'}; > n=${n%%-[0-9]*}; echo "my$(tr a-z- A-Z_ <<<$n)=$p; "; done) > >+# Gentoo/FreeBSD stuff >+# GNU shadow masked. >+if [[ -z ${mySHADOW} ]]; then >+ if [[ -z $(portageq best_version / sys-apps/shadow) ]]; then >+ NO_SHADOW=1 >+ else >+ mySHADOW=">=$(portageq best_version / sys-apps/shadow)" >+ fi >+fi >+ > # This stuff should never fail but will if not enough is installed. > [[ -z ${myBASELAYOUT} ]] && myBASELAYOUT=">=$(portageq best_version / sys-apps/baselayout)" >-[[ -z ${mySHADOW} ]] && mySHADOW=">=$(portageq best_version / sys-apps/shadow)" > [[ -z ${myPORTAGE} ]] && myPORTAGE="portage" > [[ -z ${myBINUTILS} ]] && myBINUTILS="binutils" > [[ -z ${myGCC} ]] && myGCC="gcc" >@@ -286,7 +295,7 @@ > [[ -z ${myOS_HEADERS} ]] && myOS_HEADERS="virtual/os-headers" > > einfo "Using baselayout : ${myBASELAYOUT}" >-einfo "Using shadow : ${mySHADOW}" >+[[ ${NO_SHADOW} = "1" ]] || einfo "Using shadow : ${mySHADOW}" > einfo "Using portage : ${myPORTAGE}" > einfo "Using os-headers : ${myOS_HEADERS}" > einfo "Using binutils : ${myBINUTILS}"
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 374157
: 279177