grub, syslinux, memtest: replace memtest to boot/
memtest is not part of syslinux. Also replace tabs to spacebar.
This commit is contained in:
parent
f430dda131
commit
09d751fcc0
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
label memtest
|
||||
menu label ^Memory Test
|
||||
linux memtest.bin
|
||||
linux /boot/memtest.bin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user