summaryrefslogtreecommitdiff
path: root/libre-testing/grub/20_memtest86+
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-27 00:15:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-27 00:15:51 -0300
commit43a5bcc4818d2b06b0dbc8f53c9b9c26150e7dc6 (patch)
tree5178fe6d32627d77375f7651dd06b06d6acf06eb /libre-testing/grub/20_memtest86+
parentff0f66c534f9f5d0c042c3eaf48bd7e52d94fa34 (diff)
downloadabslibre-43a5bcc4818d2b06b0dbc8f53c9b9c26150e7dc6.tar.gz
abslibre-43a5bcc4818d2b06b0dbc8f53c9b9c26150e7dc6.tar.bz2
abslibre-43a5bcc4818d2b06b0dbc8f53c9b9c26150e7dc6.zip
grub-2.00-1: adding new grub to [libre] repo on abslibre
Diffstat (limited to 'libre-testing/grub/20_memtest86+')
-rw-r--r--libre-testing/grub/20_memtest86+29
1 files changed, 0 insertions, 29 deletions
diff --git a/libre-testing/grub/20_memtest86+ b/libre-testing/grub/20_memtest86+
deleted file mode 100644
index 1d3096f6b..000000000
--- a/libre-testing/grub/20_memtest86+
+++ /dev/null
@@ -1,29 +0,0 @@
-#! /bin/sh -e
-########################################################
-# This script generates a memtest86+ entry on grub.cfg #
-# if memtest is installed on the system. #
-########################################################
-
-prefix="/usr"
-exec_prefix="${prefix}"
-
-datarootdir="/usr/share"
-datadir="${datarootdir}"
-
-. "${datadir}/grub/grub-mkconfig_lib"
-
-MEMTEST86_IMAGE="/boot/memtest86+/memtest.bin"
-CLASS="--class memtest86 --class gnu --class tool"
-
-if [ -e $MEMTEST86_IMAGE ] && is_path_readable_by_grub $MEMTEST86_IMAGE; then
- # image exists, create menu entry
- echo "Found memtest86+ image: $MEMTEST86_IMAGE" >&2
- cat << EOF
-menuentry "Memory test (memtest86+)" $CLASS {
-EOF
- prepare_grub_to_access_device `${grub_probe} --target=device $MEMTEST86_IMAGE` | sed -e "s/^/ /"
- cat << EOF
- linux16 (\$root)`make_system_path_relative_to_its_root $MEMTEST86_IMAGE`
-}
-EOF
-fi