summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
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:55:33 -0800
commit62a2a41194dec4d158c65b218fa45761b4fe1dda (patch)
tree3da5235de5822df046c614f866c9fb29b462e0fb /meta/recipes-core
parenta8dc76ee69cfe1ffe846c07a510e3a562a5b1a7f (diff)
downloadpoky-62a2a41194dec4d158c65b218fa45761b4fe1dda.tar.gz
udev-164: don't hardcode path to pidof
* pidof lives in /bin, search it in $PATH. * Assume pidof's presence. (From OE-Core rev: 2f9ac0a10f7d1e3144622a5dff5aa6787fcee534) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-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 () {
28} 28}
29 29
30kill_udevd() { 30kill_udevd() {
31 if [ -x /sbin/pidof ]; then 31 pid=`pidof -x udevd`
32 pid=`/sbin/pidof -x udevd` 32 [ -n "$pid" ] && kill $pid
33 [ -n "$pid" ] && kill $pid
34 fi
35} 33}
36 34
37export ACTION=add 35export 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 @@
1include udev.inc 1include udev.inc
2 2
3PR = "r11" 3PR = "r12"
4 4
5SRC_URI += "file://udev-166-v4l1-1.patch" 5SRC_URI += "file://udev-166-v4l1-1.patch"
6 6