Patchwork kmod: Remove bashism from recipe

login
register
mail settings
Submitter Richard Purdie
Date May 30, 2012, 11:54 a.m.
Message ID <1338378859.20169.126.camel@ted>
Download mbox | patch
Permalink /patch/28927/
State Accepted
Commit 59db7976fa870084af19d880e594b0e94678cf19
Headers show

Comments

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 <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb
index c379a8d..ad6283e 100644
--- a/meta/recipes-kernel/kmod/kmod_git.bb
+++ b/meta/recipes-kernel/kmod/kmod_git.bb
@@ -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}
         done
         # configuration directories