From 5add47ffe89f9949d477d2683846d35551b0ad66 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Tue, 4 Mar 2008 21:39:54 +0000 Subject: [PATCH] Don't install memtest on EFI platforms. --- memtest-setup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/memtest-setup b/memtest-setup index 0a44d30..c183615 100755 --- a/memtest-setup +++ b/memtest-setup @@ -1,5 +1,10 @@ #!/bin/bash +if [ -d /sys/firmware/efi ]; then + echo "memtest86+ does not support EFI platforms." + exit 254 +fi + MTVERSION=`rpm -q --qf '%{version}' memtest86+` MTPATH="/boot/memtest86+-$MTVERSION"