summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-11 05:14:43 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-11 05:14:43 +0000
commit93c9a299a23bb99f87f26a6d9c6e72d40b1ca56b (patch)
tree10a75324128285bcc3cb6d31dec68efbf3e7a3ea
parent9a8ec636aba2eec44e3f24e99b4f703df573ec4c (diff)
downloadportage-93c9a299a23bb99f87f26a6d9c6e72d40b1ca56b.tar.gz
portage-93c9a299a23bb99f87f26a6d9c6e72d40b1ca56b.tar.bz2
portage-93c9a299a23bb99f87f26a6d9c6e72d40b1ca56b.zip
Bug #203887 - Implement RESTRICT=installsources for binaries that are
not compatible with debugedit. svn path=/main/trunk/; revision=9167
-rwxr-xr-xbin/prepstrip1
-rw-r--r--man/ebuild.54
2 files changed, 5 insertions, 0 deletions
diff --git a/bin/prepstrip b/bin/prepstrip
index a5d4278de..bc2fa79cf 100755
--- a/bin/prepstrip
+++ b/bin/prepstrip
@@ -32,6 +32,7 @@ fi
save_elf_sources() {
hasq installsources ${FEATURES} || return 0
+ hasq installsources ${RESTRICT} && return 0
type -P debugedit >/dev/null || return 0
local x=$1
diff --git a/man/ebuild.5 b/man/ebuild.5
index 116e44d01..2eaffcbc1 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -364,6 +364,10 @@ Distribution of binary packages is restricted.
.I fetch
like \fImirror\fR but the files will not be fetched via \fBSRC_URI\fR either.
.TP
+.I installsources
+Disables installsources for specific packages. This is for packages with
+binaries that are not compatible with debugedit.
+.TP
.I mirror
files in \fBSRC_URI\fR will not be downloaded from the \fBGENTOO_MIRRORS\fR.
.TP