aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-07-04 17:00:15 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-07-05 17:49:46 +0200
commit2b7ffeb0ffc0191b5cf213dcd0031ba9fa6506ba (patch)
treecb088eaf81a3a65f71793425bf9865afcc140b7e
parentd5840f76a5c4d145b1a81de48fdd7cb0dc9f2ee4 (diff)
downloadopenembedded-2b7ffeb0ffc0191b5cf213dcd0031ba9fa6506ba.zip
openembedded-2b7ffeb0ffc0191b5cf213dcd0031ba9fa6506ba.tar.gz
openembedded-2b7ffeb0ffc0191b5cf213dcd0031ba9fa6506ba.tar.bz2
udev-compat: switch the maximum kenrel version from 2.6.26 to 2.6.27
Without that patch the bug machine,which has a 2.6.27 hangs at boot here: Checking for built-in Bluetooth: no Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
-rw-r--r--recipes/udev/udev.inc2
-rw-r--r--recipes/udev/udev/udev-compat-wrapper-patch4
-rw-r--r--recipes/udev/udev_151.bb2
-rw-r--r--recipes/udev/udev_154.bb2
-rw-r--r--recipes/udev/udev_162.bb2
-rw-r--r--recipes/udev/udev_165.bb2
-rw-r--r--recipes/udev/udev_168.bb2
-rw-r--r--recipes/udev/udev_git.bb2
8 files changed, 10 insertions, 8 deletions
diff --git a/recipes/udev/udev.inc b/recipes/udev/udev.inc
index 6c25d24..688f7a5 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 = "r34"
+INC_PR = "r35"
inherit update-rc.d autotools pkgconfig
diff --git a/recipes/udev/udev/udev-compat-wrapper-patch b/recipes/udev/udev/udev-compat-wrapper-patch
index c90d05a..ed18fea 100644
--- a/recipes/udev/udev/udev-compat-wrapper-patch
+++ b/recipes/udev/udev/udev-compat-wrapper-patch
@@ -1,4 +1,4 @@
-This patch should be applied on platforms which support kernels < 2.6.27 and need udev-compat package.
+This patch should be applied on platforms which support kernels < 2.6.28 and need udev-compat package.
It should be applied after:
sed -i "s:/sbin/udevd:\$UDEVD:g;s:/sbin/udevadm:\$UDEVADM:g" init
@@ -17,7 +17,7 @@ WORKDIR and cannot be selectively applied on another source file.
+# 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 | sed 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*$/\1/')"
-+ if [ $KERNELMICROVER -lt 27 ] ; then
++ if [ $KERNELMICROVER -lt 28 ] ; then
+ UDEVD="/sbin/udevd-compat"
+ UDEVADM="/sbin/udevadm-compat"
+ fi
diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb
index e7f78f2..b977b7d 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 = "r25"
+PR = "r26"
# Untested
DEFAULT_PREFERENCE = "-1"
diff --git a/recipes/udev/udev_154.bb b/recipes/udev/udev_154.bb
index 8b416e2..fcb6471 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 = "r8"
+PR = "r9"
# Untested
DEFAULT_PREFERENCE = "-1"
diff --git a/recipes/udev/udev_162.bb b/recipes/udev/udev_162.bb
index c48b8ee..c0b7529 100644
--- a/recipes/udev/udev_162.bb
+++ b/recipes/udev/udev_162.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 = "r13"
+PR = "r14"
# Untested
#DEFAULT_PREFERENCE = "-1"
diff --git a/recipes/udev/udev_165.bb b/recipes/udev/udev_165.bb
index f909256..423e101 100644
--- a/recipes/udev/udev_165.bb
+++ b/recipes/udev/udev_165.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 = "r6"
+PR = "r7"
# Untested
DEFAULT_PREFERENCE = "-1"
diff --git a/recipes/udev/udev_168.bb b/recipes/udev/udev_168.bb
index f4fa63a..decd9db 100644
--- a/recipes/udev/udev_168.bb
+++ b/recipes/udev/udev_168.bb
@@ -10,6 +10,8 @@ LICENSE = "GPLv2+"
# Untested
DEFAULT_PREFERENCE = "-1"
+PR = "r1"
+
# Needed for udev-extras
DEPENDS = "gperf-native usbutils acl glib-2.0"
diff --git a/recipes/udev/udev_git.bb b/recipes/udev/udev_git.bb
index 04d21a2..0ca849f 100644
--- a/recipes/udev/udev_git.bb
+++ b/recipes/udev/udev_git.bb
@@ -15,7 +15,7 @@ DEPENDS = "gperf-native usbutils acl glib-2.0"
SRCREV = "3e227830ad6494700e18ae03297e8fb833ff26bf"
PV = "171"
-PR = "r0"
+PR = "r1"
PR_append = "+gitr${SRCPV}"
# version specific SRC_URI