aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes/udev/files/udev-compat-wrapper-patch2
-rw-r--r--recipes/udev/udev.inc2
-rw-r--r--recipes/udev/udev_151.bb2
-rw-r--r--recipes/udev/udev_154.bb2
4 files changed, 4 insertions, 4 deletions
diff --git a/recipes/udev/files/udev-compat-wrapper-patch b/recipes/udev/files/udev-compat-wrapper-patch
index a3e312d6a6..c90d05aefa 100644
--- a/recipes/udev/files/udev-compat-wrapper-patch
+++ b/recipes/udev/files/udev-compat-wrapper-patch
@@ -16,7 +16,7 @@ WORKDIR and cannot be selectively applied on another source file.
+UDEVADM="/sbin/udevadm"
+# If we are running an old kernel and have a static udev present use that instead
+if [ -e /sbin/udevd-compat ] ; then
-+ KERNELMICROVER="$(uname -r | awk -F. '{print $3}')"
++ KERNELMICROVER="$(uname -r | sed 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*$/\1/')"
+ if [ $KERNELMICROVER -lt 27 ] ; then
+ UDEVD="/sbin/udevd-compat"
+ UDEVADM="/sbin/udevadm-compat"
diff --git a/recipes/udev/udev.inc b/recipes/udev/udev.inc
index e6aad4b96d..75020945ba 100644
--- a/recipes/udev/udev.inc
+++ b/recipes/udev/udev.inc
@@ -14,7 +14,7 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://init \
file://udev-compat-wrapper-patch"
-INC_PR = "r28"
+INC_PR = "r29"
inherit update-rc.d autotools pkgconfig
diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb
index 038fec7055..8423ff4f2b 100644
--- a/recipes/udev/udev_151.bb
+++ b/recipes/udev/udev_151.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
LICENSE = "GPLv2+"
-PR = "r15"
+PR = "r16"
# Untested
DEFAULT_PREFERENCE = "-1"
diff --git a/recipes/udev/udev_154.bb b/recipes/udev/udev_154.bb
index 6698566583..e4dc48b332 100644
--- a/recipes/udev/udev_154.bb
+++ b/recipes/udev/udev_154.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
LICENSE = "GPLv2+"
-PR = "r2"
+PR = "r3"
# Untested
DEFAULT_PREFERENCE = "-1"