summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2010-10-27 10:05:11 -0400
committerChris Lumens <clumens@redhat.com>2010-10-27 10:05:11 -0400
commit925bbf9163210ed9cd511e96ad6d1584e2ca8728 (patch)
tree44b2946e9c40a94aa3a871e27c46550f5e3303d4 /scripts
parent8d724fc7903eae3976fd014c6ae4492d1f61f1f2 (diff)
Only build EFI images on x86_64 (jlaska, #646869).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index c80775841..6a707c5a9 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -449,7 +449,8 @@ elif [ ${BUILDARCH} = ppc64 ]; then
source $TOPDIR/mk-images.ppc
elif [ ${BUILDARCH} = "x86_64" -o ${BUILDARCH} = "i386" ]; then
source $TOPDIR/mk-images.x86
- source $TOPDIR/mk-images.efi
+ # Only generate EFI images on 64bit
+ test ${BUILDARCH} = "x86_64" && source $TOPDIR/mk-images.efi
elif [ ${BUILDARCH} = "sparc64" -o ${BUILDARCH} = "sparcv9" ]; then
source $TOPDIR/mk-images.sparc
else