From 2d4aa6f38da7ecfabb6d37e3d8bf01b860d5b76d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 31 Jul 2006 16:05:47 +0000 Subject: [PATCH] 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 --- bin/repoman | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.26.2