summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2008-03-06 11:02:47 -0500
committerJeremy Katz <katzj@redhat.com>2008-03-06 16:11:21 -0500
commit49584f3e38c80b7ed83cd229700b53f6eba2ffb5 (patch)
treefcfcc5e149ae328b323b01ea21fdc588facdfa92 /scripts
parent714f23117809e74b8776dd782540fc05809e996a (diff)
downloadanaconda-49584f3e38c80b7ed83cd229700b53f6eba2ffb5.tar.gz
anaconda-49584f3e38c80b7ed83cd229700b53f6eba2ffb5.tar.xz
anaconda-49584f3e38c80b7ed83cd229700b53f6eba2ffb5.zip
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 18ee9d09e..c798cfb10 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"