summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-03-16 13:13:30 -0400
committerJeremy Katz <katzj@redhat.com>2008-03-16 13:16:34 -0400
commit6b4b17cfb3fa32f50117f217f4b50a1a79f807e1 (patch)
tree80c07cdfd668cb19e5742a70842894b294aec55c /scripts/mk-images
parent953ef6a060a4d0b890603a18f0e495c4c7fe9689 (diff)
downloadanaconda-6b4b17cfb3fa32f50117f217f4b50a1a79f807e1.tar.gz
anaconda-6b4b17cfb3fa32f50117f217f4b50a1a79f807e1.tar.xz
anaconda-6b4b17cfb3fa32f50117f217f4b50a1a79f807e1.zip
Use i586 kernel (#437641)
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-xscripts/mk-images2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index da60cce31..66fa5acfb 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -755,7 +755,7 @@ foundakernel=""
for KERNELARCH in $arches; do
for kernelvers in $kerneltags; do
kpackage=$(findPackage $kernelvers)
- if [ "$KERNELARCH" = "i586" -a ! -f "$kpackage" ]; then
+ if [ "$KERNELARCH" = "i586" -a -z "$kpackage" ]; then
echo "No i586 kernel, trying i686..."
KERNELARCH="i686"
kpackage=$(findPackage $kernelvers)