summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-03-15 19:42:56 +0100
committerKoen Kooi <koen@openembedded.org>2010-03-15 19:42:56 +0100
commitd3f24755aff91e79db65c182e49c3c7184c3cefa (patch)
treea4c0c8ab55d137ac1ebcddde3b741dd2849b1929 /recipes
parented5210189a29729ee7fd31e7e522b9aeb6036bbb (diff)
udev 151: provide compatibility symlink to /lib/udev where some recipes install their udev stuff into
Diffstat (limited to 'recipes')
-rw-r--r--recipes/udev/udev_151.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb
index 1aca146f87..123688cbf3 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() {