From 4f15fedf1a41fe01449eb83aabd603ff2d17c601 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 28 Mar 2010 17:36:46 +0200 Subject: [PATCH] [entropy.spm] disable chost default fallback (error prone) --- .../plugins/interfaces/portage_plugin/__init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libraries/entropy/spm/plugins/interfaces/portage_plugin/__init__.py b/libraries/entropy/spm/plugins/interfaces/portage_plugin/__init__.py index 2c28133b1..9dbbd0303 100644 --- a/libraries/entropy/spm/plugins/interfaces/portage_plugin/__init__.py +++ b/libraries/entropy/spm/plugins/interfaces/portage_plugin/__init__.py @@ -852,13 +852,13 @@ class PortagePlugin(SpmPlugin): raise data[item] = value - if not data['chost']: - # stupid portage devs and virtual pkgs! - # try to cope - # WARNING: this can be erroneously set to currently running - # system CHOST that could not match the CHOST the package was - # built with - data['chost'] = self.portage.settings['CHOST'] + #if not data['chost']: + # # stupid portage devs and virtual pkgs! + # # try to cope + # # WARNING: this can be erroneously set to currently running + # # system CHOST that could not match the CHOST the package was + # # built with + # data['chost'] = self.portage.settings['CHOST'] if not data['spm_repository']: # make sure it's set to None data['spm_repository'] = None