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:51 +0100 |
commit | f21072d2e6de7ea6ab2eadbe16efa0fdb2b302d6 (patch) | |
tree | 85da3d9ddf02127e7c7be2f256331d6911bd35eb | |
parent | c083cd8308719cf974449e39eeb4bb5321d3df37 (diff) | |
download | poky-f21072d2e6de7ea6ab2eadbe16efa0fdb2b302d6.tar.gz |
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
(From OE-Core rev: 06602d56d1d311562144eafe459fcea36931a34c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 () { | |||
45 | # These multilib values shouldn't change allarch packages so exclude them | 45 | # These multilib values shouldn't change allarch packages so exclude them |
46 | d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS") | 46 | d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS") |
47 | d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS") | 47 | d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS") |
48 | d.appendVarFlag("do_package", "vardepsexclude", " package_do_shlibs") | ||
48 | elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): | 49 | elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d): |
49 | bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) | 50 | bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE")) |
50 | } | 51 | } |