summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-06-25 18:01:52 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-06-25 18:01:52 -0400
commit89bf9fccd53ca1eac9c918c05dd316c000517bfc (patch)
tree024c04d4a1ef6070e9d09d1eb91be0e1c66c8442
parent5ba4d4426ba5b075eeb8c2f86e480e932dffb505 (diff)
downloadcobbler-89bf9fccd53ca1eac9c918c05dd316c000517bfc.tar.gz
cobbler-89bf9fccd53ca1eac9c918c05dd316c000517bfc.tar.xz
cobbler-89bf9fccd53ca1eac9c918c05dd316c000517bfc.zip
When mirroring repos, act as though you are 686 not 386, to get all the kernel updates
-rw-r--r--cobbler/action_reposync.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cobbler/action_reposync.py b/cobbler/action_reposync.py
index 3728f12b..d1d5950a 100644
--- a/cobbler/action_reposync.py
+++ b/cobbler/action_reposync.py
@@ -131,8 +131,9 @@ class RepoSync:
if repo.arch != "":
if repo.arch == "x86":
repo.arch = "i386" # FIX potential arch errors
+ if repo.arch == "i386":
# counter-intuitive, but we want the newish kernels too
- cmd = "%s -a i686" % (cmd, repo.arch)
+ cmd = "%s -a i686" % (cmd)
else:
cmd = "%s -a %s" % (cmd, repo.arch)