multilib.bbclass: set rpm file color for 32-bit multilib image
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 2/2 multilib.bbclass: set rpm file color for 32-bit multilib image
From: Kai Kang <[email protected]>
The default rpm file color is 2 that Elf64 is preferred according to OE-Core commit 56fa74497393a10f751d01c600c1936761e00294. For 32-bit multilib image such as lib32-core-image-sato, Elf32 should be preferred. Set it in multilib.bbclass.
Signed-off-by Kai Kang <[email protected]>
--- meta/classes/multilib.bbclass | 4 ++++ 1 file changed, 4 insertions(+)
meta/classes/multilib.bbclass +4 -0
@@ -92,6 +92,10 @@ multilib_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise" python __anonymous () { if bb.data.inherits_class('image', d): + # set rpm preferred file color for 32-bit multilib image + if d.getVar("SITEINFO_BITS") == "32": + d.setVar("RPM_PREFER_ELF_ARCH", "1") + variant = d.getVar("BBEXTENDVARIANT") import oe.classextend
Signature · 1 line
2.17.1