From ed7b0f0a2fbf61c0175bab17818733741e27c043 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Wed, 16 May 2012 15:52:55 -0300 Subject: [archiso] use new mkinitcpio API in hooks Needs mkinitcpio >= 0.9.0 Signed-off-by: Gerardo Exequiel Pozzi --- archiso/install/archiso_pxe_nfs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archiso/install/archiso_pxe_nfs') 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 } -- cgit v1.2.3-70-g09d2