floppym 14/08/31 03:18:41 Added: 39_memtest86+ Log: Add a more robust grub config generator, bug 456308. (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Revision Changes Path 1.1 sys-apps/memtest86+/files/39_memtest86+ file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86+/files/39_memtest86+?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/memtest86+/files/39_memtest86+?rev=1.1&content-type=text/plain Index: 39_memtest86+ =================================================================== #!/bin/sh . /usr/share/grub/grub-mkconfig_lib memtest=/boot/memtest86plus/memtest if [ -f "${memtest}" ]; then device="$("${grub_probe}" --target=device "${memtest}")" path="$(make_system_path_relative_to_its_root "${memtest}")" cat <<EOF menuentry "Memtest86+" { EOF prepare_grub_to_access_device "${device}" | grub_add_tab cat <<EOF linux16 "${path}" } EOF fi memtest=/boot/memtest86plus/memtest.netbsd if [ -f "${memtest}" ]; then device="$("${grub_probe}" --target=device "${memtest}")" path="$(make_system_path_relative_to_its_root "${memtest}")" cat <<EOF menuentry "Memtest86+ (netbsd)" { EOF prepare_grub_to_access_device "${device}" | grub_add_tab cat <<EOF knetbsd "${path}" } EOF fi