Don't install memtest on EFI platforms.
This commit is contained in:
parent
3a08571fc1
commit
5add47ffe8
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user