diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-02-03 18:20:53 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-02-03 18:20:53 +0000 |
commit | 03fd3dae1743bd3c998b1383d26b4c391b8e23ca (patch) | |
tree | ffd7ccd5154f3757e9edb3d80e67fa6dd7f0042a /scripts/mk-images | |
parent | a06273fba4e99e3cb88a6bcca27df14b3a87cb97 (diff) | |
download | anaconda-03fd3dae1743bd3c998b1383d26b4c391b8e23ca.tar.gz anaconda-03fd3dae1743bd3c998b1383d26b4c391b8e23ca.tar.xz anaconda-03fd3dae1743bd3c998b1383d26b4c391b8e23ca.zip |
try to make it so that we use i586 kernel for boot.iso for fedora and
i686 for rhel.
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-x | scripts/mk-images | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 7e8069583..144895654 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -853,7 +853,7 @@ vertag="BOOT" if [ "$BUILDARCH" = "ppc" -o "$BUILDARCH" = "ppc64" ]; then arches="ppc64pseries ppc64iseries ppc" elif [ "$BUILDARCH" = "i386" ]; then - arches="i686" + arches="i586" else arches="$BUILDARCH" fi @@ -869,6 +869,12 @@ for KERNELARCH in $arches; do kernelvers="" fi + if [ "$KERNELARCH" = "i586" -a ! -f "$kpackage" ]; then + echo "No i586 kernel, trying i686..." + KERNELARCH="i686" + kpackage=$($LATEST $KERNELPATH kernel) + fi + if [ ! -f "$kpackage" ]; then echo "kernel doesn't exist for $KERNELARCH. skipping arch" continue |