[oe-commits] Koen Kooi : udev 151: provide compatibility symlink to /lib/ udev where some recipes install their udev stuff into

git version control git at git.openembedded.org
Mon Mar 15 19:26:53 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: d3f24755aff91e79db65c182e49c3c7184c3cefa
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d3f24755aff91e79db65c182e49c3c7184c3cefa

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Mar 15 19:42:56 2010 +0100

udev 151: provide compatibility symlink to /lib/udev where some recipes install their udev stuff into

---

 recipes/udev/udev_151.bb |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb
index 1aca146..123688c 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 = "GPL"
 
-PR = "r4"
+PR = "r5"
 
 # Untested
 DEFAULT_PREFERENCE = "-1"
@@ -69,7 +69,7 @@ FILES_${PN}-dbg += "${usrbindir}/.debug ${usrsbindir}/.debug"
 
 # udev installs binaries under $(udev_prefix)/lib/udev, even if ${libdir}
 # is ${prefix}/lib64
-FILES_${PN} += "/lib/udev/* ${libdir}/ConsoleKit"
+FILES_${PN} += "/lib/udev* ${libdir}/ConsoleKit"
 FILES_${PN}-dbg += "/lib/udev/.debug"
 
 do_install () {
@@ -104,6 +104,9 @@ do_install () {
 
 	install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh
 	install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts
+
+	mkdir -p ${D}${base_libdir}
+	ln -sf ${libdir}/udev ${D}${base_libdir}/
 }
 
 do_install_append_h2200() {





More information about the Openembedded-commits mailing list