2010-03-17 14:43:11 +01:00
|
|
|
# vim: set ft=sh:
|
|
|
|
|
2011-06-28 00:16:29 +02:00
|
|
|
build ()
|
2010-03-17 14:43:11 +01:00
|
|
|
{
|
2011-06-18 23:38:58 +02:00
|
|
|
MODULES="nbd"
|
2010-03-17 14:43:11 +01:00
|
|
|
BINARIES=""
|
|
|
|
FILES=""
|
2010-03-18 03:23:13 +01:00
|
|
|
SCRIPT="archiso_pxe_nbd"
|
2010-03-17 14:43:11 +01:00
|
|
|
|
|
|
|
add_binary "/usr/sbin/nbd-client" "/bin/nbd-client"
|
2011-08-29 20:27:03 +02:00
|
|
|
add_file "/lib/initcpio/archiso_pxe_nbd" "/archiso_pxe_nbd"
|
2010-03-17 14:43:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
|
|
|
This hook loads the necessary modules for boot via PXE and NBD.
|
|
|
|
HELPEOF
|
|
|
|
}
|