[PATCH] Pass the --archlist option to yumdownloader

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is necessary on ppc where we are trying to download the ppc64
kernel from a ppc environment.  Requires an updated yum-utils that
supports the --archlist option to yumdownloader, but I don't know
the n-v-r of that build yet, so no change to anaconda.spec yet.
---
 scripts/mk-images |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 18ee9d0..c798cfb 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -766,7 +766,7 @@ for KERNELARCH in $arches; do
 	continue
     fi
 
-    yumdownloader -c $yumconf $kpackage
+    yumdownloader -c $yumconf --archlist=$KERNELARCH $kpackage
     kpackage="$kpackage.rpm"
     if [ ! -f "$kpackage" ]; then
 	echo "kernel ($kernelvers) doesn't exist for $KERNELARCH.  skipping"
-- 
1.5.4.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux