ISO/archiso/install/nbd
Gerardo Exequiel Pozzi 830555f71a [archiso] Add nbd hook, to make posible boot archiso from PXE via a NBD.
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>
2010-03-17 11:12:46 -03:00

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
}