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 if [ "$grub_platform" = "pc" ]; then
menuentry $"Memory Test" --id 'memtest' { menuentry $"Memory Test" --id 'memtest' {
linux16 /syslinux/memtest.bin linux16 /boot/memtest.bin
} }
fi fi
#!/bin/sh #!/bin/sh
mkdir -p "$WORKDIR"/syslinux mkdir -p "$WORKDIR"/boot
MEMTEST="$(find /boot/ -name 'memtest*' -print -quit)" MEMTEST="$(find /boot/ -name 'memtest*' -print -quit)"
# hdt wiki recommends adding .bin # hdt wiki recommends adding .bin
[ -z "$MEMTEST" ] || [ -z "$MEMTEST" ] ||
cp -f "$MEMTEST" "$WORKDIR"/syslinux/memtest.bin cp -f "$MEMTEST" "$WORKDIR"/boot/memtest.bin
label memtest label memtest
menu label ^Memory Test 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