diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-25 18:49:33 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-25 18:49:33 -0700 |
commit | d5490ca81fec08bad27414979305cc9a50c56edd (patch) | |
tree | d38562aedeedc67c7f83687f1db4e4d170f278cd | |
parent | 07de48f66fc63bb747111af4ae6ad8fe53e9fe26 (diff) | |
download | portage-d5490ca81fec08bad27414979305cc9a50c56edd.tar.gz portage-d5490ca81fec08bad27414979305cc9a50c56edd.tar.bz2 portage-d5490ca81fec08bad27414979305cc9a50c56edd.zip |
Add ebuild(1) support for FEATURES=digest.
-rwxr-xr-x | bin/ebuild | 7 | ||||
-rw-r--r-- | man/make.conf.5 | 4 |
2 files changed, 8 insertions, 3 deletions
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 |