summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-20 06:10:42 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-20 06:10:42 +0000
commitff6b13e3241b4f7bc7ef07850bec924e98856b27 (patch)
treedaa8c5e54ace452b90d49a361605b783258c121c /bin
parent8cf8f3ebbd5682428448f41e9fb4a43707fd5b3e (diff)
downloadportage-ff6b13e3241b4f7bc7ef07850bec924e98856b27.tar.gz
portage-ff6b13e3241b4f7bc7ef07850bec924e98856b27.tar.bz2
portage-ff6b13e3241b4f7bc7ef07850bec924e98856b27.zip
Make some adjustments so that it's possible to install binary
packages without having a portage tree: * Make portdbapi.aux_get() return early by raising a KeyError if it detects that there is no portage tree. * Move the ARCH and USERLAND sanity check to the last moment in doebuild() and only require these variables if an existing environment (such as environment.bz2) is unavailable. * Convert messages about missing portage tree to debug level warnings since quite often it's possible to function without a portage tree now. * Make binarytree.populate() stop relying on having a categories list since it may not be available if there is no portage tree. (trunk r8972:8976) svn path=/main/branches/2.1.2/; revision=8977
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge11
1 files changed, 1 insertions, 10 deletions
diff --git a/bin/emerge b/bin/emerge
index 9cfb9bdb9..195cb44fe 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -6184,16 +6184,7 @@ def parse_opts(tmpcmdline, silent=False):
return myaction, myopts, myfiles
def validate_ebuild_environment(trees):
- for myroot in trees:
- mysettings = trees[myroot]["vartree"].settings
- if not mysettings.get("ARCH", None):
- print >> sys.stderr, bad("\a!!! ARCH is not set... " + \
- "Are you missing the '%setc/make.profile' symlink?" % \
- mysettings["PORTAGE_CONFIGROOT"])
- print >> sys.stderr, bad("\a!!! Is the symlink correct? " + \
- "Is your portage tree complete?\n")
- sys.exit(9)
- del myroot, mysettings
+ pass
def load_emerge_config(trees=None):
kwargs = {}