Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install/archiso_pxe_nbd
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-03-17 23:23:13 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-03-18 01:01:13 -0300
commitfffe690a7361b8e36bf67db1a1ad1dc524489e67 (patch)
tree0675df2cf3a5c687a48a0d6395adde9396bab325 /archiso/install/archiso_pxe_nbd
parent2c00b5508db31d57f2eec3bc149b4e7dbf193a25 (diff)
[archiso] Rename nbd hook to archiso_nbd
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/install/archiso_pxe_nbd')
-rw-r--r--archiso/install/archiso_pxe_nbd20
1 files changed, 20 insertions, 0 deletions
diff --git a/archiso/install/archiso_pxe_nbd b/archiso/install/archiso_pxe_nbd
new file mode 100644
index 0000000..4bebd15
--- /dev/null
+++ b/archiso/install/archiso_pxe_nbd
@@ -0,0 +1,20 @@
+# vim: set ft=sh:
+
+install ()
+{
+ MODULES="nbd $(checked_modules "/drivers/net/") "
+
+ BINARIES=""
+ FILES=""
+ SCRIPT="archiso_pxe_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
+}