self.uvlist = copy.deepcopy(clone.uvlist)
self.dirVirtuals = copy.deepcopy(clone.dirVirtuals)
self.treeVirtuals = copy.deepcopy(clone.treeVirtuals)
- config_root = self.backupenv["PORTAGE_CONFIGROOT"]
- target_root = self.backupenv["ROOT"]
else:
# backupenv is for calculated incremental variables.
self.lookuplist=self.configlist[:]
self.lookuplist.reverse()
+ self["PORTAGE_CONFIGROOT"] = config_root
+ self.backup_changes("PORTAGE_CONFIGROOT")
+ self["ROOT"] = target_root
+ self.backup_changes("ROOT")
+
self.pusedict = {}
self.pkeywordsdict = {}
self.punmaskdict = {}
self.backupenv["PORTAGE_BIN_PATH"] = PORTAGE_BIN_PATH
self.backupenv["PORTAGE_PYM_PATH"] = PORTAGE_PYM_PATH
- self["PORTAGE_CONFIGROOT"] = config_root
- self.backup_changes("PORTAGE_CONFIGROOT")
- self["ROOT"] = target_root
- self.backup_changes("ROOT")
-
self._init_dirs()
def _init_dirs(self):