diff options
author | David James <davidjames@google.com> | 2011-04-07 16:49:58 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-04-07 16:49:58 -0700 |
commit | b773f82f3ab84270d6541b84298013b6221ebcac (patch) | |
tree | 9387e5775a6bd771a88ff788353c8b7156761a7d /pym/portage/const.py | |
parent | 469376e5c96b70bdd4f19782c2abd6a5264a4949 (diff) | |
download | portage-b773f82f3ab84270d6541b84298013b6221ebcac.tar.gz portage-b773f82f3ab84270d6541b84298013b6221ebcac.tar.bz2 portage-b773f82f3ab84270d6541b84298013b6221ebcac.zip |
Add force-mirror FEATURE.
force-mirror: Only fetch files from configured mirrors, ignoring
SRC_URI, except when mirror is in the ebuild(5) RESTRICT variable.
BUG=chromium-os:13221
TEST=Test that ebuilds now fail with FEATURES=force-mirror if files are
not in the configured mirror.
Change-Id: I8484d5af8dff97b431398030b33c024ff1295ba0
Review URL: http://codereview.chromium.org/6677171
Diffstat (limited to 'pym/portage/const.py')
-rw-r--r-- | pym/portage/const.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/const.py b/pym/portage/const.py index 89fdda151..b92149d38 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -88,8 +88,8 @@ EBUILD_PHASES = ("pretend", "setup", "unpack", "prepare", "configure" SUPPORTED_FEATURES = frozenset([ "assume-digests", "binpkg-logs", "buildpkg", "buildsyspkg", "candy", "ccache", "chflags", "collision-protect", "compress-build-logs", - "digest", "distcc", "distlocks", - "fakeroot", "fail-clean", "fixpackages", "getbinpkg", + "digest", "distcc", "distlocks", "fakeroot", + "fail-clean", "fixpackages", "force-mirror", "getbinpkg", "installsources", "keeptemp", "keepwork", "fixlafiles", "lmirror", "metadata-transfer", "mirror", "multilib-strict", "news", "noauto", "noclean", "nodoc", "noinfo", "noman", "nostrip", |