Skip to contentSkip to conversation

Udev multilib fixes

PATCH Superseded Radu Moisan 2 participants 4 messages Apr 3, 2013

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Udev multilib fixes

Changed /lib with ${base_libdir}
Fixes Bugz[4096]

Radu Moisan (2):
initramfs-live-boot: enable multilib support
udev: enable multilib support

 .../initrdscripts/initramfs-live-boot_1.0.bb       |    1 +
 meta/recipes-core/udev/udev.inc                    |    1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/2 initramfs-live-boot: enable multilib support

Use base_libdir instead harcoded /lib

---
 .../initrdscripts/initramfs-live-boot_1.0.bb       |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb +1 -0
index 1e674a4..0c354ae 100644
@@ -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
 }
 
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/2 udev: enable multilib support

In reply to Radu Moisan

Use base_libdir in place of hardcoded /lib

---
 meta/recipes-core/udev/udev.inc |    1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/udev/udev.inc +1 -0
index e358d2d..6fd0240 100644
@@ -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
 
Signature · 1 line
1.7.9.5
#3 lore raw
In reply to Radu Moisan
Quoted 3 lines · Radu Moisan

Changed /lib with ${base_libdir}
Fixes Bugz[4096]

Please include the bug information in the actual commit messages not in the covoer letter. The correct format is:

[YOCTO #4096]

Thanks
Sau!

Quoted 8 lines

Radu Moisan (2):
initramfs-live-boot: enable multilib support
udev: enable multilib support

  .../initrdscripts/initramfs-live-boot_1.0.bb       |    1 +
  meta/recipes-core/udev/udev.inc                    |    1 +
  2 files changed, 2 insertions(+)