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>
Thu, 7 Apr 2011 23:49:58 +0000 (16:49 -0700)
commitb773f82f3ab84270d6541b84298013b6221ebcac
tree9387e5775a6bd771a88ff788353c8b7156761a7d
parent469376e5c96b70bdd4f19782c2abd6a5264a4949
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