aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2010-08-29 23:40:26 +0000
committerutx@penguin.cz <utx@penguin.cz>2010-08-29 23:40:26 +0000
commit0e59321a3f00cdcf6e0f92e83b9ccce37a53d153 (patch)
tree9ff4d4be0200596995ca22886c82b9e80613e707 /recipes
parentbf8ba265bbbfd2e0bc5e2330f2f96b5049ff9c3d (diff)
downloadopenembedded-0e59321a3f00cdcf6e0f92e83b9ccce37a53d153.tar.gz
udev: udev-compat-wrapper-patch: Use KERNELMICROVER evaluation that does not fail on rc and four-part versions.
Diffstat (limited to 'recipes')
-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"