diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-31 16:05:47 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-31 16:05:47 +0000 |
commit | 2d4aa6f38da7ecfabb6d37e3d8bf01b860d5b76d (patch) | |
tree | 041ff977cd6b50262b3c0fcb2710f3350afdad6a /bin | |
parent | 994b6ec1c4d71a1a01038e79caa29d8b13deac80 (diff) | |
download | portage-2d4aa6f38da7ecfabb6d37e3d8bf01b860d5b76d.tar.gz portage-2d4aa6f38da7ecfabb6d37e3d8bf01b860d5b76d.tar.bz2 portage-2d4aa6f38da7ecfabb6d37e3d8bf01b860d5b76d.zip |
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
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 2 insertions, 0 deletions
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) |