Skip to contentSkip to conversation

systemd: Fix build with multilib

PATCH In review Khem Raj 2 participants 3 messages Sep 6, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 systemd: Fix build with multilib

rpm macros should be independent of libdir
Fixes errors seen when multilib is turned on
it shows up since then libdir != usr/lib

---
 meta/recipes-core/systemd/systemd_206.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_206.bb +1 -1
index 75bdc61..120ab08 100644
@@ -139,7 +139,7 @@ FILES_${PN}-kernel-install = "${bindir}/kernel-install \
                               ${sysconfdir}/kernel/ \
                               ${exec_prefix}/lib/kernel \
                              "
-FILES_${PN}-rpm-macros = "${libdir}/rpm \
+FILES_${PN}-rpm-macros = "${exec_prefix}/lib/rpm \
                          "
 
 RRECOMMENDS_${PN}-vconsole-setup = "kbd kbd-consolefonts"
Signature · 1 line
1.8.4
#1 lore raw
Quoted 3 lines · Khem Raj

rpm macros should be independent of libdir
Fixes errors seen when multilib is turned on
it shows up since then libdir != usr/lib

I can't see a reason to package the rpm macros at all, it's not like there'll be ever be used unless you are building RPMs from your own spec files inside a Yocto image.

Ross

author
#2 lore raw
Quoted 8 lines · Ross
Quoted 3 lines · Khem Raj

rpm macros should be independent of libdir
Fixes errors seen when multilib is turned on
it shows up since then libdir != usr/lib

I can't see a reason to package the rpm macros at all, it's not like there'll be ever be used unless you are building RPMs from your own spec files inside a Yocto image.

thats why its packaged into package of its own. Secondly Poky is one usecase of OE-Core there are valid usecases of folks using on device SDKs and package management using other distributions driven out of OE-Core

Quoted 2 lines

Ross