From: Zac Medico Date: Mon, 31 Jul 2006 16:05:47 +0000 (-0000) Subject: Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. This... X-Git-Tag: v2.1-r2~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2d4aa6f38da7ecfabb6d37e3d8bf01b860d5b76d;p=portage.git Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. This prevents it from being discarded by config.reset() and was the root cause of bug #132601. This patch is from trunk r3792. svn path=/main/branches/2.1/; revision=4061 --- diff --git a/bin/repoman b/bin/repoman index 1c0f1d72b..6d827d0d7 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1120,6 +1120,8 @@ for x in scanlist: arch_caches[prof[0]]=[dep_settings, portage.portdb, portage.db["/"]["porttree"]] dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups) + # just in case, prevent config.reset() from nuking these. + dep_settings.backup_changes("ACCEPT_KEYWORDS") for myprovide in myaux["PROVIDE"].split(): prov_cp = portage.dep_getkey(myprovide)