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
commit36e8d6322f02571f86b3beba71a83479bc0467c1 (patch)
treef9355a86b6d3c5a147b11094906e652453194909 /archiso/install/archiso_pxe_common
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_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