[OE-core] [PATCH 1/3] allarch.bbclass: allarch packages are having their hashes altered by baselib
Mark Hatle
mark.hatle at windriver.com
Wed Nov 25 20:44:27 UTC 2015
In a multilib configuration baselib can change, but allarch packages should not
changed from multilib to multilib. So we set the value of baselib to none
which should act as a market for any errant users of libdir.
nonarch_base_libdir / nonarch_libdir should be used instead.
Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
meta/classes/allarch.bbclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index 2fea7c0..6fa7a23 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -28,6 +28,11 @@ python () {
d.setVar("SDK_ARCH", "none")
d.setVar("SDK_CC_ARCH", "none")
+ # In a multilib configuration baselib can change, but we shouldn't be
+ # using it anyway. All packages should use nonarch_base_libdir or
+ # nonarch_libdir.
+ d.setVar("baselib", "none")
+
# Avoid this being unnecessarily different due to nuances of
# the target machine that aren't important for "all" arch
# packages.
--
1.9.3
More information about the Openembedded-core
mailing list