Skip to contentSkip to conversation

kmod: Remove bashism from recipe

PATCH New Richard Purdie 1 participant 1 message May 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kmod: Remove bashism from recipe

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

---

meta/recipes-kernel/kmod/kmod_git.bb +1 -1
index c379a8d..ad6283e 100644
@@ -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