From d621c1e4f5702614f81ec38ce0181682d126e403 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Mon, 28 Nov 2011 12:28:03 -0300 Subject: [archiso] Split archiso_pxe_nbd in two hooks. One hook only setup the network device (archiso_pxe_common) the other setup the NBD client (archiso_pxe_nbd). New bootparam: archiso_pxe_srv=IP Allow to set an IP different from the PXE server. Signed-off-by: Gerardo Exequiel Pozzi --- archiso/install/archiso_pxe_nbd | 9 --------- 1 file changed, 9 deletions(-) (limited to 'archiso/install/archiso_pxe_nbd') diff --git a/archiso/install/archiso_pxe_nbd b/archiso/install/archiso_pxe_nbd index c26648c..4227623 100644 --- a/archiso/install/archiso_pxe_nbd +++ b/archiso/install/archiso_pxe_nbd @@ -3,20 +3,11 @@ build () { MODULES="nbd" - MODULES="${MODULES} $(comm -2 -3 <(checked_modules "/drivers/net/" | sort) \ - <(find $MODULEDIR/kernel/drivers/net/{irda,phy,wimax,wireless} \ - -name '*.ko*' \ - -exec bash -c 'printf "%s\n" "${@%%.ko*}" | sed "s@.*/@@;s@-@_@" | sort' _ {} +) \ - | grep -v -e 'ppp_' -e 'plip' -e 'pppoe')" BINARIES="" FILES="" SCRIPT="archiso_pxe_nbd" - add_dir /tmp - add_binary "/usr/sbin/nbd-client" "/bin/nbd-client" - add_binary "/lib/initcpio/ipconfig" "/bin/ipconfig" - add_file "/lib/initcpio/archiso_pxe_nbd" "/archiso_pxe_nbd" } -- cgit v1.2.3-70-g09d2