Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41991 Details for
Bug 67190
INSTALL_MASK setting
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-install-mask.patch
portage-install-mask.patch (text/plain), 1.47 KB, created by
Brian Jackson (RETIRED)
on 2004-10-16 15:33:42 UTC
(
hide
)
Description:
portage-install-mask.patch
Filename:
MIME Type:
Creator:
Brian Jackson (RETIRED)
Created:
2004-10-16 15:33:42 UTC
Size:
1.47 KB
patch
obsolete
>--- /usr/lib/portage/bin/ebuild.sh.orig 2004-10-06 21:00:11 +0000 >+++ /usr/lib/portage/bin/ebuild.sh 2004-10-12 03:47:40 +0000 >@@ -1005,6 +1005,23 @@ > > pkg_preinst > >+ # hopefully this will someday allow us to get rid of the no* feature flags >+ for no_inst in ${INSTALL_MASK} ; do >+ # if it's a dir, remove the whole thing >+ echo "${IMAGE}/${no_inst}" >+ if [ -d "${IMAGE}/${no_inst}" ] ; then >+ einfo "Removing ${no_inst}" >+ rm -Rf ${IMAGE}/${no_inst} >+ continue >+ fi >+ >+ # try to find and remove anything else >+ einfo "Removing files matching ${no_inst}" >+ echo "find ${IMAGE} -name '${no_inst}' -exec rm -fR {} \;" >+ find "${IMAGE}" -name ${no_inst} >+ find "${IMAGE}" -name ${no_inst} -exec rm -fR {} \; >+ done >+ > # remove man pages > if hasq noman $FEATURES; then > rm -fR "${IMAGE}/usr/share/man" >@@ -1020,6 +1037,19 @@ > rm -fR "${IMAGE}/usr/share/doc" > fi > >+ # remove stuff that's normally only used for development >+ if hasq nodevelstuff $FEATURES; then >+ if [ "${ROOT}" = "/" ]; then >+ ewarn "nodevelstuff with ROOT=/ is a very bad idea, portage won't comply" >+ ewarn "File a bug if you come up with a compelling reason" >+ else >+ # don't need any include files >+ rm -fR "${IMAGE}/usr/include" >+ # .a's are for static linking won't do us much good >+ find ${IMAGE} -name '*.a' -exec rm {} \; >+ fi >+ fi >+ > # remove share dir if unnessesary > if hasq nodoc $FEATURES -o hasq noman $FEATURES -o hasq noinfo $FEATURES; then > rmdir "${IMAGE}/usr/share" &> /dev/null
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 67190
:
41991
|
43226