kmod: Remove bashism from recipe

Submitted by Richard Purdie on May 30, 2012, 11:54 a.m.


Message ID 1338378859.20169.126.camel@ted
State Accepted
Commit 59db7976fa870084af19d880e594b0e94678cf19
Headers show

Commit Message

Richard Purdie May 30, 2012, 11:54 a.m.
Without this, the installed files get mangled when a dash shell is used.

Signed-off-by: Richard Purdie <>

Patch hide | download patch | download mbox

diff --git a/meta/recipes-kernel/kmod/ b/meta/recipes-kernel/kmod/
index c379a8d..ad6283e 100644
--- a/meta/recipes-kernel/kmod/
+++ b/meta/recipes-kernel/kmod/
@@ -23,7 +23,7 @@  do_install_append () {
         install -dm755 ${D}${base_sbindir}
         # add symlinks to kmod
         ln -s ..${base_bindir}/kmod ${D}${base_bindir}/lsmod
-        for tool in {ins,rm,dep}mod mod{info,probe}; do
+        for tool in insmod rmmod depmod modinfo modprobe; do
                 ln -s ..${base_bindir}/kmod ${D}${base_sbindir}/${tool}
         # configuration directories