mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
20 lines
604 B
Text
20 lines
604 B
Text
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||
|
|
||
|
install ()
|
||
|
{
|
||
|
BINARIES=""
|
||
|
FILES=""
|
||
|
SCRIPT=""
|
||
|
[ ${RUNPROGRAM} = "mkbootcd" ] && cp "/boot/memtest86+/memtest.bin" "${TEMPDIR}/isolinux/memtest"
|
||
|
[ ${RUNPROGRAM} = "mkbootcd-grub" ] && cp "/boot/memtest86+/memtest.bin" "${TEMPDIR}/boot/memtest"
|
||
|
[ ${RUNPROGRAM} = "mksyslinux" ] && cp "/boot/memtest86+/memtest.bin" "${TEMPDIR}/memtest"
|
||
|
[ ${RUNPROGRAM} = "mkpxelinux" ] && cp "/boot/memtest86+/memtest.bin" "${INSTALLDIR}/memtest"
|
||
|
}
|
||
|
|
||
|
help ()
|
||
|
{
|
||
|
cat<<HELPEOF
|
||
|
This hook includes the memtest on an arch boot image.
|
||
|
HELPEOF
|
||
|
}
|