[oe-commits] Denis 'GNUtoo' Carikli : udev-compat: switch the maximum kenrel version from 2.6.26 to 2.6.27
git version control
git at git.openembedded.org
Tue Jul 5 16:07:56 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2b7ffeb0ffc0191b5cf213dcd0031ba9fa6506ba
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=2b7ffeb0ffc0191b5cf213dcd0031ba9fa6506ba
Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date: Mon Jul 4 17:00:15 2011 +0200
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 at no-log.org>
---
recipes/udev/udev.inc | 2 +-
recipes/udev/udev/udev-compat-wrapper-patch | 4 ++--
recipes/udev/udev_151.bb | 2 +-
recipes/udev/udev_154.bb | 2 +-
recipes/udev/udev_162.bb | 2 +-
recipes/udev/udev_165.bb | 2 +-
recipes/udev/udev_168.bb | 2 ++
recipes/udev/udev_git.bb | 2 +-
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
More information about the Openembedded-commits
mailing list