Patchwork [1/2] initramfs-live-boot: enable multilib support

login
register
mail settings
Submitter Radu Moisan
Date April 3, 2013, 4:25 p.m.
Message ID <1365006329-20964-2-git-send-email-radu.moisan@intel.com>
Download mbox | patch
Permalink /patch/47353/
State New
Headers show

Comments

Radu Moisan - April 3, 2013, 4:25 p.m.
Use base_libdir instead harcoded /lib
Fixes [YOCTO #4096]

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
---
 .../initrdscripts/initramfs-live-boot_1.0.bb       |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
index 1e674a4..0c354ae 100644
--- a/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb
@@ -15,6 +15,7 @@  do_compile() {
 }
  
 do_install() {
+        sed -i 's@/lib/udev@${base_libdir}/udev@g' ${WORKDIR}/init-live.sh
         install -m 0755 ${WORKDIR}/init-live.sh ${D}/init
 }