Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install/archiso_pxe_common
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
commited7b0f0a2fbf61c0175bab17818733741e27c043 (patch)
tree016e883725b71d73e3c626501bd8f9771a695702 /archiso/install/archiso_pxe_common
parentcaf3f7f2dc23e8e722f53268d873e2a8a40a67d1 (diff)
[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_common')
-rw-r--r--archiso/install/archiso_pxe_common8
1 files changed, 2 insertions, 6 deletions
diff --git a/archiso/install/archiso_pxe_common b/archiso/install/archiso_pxe_common
index 2e3eec5..77d0bb6 100644
--- a/archiso/install/archiso_pxe_common
+++ b/archiso/install/archiso_pxe_common
@@ -1,13 +1,9 @@
#!/bin/bash
build() {
- 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')"
- SCRIPT="archiso_pxe_common"
+ add_checked_modules -f "(irda|phy|wimax|wireless|ppp_|plip|pppoe)" "/drivers/net/"
+ add_runscript
add_binary /usr/lib/initcpio/ipconfig /bin/ipconfig