Commit 09d751fc authored by Anton Midyukov's avatar Anton Midyukov

grub, syslinux, memtest: replace memtest to boot/

memtest is not part of syslinux. Also replace tabs to spacebar.
parent f430dda1
if [ "$grub_platform" = "pc" ]; then
menuentry $"Memory Test" --id 'memtest' {
linux16 /syslinux/memtest.bin
}
menuentry $"Memory Test" --id 'memtest' {
linux16 /boot/memtest.bin
}
fi
#!/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
label memtest
menu label ^Memory Test
linux memtest.bin
linux /boot/memtest.bin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment