From 6369815d5721e2908174d9ddc76bd9ffe32570b4 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sat, 25 Aug 2012 15:14:51 -0300 Subject: [archiso] Rework Makefile / Reorder files Signed-off-by: Gerardo Exequiel Pozzi --- install/archiso_pxe_common | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 install/archiso_pxe_common (limited to 'install/archiso_pxe_common') diff --git a/install/archiso_pxe_common b/install/archiso_pxe_common new file mode 100644 index 0000000..eec9a7e --- /dev/null +++ b/install/archiso_pxe_common @@ -0,0 +1,26 @@ +#!/bin/bash + +build() { + add_checked_modules -f "(irda|phy|wimax|wireless|ppp_|plip|pppoe)" "/drivers/net/" + + add_runscript + + add_binary /usr/lib/initcpio/ipconfig /bin/ipconfig + + # Add hosts support files+dns + add_symlink /usr/lib/libnss_files.so.2 $(readlink /usr/lib/libnss_files.so.2) + add_binary $(readlink -f /usr/lib/libnss_files.so.2) + add_symlink /usr/lib/libnss_dns.so.2 $(readlink /usr/lib/libnss_dns.so.2) + add_binary $(readlink -f /usr/lib/libnss_dns.so.2) + + add_dir /etc + echo "hosts: files dns" > $BUILDROOT/etc/nsswitch.conf +} + +help() { +cat<