archboot/lib/initcpio/install/arch_memtest

20 lines
620 B
Text
Raw Normal View History

2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
install ()
{
BINARIES=""
FILES=""
SCRIPT=""
2010-09-28 18:03:31 +02:00
[ ${RUNPROGRAM} = "mkisolinux" ] && cp "/boot/memtest86+/memtest.bin" "${TEMPDIR}/boot/memtest"
[ ${RUNPROGRAM} = "archboot-tarball-helper.sh" ] && cp "/boot/memtest86+/memtest.bin" "${TEMPDIR}/boot/memtest"
[ ${RUNPROGRAM} = "mksyslinux" ] && cp "/boot/memtest86+/memtest.bin" "${TEMPDIR}/boot/memtest"
2007-02-22 23:46:50 +01:00
[ ${RUNPROGRAM} = "mkpxelinux" ] && cp "/boot/memtest86+/memtest.bin" "${INSTALLDIR}/memtest"
}
help ()
{
cat<<HELPEOF
This hook includes the memtest on an arch boot image.
HELPEOF
}