diff options
author | Daniel Drake <dsd@laptop.org> | 2012-10-02 20:36:33 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2012-10-02 21:09:24 (GMT) |
commit | 7a981b054d0f81028eba5713c8babab2ad289f5c (patch) | |
tree | 6af2a0a608bf63679448e0526bd6312e6bfb2983 /modules/repos/ksmain.50.repos.py | |
parent | b75761585bc09154583348c2df5aa6232276a184 (diff) |
Use arch-aware exclude list for yumcfg too
Use arch considerations in yumcfg like the repos module.
This involved promoting fedora_arch to be a global option.
Diffstat (limited to 'modules/repos/ksmain.50.repos.py')
-rw-r--r-- | modules/repos/ksmain.50.repos.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/repos/ksmain.50.repos.py b/modules/repos/ksmain.50.repos.py index e19f87a..bde0b09 100644 --- a/modules/repos/ksmain.50.repos.py +++ b/modules/repos/ksmain.50.repos.py @@ -11,10 +11,7 @@ excludepkgs = set() addexcludes = ooblib.read_config('repos', 'add_excludes_to') fedora = ooblib.read_config('repos', 'fedora') fver = ooblib.read_config('global', 'fedora_release').strip() -farch = ooblib.read_config('repos', 'fedora_arch') - -if farch: - farch = farch.strip() +farch = ooblib.read_config('global', 'fedora_arch').strip() def add_to_excludes(baseurl, addexcludes): print >>sys.stderr, "Reading repository information for", baseurl |