830555f71a
nbd (network block device utilities) package is required. This package is in AUR at this moment: http://aur.archlinux.org/packages.php?ID=9691 Also mkinitcpio-nfs-utils is required for ipconfig. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
21 lines
348 B
Bash
21 lines
348 B
Bash
# vim: set ft=sh:
|
|
|
|
install ()
|
|
{
|
|
MODULES="nbd $(checked_modules "/drivers/net/") "
|
|
|
|
BINARIES=""
|
|
FILES=""
|
|
SCRIPT="nbd"
|
|
|
|
add_binary "/usr/sbin/nbd-client" "/bin/nbd-client"
|
|
add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig"
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat<<HELPEOF
|
|
This hook loads the necessary modules for boot via PXE and NBD.
|
|
HELPEOF
|
|
}
|