summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-03-04 15:31:18 -0500
committerPeter Jones <pjones@pjones2.localdomain>2008-03-04 15:31:18 -0500
commit18557aa8d499ff9eb7cfd194d7e5b812684bf8ab (patch)
treec44c74ff0c02c58dcf3214c32b3aa6ddb852b96e /scripts
parentd014bef3166148b763b026f684ebe9c68a37e48f (diff)
Test for using efi rather than arch==ia64
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 4b920e99d..8b914bb80 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -123,7 +123,7 @@ INITRDMODS="$USBMODS $FIREWIREMODS $IDEMODS $SCSIMODS $FSMODS $LVMMODS $RAIDMODS
KERNELNAME=vmlinuz
- if [ "$BUILDARCH" = "ia64" ]; then
+ if [ -d /sys/firmware/efi ]; then
KERNELDIR="/boot/efi/EFI/redhat"
else
KERNELDIR="/boot"