diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-04-29 12:15:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-09 10:47:27 +0100 |
commit | 06602d56d1d311562144eafe459fcea36931a34c (patch) | |
tree | 42b2c0c8cbf06c0187ee97e215d4f6f365808f9e | |
parent | fe24a5d24cb2f6af9b5dd20089e36afe99e88ea1 (diff) | |
download | openembedded-core-06602d56d1d311562144eafe459fcea36931a34c.tar.gz openembedded-core-06602d56d1d311562144eafe459fcea36931a34c.tar.bz2 openembedded-core-06602d56d1d311562144eafe459fcea36931a34c.zip |
allarch.bbclass: Exclude package_do_shlibs from do_package signature
shlibs is largely useless for allarch, the particular usecase where it
fails is when DISTRO_FEATURE is changing due to libc being different e.g.
Variable package_do_shlibs value changed:
-DISTRO_FEATURES{ldconfig} = Set
+DISTRO_FEATURES{ldconfig} = Unset
musl -> glibc or other way around 'ldconfig' gets added or deleted to
DISTRO_FEATURE set, neither this distro feature nor the shlibs processing
during packaging is of interest to allarch packages which are largely
arch independent scripts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta/classes/allarch.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass index 51ba509cd0..1eebe0bf2e 100644 --- a/meta/classes/allarch.bbclass +++ b/meta/classes/allarch.bbclass @@ -45,6 +45,7 @@ python () { # These multilib values shouldn't change allarch packages so exclude them d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS") d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS") + d.appendVarFlag("do_package", "vardepsexclude", " package_do_shlibs") elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) } |