archboot/usr/lib/initcpio/install/archboot_memtest

18 lines
603 B
Text
Raw Normal View History

#!/usr/bin/env bash
2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2007-02-22 23:46:50 +01: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"
[ "${RUNPROGRAM}" = "mkpxelinux" ] && cp "/boot/memtest86+/memtest.bin" "${INSTALLDIR}/memtest"
2007-02-22 23:46:50 +01:00
}
help ()
{
cat<<HELPEOF
This hook includes the memtest on an arch boot image.
HELPEOF
}