[oe-commits] Richard Purdie : kmod: Remove bashism from recipe

git at git.openembedded.org git at git.openembedded.org
Wed May 30 16:33:34 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 59db7976fa870084af19d880e594b0e94678cf19
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=59db7976fa870084af19d880e594b0e94678cf19

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed May 30 12:54:19 2012 +0100

kmod: Remove bashism from recipe

Without this, the installed files get mangled when a dash shell is used.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-kernel/kmod/kmod_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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





More information about the Openembedded-commits mailing list