Patchwork [2/2] udev: enable multilib support

login
register
mail settings
Submitter Radu Moisan
Date April 3, 2013, 3:51 p.m.
Message ID <1365004276-20197-3-git-send-email-radu.moisan@intel.com>
Download mbox | patch
Permalink /patch/47351/
State New
Headers show

Comments

Radu Moisan - April 3, 2013, 3:51 p.m.
Use base_libdir in place of hardcoded /lib

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
---
 meta/recipes-core/udev/udev.inc |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/udev/udev.inc
index e358d2d..6fd0240 100644
--- a/meta/recipes-core/udev/udev.inc
+++ b/meta/recipes-core/udev/udev.inc
@@ -76,6 +76,7 @@  FILES_udev-utils = "${bindir}/udevadm"
 
 do_install_append () {
 	install -d ${D}${sysconfdir}/init.d
+	sed -i 's@/lib/udev@${base_libdir}/udev@g' ${WORKDIR}/init
 	install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/udev
 	install -m 0755 ${WORKDIR}/udev-cache ${D}${sysconfdir}/init.d/udev-cache