summaryrefslogtreecommitdiff
path: root/archiso/install/archiso_pxe_nfs
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-05-16 15:52:55 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-05-19 15:29:17 -0300
commit36e8d6322f02571f86b3beba71a83479bc0467c1 (patch)
treef9355a86b6d3c5a147b11094906e652453194909 /archiso/install/archiso_pxe_nfs
parentc1ecc9b604b6a192b3d30ebfbea300232c79e8b1 (diff)
downloadarchiso32-36e8d6322f02571f86b3beba71a83479bc0467c1.tar.xz
[archiso] use new mkinitcpio API in hooks
Needs mkinitcpio >= 0.9.0 Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/install/archiso_pxe_nfs')
-rw-r--r--archiso/install/archiso_pxe_nfs5
1 files changed, 3 insertions, 2 deletions
diff --git a/archiso/install/archiso_pxe_nfs b/archiso/install/archiso_pxe_nfs
index f210cd3..f8226e5 100644
--- a/archiso/install/archiso_pxe_nfs
+++ b/archiso/install/archiso_pxe_nfs
@@ -1,8 +1,9 @@
#!/bin/bash
build() {
- MODULES="nfs"
- SCRIPT="archiso_pxe_nfs"
+ add_module "nfs"
+
+ add_runscript
add_binary /usr/lib/initcpio/nfsmount /bin/nfsmount
}