summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-02-23 11:58:38 -0500
committerWill Woods <wwoods@redhat.com>2009-02-23 11:58:38 -0500
commitbdd6b80ceea5d5409002b209d7879edfe8f0f59b (patch)
tree54cd807612362b548092505bfe41308a113f5e87
parent674b57192d7caab4038810dc470afc3897d2ac33 (diff)
downloaddebuginfofs-bdd6b80ceea5d5409002b209d7879edfe8f0f59b.tar.gz
debuginfofs-bdd6b80ceea5d5409002b209d7879edfe8f0f59b.tar.xz
debuginfofs-bdd6b80ceea5d5409002b209d7879edfe8f0f59b.zip
Stupid hack to make sure we get all x86 packages
-rwxr-xr-xdebuginfofs-mirror6
1 files changed, 5 insertions, 1 deletions
diff --git a/debuginfofs-mirror b/debuginfofs-mirror
index afc7453..f9ed607 100755
--- a/debuginfofs-mirror
+++ b/debuginfofs-mirror
@@ -213,7 +213,11 @@ def main():
if v:
my_yumvar[a] = v
# Another cheap hack - lie about our arch
- rpmUtils.arch.canonArch = opt.basearch
+ if opt.basearch == 'i386':
+ # hacks upon hacks. blerg.
+ rpmUtils.arch.canonArch = 'i686'
+ else:
+ rpmUtils.arch.canonArch = opt.basearch
# Set up the requested repos
for repoid in y.cmds: