From: Zac Medico Date: Thu, 26 Aug 2010 01:49:33 +0000 (-0700) Subject: Add ebuild(1) support for FEATURES=digest. X-Git-Tag: v2.2_rc70~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5490ca81fec08bad27414979305cc9a50c56edd;p=portage.git Add ebuild(1) support for FEATURES=digest. --- diff --git a/bin/ebuild b/bin/ebuild index 9ce058b5c..a419d264b 100755 --- a/bin/ebuild +++ b/bin/ebuild @@ -1,5 +1,5 @@ #!/usr/bin/python -O -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function @@ -263,6 +263,11 @@ def stale_env_warning(): from portage.exception import PermissionDenied, \ PortagePackageException, UnsupportedAPIException + +if 'digest' in tmpsettings.features and \ + not set(["digest", "manifest"]).intersection(pargs): + pargs = ['digest'] + pargs + checked_for_stale_env = False for arg in pargs: diff --git a/man/make.conf.5 b/man/make.conf.5 index c1c3c78a1..909dfad34 100644 --- a/man/make.conf.5 +++ b/man/make.conf.5 @@ -1,4 +1,4 @@ -.TH "MAKE.CONF" "5" "Aug 2008" "Portage 2.2" "Portage" +.TH "MAKE.CONF" "5" "Aug 2010" "Portage 2.2" "Portage" .SH "NAME" make.conf \- custom settings for Portage .SH "SYNOPSIS" @@ -239,7 +239,7 @@ logs will have a '.gz' extension when this feature is enabled. .TP .B digest Autogenerate digests for packages when running the -\fBemerge\fR(1) or \fBrepoman\fR(1) commands. If +\fBemerge\fR(1), \fBebuild\fR(1), or \fBrepoman\fR(1) commands. If the \fIassume\-digests\fR feature is also enabled then existing SRC_URI digests will be reused whenever they are available. .TP