summaryrefslogtreecommitdiff
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRadu Moisan <radu.moisan@intel.com>2013-04-08 19:29:15 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-09 13:31:30 +0100
commita866e1e298dab5c52e7b8ba9ab68104604511713 (patch)
treeaf066c003926a10c09a9622adcf49f53495ebe33 /meta/recipes-core
parent472dc52974f12c255d9e98e63e82736c7ca2c223 (diff)
downloadopenembedded-core-a866e1e298dab5c52e7b8ba9ab68104604511713.tar.gz
openembedded-core-a866e1e298dab5c52e7b8ba9ab68104604511713.tar.bz2
openembedded-core-a866e1e298dab5c52e7b8ba9ab68104604511713.zip
udev: Move udevd back to /sbin
Along with v182 upgrade udevd was moved to ${base_libdir} making scripts like init-live.sh to fail in finding udevd. We have some problems here since the placing binaries into either libdir breaks the way our multilib handling works. That code and its associated sanity tests assume that libdir contains binaries of a particular architecture and that these are not allowed to overlap. This is in contrast to the bindirs where conflicts are expected and handled appropriately. So whilst upstream may desire this directory layout, it won't work for OE's usage of it and we need to configure udev differently. The scripts already have fallback code to handle udev in the two locations so there is no issue is going back to our previous layout. [Yocto #4046] Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/udev/udev.inc3
-rw-r--r--meta/recipes-core/udev/udev_182.bb2
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index e358d2d200..c4d2ce4c7d 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -40,7 +40,7 @@ EXTRA_OECONF = "--disable-introspection \
ac_cv_file__usr_share_hwdata_pci_ids=no \
ac_cv_file__usr_share_misc_pci_ids=yes \
--sbindir=${base_sbindir} \
- --libexecdir=${base_libdir} \
+ --libexecdir=${base_sbindir} \
--with-rootlibdir=${base_libdir} \
--with-rootprefix= \
"
@@ -61,6 +61,7 @@ RRECOMMENDS_${PN} += "udev-utils"
FILES_${PN}-dbg += "${libexecdir}/.debug"
FILES_${PN}-dbg += "${base_libdir}/udev/.debug/"
FILES_${PN}-dbg += "${base_libdir}/udev/.debug/*"
+FILES_${PN}-dbg += "${base_sbindir}/udev/.debug/*"
FILES_${PN}-dev = "${datadir}/pkgconfig/udev.pc"
FILES_libudev = "${base_libdir}/libudev.so.*"
FILES_libudev-dbg = "${base_libdir}/.debug/libudev.so.*"
diff --git a/meta/recipes-core/udev/udev_182.bb b/meta/recipes-core/udev/udev_182.bb
index 42b4d08752..d66292ed7a 100644
--- a/meta/recipes-core/udev/udev_182.bb
+++ b/meta/recipes-core/udev/udev_182.bb
@@ -1,6 +1,6 @@
include udev.inc
-PR = "r6"
+PR = "r7"
# module-init-tools from kmod_git will provide libkmod runtime
DEPENDS += "module-init-tools"