grub, syslinux, memtest: replace memtest to boot/

memtest is not part of syslinux.
Also replace tabs to spacebar.
This commit is contained in:
Anton Midyukov 2021-04-22 10:25:22 +07:00
parent f430dda131
commit 09d751fcc0
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
if [ "$grub_platform" = "pc" ]; then
menuentry $"Memory Test" --id 'memtest' {
linux16 /syslinux/memtest.bin
}
menuentry $"Memory Test" --id 'memtest' {
linux16 /boot/memtest.bin
}
fi

View File

@ -1,7 +1,7 @@
#!/bin/sh
mkdir -p "$WORKDIR"/syslinux
mkdir -p "$WORKDIR"/boot
MEMTEST="$(find /boot/ -name 'memtest*' -print -quit)"
# hdt wiki recommends adding .bin
[ -z "$MEMTEST" ] ||
cp -f "$MEMTEST" "$WORKDIR"/syslinux/memtest.bin
cp -f "$MEMTEST" "$WORKDIR"/boot/memtest.bin

View File

@ -1,4 +1,4 @@
label memtest
menu label ^Memory Test
linux memtest.bin
linux /boot/memtest.bin