From b28d427224c238f876169474ba9c8c865c989f73 Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Tue, 7 Jun 2022 12:02:49 -0500 Subject: sys-apps/memtest86+: add 6.00_beta2 Signed-off-by: Ben Kohler --- sys-apps/memtest86+/Manifest | 1 + sys-apps/memtest86+/files/39_memtest86+-r2 | 126 +++++++++++++++++++++++ sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild | 71 +++++++++++++ sys-apps/memtest86+/metadata.xml | 6 ++ 4 files changed, 204 insertions(+) create mode 100644 sys-apps/memtest86+/files/39_memtest86+-r2 create mode 100644 sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild (limited to 'sys-apps/memtest86+') diff --git a/sys-apps/memtest86+/Manifest b/sys-apps/memtest86+/Manifest index a3c17016ab5d..30e66ca497f9 100644 --- a/sys-apps/memtest86+/Manifest +++ b/sys-apps/memtest86+/Manifest @@ -1 +1,2 @@ DIST memtest86+-5.31b.tar.gz 227779 BLAKE2B 14aced912bb84115278a3aff7650a3571918b823335aaf7d09880ef10374c320f64878765d93d2ee5a75e2b33ef6c9c4886a9a168955bd77c668f06f5c86a6ca SHA512 ad5891fd0c430ce7a5d0cde2d10dee20b66ad8060d47c3e70e038461d9cde3a78dfc13442b5b09da7c662741945a670353c72dbc08fd5ee8bae82256001a9541 +DIST memtest86+-6.00_beta2.tar.gz 214840 BLAKE2B 223c3023ba38d584c9ff1923e859ee37f1d943be657c80d4151d0b9ded79b4b363f3e2f7e51d58c7b2b637133ecada0f9a952fcdbbf03d8c34cb00a64762022c SHA512 78b13cc05f470e40e347f6eddb4441c2b377c47ea9aa0252096ef37c884f452bdfce1292452a36aa3ce0cf59c3eb0e53c0e069863b3f165dcd648d9eae9c76ea diff --git a/sys-apps/memtest86+/files/39_memtest86+-r2 b/sys-apps/memtest86+/files/39_memtest86+-r2 new file mode 100644 index 000000000000..a213e0325609 --- /dev/null +++ b/sys-apps/memtest86+/files/39_memtest86+-r2 @@ -0,0 +1,126 @@ +#!/bin/sh + +. /usr/share/grub/grub-mkconfig_lib + +mtbios32=/boot/memtest86plus/memtest32.bios +mtbios64=/boot/memtest86plus/memtest64.bios +mtefi32=/boot/memtest86plus/memtest.efi32 +mtefi64=/boot/memtest86plus/memtest.efi64 + +if [ $(ls /boot/memtest86plus | wc -l) -gt 1 ]; then + multiple_memtest=true +fi + +submenu_indentation="" +if [ "${multiple_memtest}" = "true" ] && [ "${GRUB_DISABLE_SUBMENU}" != "y" ]; then + submenu_indentation="${grub_tab}" + cat <&2 + + device="$("${grub_probe}" --target=device "${mtbios32}")" + path="$(make_system_path_relative_to_its_root "${mtbios32}")" + cat <&2 + + device="$("${grub_probe}" --target=device "${mtbios64}")" + path="$(make_system_path_relative_to_its_root "${mtbios64}")" + cat <&2 + + device="$("${grub_probe}" --target=device "${mtefi32}")" + path="$(make_system_path_relative_to_its_root "${mtefi32}")" + cat <&2 + + device="$("${grub_probe}" --target=device "${mtefi64}")" + path="$(make_system_path_relative_to_its_root "${mtefi64}")" + cat <Ben Kohler + Compile a BIOS-bootable 32bit memtest image + Compile a BIOS-bootable 64bit memtest image Also install to /boot instead of just /usr/share/memtest86+/ + Compile a EFI32-bootable 32bit memtest image + Compile a UEFI-bootable 64bit memtest image Install a script to create floppy disks containing memtest86+ binaries. Compile an ISO image + Compile a 32bit ISO image + Compile a 64bit ISO image Compile with serial console support -- cgit v1.2.3-65-gdbad