Add force-mirror FEATURE.
authorDavid James <davidjames@google.com>
Thu, 7 Apr 2011 23:49:58 +0000 (16:49 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 13 Apr 2011 07:49:51 +0000 (00:49 -0700)
commit90b7a235a290e16b0ec151d77e8166c62c1745aa
tree0748a66a59cbb279427247061afcd9e3463fc169
parenta4508f43bd7a6cb7e3ac5e0f40fbbe30e0f18d31
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
man/make.conf.5
pym/portage/const.py
pym/portage/package/ebuild/fetch.py