If an arch isn't passed, it'll use the host arch, which negates
the desire of using a defined archlist.
---
yumdownloader.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/yumdownloader.py b/yumdownloader.py
index 5252ad4..8e5f645 100755
--- a/yumdownloader.py
+++ b/yumdownloader.py
@@ -159,6 +159,9 @@ class YumDownloader(YumUtilBase):
if toActOn:
if opts.source:
toDownload.extend(self.bestPackagesFromList(toActOn,
'src'))
+ elif opts.archlist:
+ for arch in opts.archlist.split(','):
+ toDownload.extend(self.bestPackagesFromList(toActOn,
arch))
else:
toDownload.extend(self.bestPackagesFromList(toActOn))
--
1.5.4.3
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel