From: Zac Medico Date: Fri, 11 Jan 2008 05:49:57 +0000 (-0000) Subject: Bug #203887 - Implement RESTRICT=installsources for binaries that are X-Git-Tag: v2.1.4~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bb0c42fcc98ec289121caa3ca7cde0f53822a410;p=portage.git Bug #203887 - Implement RESTRICT=installsources for binaries that are not compatible with debugedit. (trunk r9167) svn path=/main/branches/2.1.2/; revision=9175 --- 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