summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-03-08 13:08:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 11:41:26 -0800
commit2f9ac0a10f7d1e3144622a5dff5aa6787fcee534 (patch)
tree64d016dd667649fdc1d2539bb5b69eaad392da56 /meta
parentd7b8c247227f3cc82f92292407f548927e9fde78 (diff)
downloadopenembedded-core-2f9ac0a10f7d1e3144622a5dff5aa6787fcee534.tar.gz
openembedded-core-2f9ac0a10f7d1e3144622a5dff5aa6787fcee534.tar.bz2
openembedded-core-2f9ac0a10f7d1e3144622a5dff5aa6787fcee534.zip
udev-164: don't hardcode path to pidof
* pidof lives in /bin, search it in $PATH. * Assume pidof's presence. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/udev/udev/init6
-rw-r--r--meta/recipes-core/udev/udev_164.bb2
2 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init
index 78b5b1c4b6..f9e90146e1 100644
--- a/meta/recipes-core/udev/udev/init
+++ b/meta/recipes-core/udev/udev/init
@@ -28,10 +28,8 @@ readfile () {
}
kill_udevd() {
- if [ -x /sbin/pidof ]; then
- pid=`/sbin/pidof -x udevd`
- [ -n "$pid" ] && kill $pid
- fi
+ pid=`pidof -x udevd`
+ [ -n "$pid" ] && kill $pid
}
export ACTION=add
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb
index b993a13fb5..d66104413b 100644
--- a/meta/recipes-core/udev/udev_164.bb
+++ b/meta/recipes-core/udev/udev_164.bb
@@ -1,6 +1,6 @@
include udev.inc
-PR = "r11"
+PR = "r12"
SRC_URI += "file://udev-166-v4l1-1.patch"