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

[PATCH] Pass the --archlist option to yumdownloader



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


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