Received: from mail-ey0-f175.google.com ([209.85.215.175]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1PJwSG-0000en-1n for openembedded-devel@lists.openembedded.org; Sun, 21 Nov 2010 00:02:51 +0100 Received: by eya28 with SMTP id 28so3299512eya.6 for ; Sat, 20 Nov 2010 15:01:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=/fjO3oxLAa/PoNem9m8MP5LyptV2X3/lTctV9ocIuG0=; b=awFJFmVBnnQP5Sc9+T67V3jRPA9k0UxehLh5KQL13iK7Jfg8z4Ee8HifY0fFAMeuFZ qrb9X+nokBUfaKZPC7f78vmUuq4erDfyR5avl8rqxK+APif28Ff143ayZxdxmExjg4/j dKixxD14cHekGHKDffgW4rMwLJRsR998FSO5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=HOV+pC8FcFC5jdah+wRJuQDhfQjfLX97Rj2Mb3tKVkdQtqPDy97nIUWX53qFA8QFlH Bu4vCvOPNj2N+idF4e0AEzO8sjvnfL2Nlaihqk9iEetukrOFsiSmoke4xUqZXikNnFu5 H69XvnlgiVAJjjCuwTpq6/9df0WnwgNEiJDdw= Received: by 10.213.9.79 with SMTP id k15mr6207358ebk.27.1290294093975; Sat, 20 Nov 2010 15:01:33 -0800 (PST) Received: from localhost.localdomain (d54C04D68.access.telenet.be [84.192.77.104]) by mx.google.com with ESMTPS id v56sm2991640eeh.20.2010.11.20.15.01.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 20 Nov 2010 15:01:33 -0800 (PST) From: Cazze To: openembedded-devel@lists.openembedded.org Date: Sun, 21 Nov 2010 00:01:02 +0100 Message-Id: <1290294062-28078-1-git-send-email-cazzeml@gmail.com> X-Mailer: git-send-email 1.7.2.2 X-SA-Exim-Connect-IP: 209.85.215.175 X-SA-Exim-Mail-From: cazzeml@gmail.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: [PATCH] Added udev-compat wrapper for h2200 Signed-off-by: Cazze X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2010 23:02:52 -0000 --- conf/machine/h2200.conf | 2 ++ recipes/udev/udev.inc | 6 +++++- recipes/udev/udev_151.bb | 6 +++++- recipes/udev/udev_154.bb | 6 +++++- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/conf/machine/h2200.conf b/conf/machine/h2200.conf index abc1772..4bcdf7c 100644 --- a/conf/machine/h2200.conf +++ b/conf/machine/h2200.conf @@ -25,6 +25,8 @@ PCMCIA_MANAGER = "pcmciautils" PREFERRED_PROVIDER_xserver = "xserver-kdrive" PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" +# udev-141 is the latest version that works with linux-2.6.21 +PREFERRED_PROVIDER_udev-compat_h2200 = "udev-compat141" MACHINE_ESSENTIAL_EXTRA_RDEPENDS = " h2200-bootloader " MACHINE_EXTRA_RDEPENDS = " udev-hostap-cs-vcc-workaround " MACHINE_EXTRA_RRECOMMENDS = "\ diff --git a/recipes/udev/udev.inc b/recipes/udev/udev.inc index 0c8a662..5634635 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 = "r30" +INC_PR = "r31" inherit update-rc.d autotools pkgconfig @@ -60,6 +60,10 @@ RDEPENDS_udev_poodle += "udev-compat" do_unpack_append_poodle() { bb.build.exec_func('do_apply_compat_wrapper', d) } +RDEPENDS_udev_h2200 += "udev-compat" +do_unpack_append_h2200() { + bb.build.exec_func('do_apply_compat_wrapper', d) +} # Modify init script on platforms that need to boot old kernels: do_apply_compat_wrapper() { diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb index ac14b56..7a6c31d 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 = "r21" +PR = "r22" # Untested DEFAULT_PREFERENCE = "-1" @@ -99,6 +99,10 @@ RDEPENDS_udev_append_poodle = " udev-compat" do_unpack_append_poodle() { bb.build.exec_func('do_apply_compat_wrapper', d) } +RDEPENDS_udev_append_h2200 = " udev-compat" +do_unpack_append_h2200() { + bb.build.exec_func('do_apply_compat_wrapper', d) +} # Modify init script on platforms that need to boot old kernels: do_apply_compat_wrapper() { diff --git a/recipes/udev/udev_154.bb b/recipes/udev/udev_154.bb index d7740a6..c9348f8 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 = "r6" +PR = "r7" # Untested DEFAULT_PREFERENCE = "-1" @@ -93,6 +93,10 @@ RDEPENDS_udev_append_poodle = " udev-compat" do_unpack_append_poodle() { bb.build.exec_func('do_apply_compat_wrapper', d) } +RDEPENDS_udev_append_h2200 = " udev-compat" +do_unpack_append_h2200() { + bb.build.exec_func('do_apply_compat_wrapper', d) +} # Modify init script on platforms that need to boot old kernels: do_apply_compat_wrapper() { -- 1.5.6.4