ISO/archiso/install/archiso_pxe_nbd
Gerardo Exequiel Pozzi 36e8d6322f [archiso] use new mkinitcpio API in hooks
Needs mkinitcpio >= 0.9.0

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-05-19 15:29:17 -03:00

20 lines
288 B
Bash

#!/bin/bash
build() {
add_module "nbd"
add_runscript
add_binary nbd-client
add_file /usr/lib/initcpio/archiso_pxe_nbd /archiso_pxe_nbd
}
help() {
cat<<HELPEOF
This hook loads the necessary modules for boot via PXE and NBD.
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: