mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
a8dc76ee69
commit
62a2a41194
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
include udev.inc
|
||||
|
||||
PR = "r11"
|
||||
PR = "r12"
|
||||
|
||||
SRC_URI += "file://udev-166-v4l1-1.patch"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user