diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-19 16:15:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-19 16:15:42 +0100 |
commit | ac616584d4bcb8e2a2defb591e3b0643054fda5d (patch) | |
tree | 2a1c72220398765d90183db696285fa3262ecdad /sys-apps/memtest86+/files/39_memtest86+-r1 | |
parent | 1b76d39d04711631f8d9c7961d19e993e718e53c (diff) |
gentoo auto-resync : 19:05:2023 - 16:15:42
Diffstat (limited to 'sys-apps/memtest86+/files/39_memtest86+-r1')
-rw-r--r-- | sys-apps/memtest86+/files/39_memtest86+-r1 | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/sys-apps/memtest86+/files/39_memtest86+-r1 b/sys-apps/memtest86+/files/39_memtest86+-r1 deleted file mode 100644 index 20422b74d65a..000000000000 --- a/sys-apps/memtest86+/files/39_memtest86+-r1 +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -. /usr/share/grub/grub-mkconfig_lib - -memtest=/boot/memtest86plus/memtest.bin - -memtestelf=/boot/memtest86plus/memtest - -if [ -f "${memtest}" ] && [ -f "${memtestelf}" ]; then - multiple_memtest=true -fi - -submenu_indentation="" -if [ "${multiple_memtest}" = "true" ] && [ "${GRUB_DISABLE_SUBMENU}" != "y" ]; then - submenu_indentation="${grub_tab}" - cat <<EOF -submenu 'Memtest86+' { -EOF -fi - -if [ -f "${memtest}" ]; then - gettext_printf "Found memtest image: %s\n" "${memtest}" >&2 - - device="$("${grub_probe}" --target=device "${memtest}")" - path="$(make_system_path_relative_to_its_root "${memtest}")" - cat <<EOF -${submenu_indentation}menuentry 'Memtest86+' { -EOF - - if [ -n "{submenu_indentation}" ]; then - prepare_grub_to_access_device "${device}" | grub_add_tab | grub_add_tab - else - prepare_grub_to_access_device "${device}" | grub_add_tab - fi - - cat <<EOF - ${submenu_indentation}linux16 "${path}" -${submenu_indentation}} -EOF -fi - -if [ -f "${memtestelf}" ]; then - gettext_printf "Found memtest image: %s\n" "${memtestelf}" >&2 - - device="$("${grub_probe}" --target=device "${memtestelf}")" - path="$(make_system_path_relative_to_its_root "${memtestelf}")" - cat <<EOF -${submenu_indentation}menuentry 'Memtest86+ (ELF)' { -EOF - - if [ -n "${submenu_indentation}" ]; then - prepare_grub_to_access_device "${device}" | grub_add_tab | grub_add_tab - else - prepare_grub_to_access_device "${device}" | grub_add_tab - fi - - # We use knetbsd as a lazy way of booting an ELF. - # It's not actually related to NetBSD at all. - cat <<EOF - ${submenu_indentation}knetbsd "${path}" -${submenu_indentation}} -EOF -fi - -if [ "${multiple_memtest}" = "true" ] && [ "${GRUB_DISABLE_SUBMENU}" != "y" ]; then - cat <<EOF -} -EOF -fi |