archboot/usr/lib/initcpio/install/archboot_memtest

18 lines
602 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
2021-10-04 11:13:50 +02:00
This hook includes the memtest on an archboot image.
2007-02-22 23:46:50 +01:00
HELPEOF
}