diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2016-12-12 22:36:48 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-04-21 12:51:24 +0300 |
commit | 3c1566689cedc7eaa7ca2cceb4aaa605adfd473a (patch) | |
tree | c2a7eb7b93c74c0b43ebd03a6ce92c5f636f8dd3 /import-layers | |
parent | 22e4c658983be1390a2cdbb5be3c706368e7a957 (diff) | |
download | openbmc-3c1566689cedc7eaa7ca2cceb4aaa605adfd473a.tar.xz |
systemd: disable 'libdir' QA check
When building systemd with multilib support enabled in your build you
will get the following QA warnings (if the 'libdir' QA check is
enabled.)
WARNING: systemd-1_232-r0 do_package_qa: QA Issue: systemd-dbg: found \
library in wrong location: /lib/systemd/.debug/libsystemd-shared-232.so
systemd: found library in wrong location: /lib/systemd/libsystemd-shared.so
systemd: found library in wrong location: /lib/systemd/libsystemd-shared-232.so [libdir]
Since systemd 231 upstream has included an 'internal' library which
they explicitly place in the application specific /lib/systemd
directory. You can see some of the discussion about this placement
here https://github.com/systemd/systemd/issues/3810
This placement is being picked up by the QA checker since when
multilibs are enabled it expects all libraries to be in lib32 or
lib64. Since the systemd and systemd-dbg packages don't contain any
other libraries we can respect the upstream placement and skip this QA
check for these packages. Unfortunately the QA mechanism doesn't allow
us to specify individual files so this approach is the best we can do.
(From OE-Core rev: 422077ff91c4147f08108fe8510b238730f2367c)
Change-Id: Iaf4da0fde3c7f46f019987473e17ac645cbc6baa
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saqib Khan <khansa@us.ibm.com>
Diffstat (limited to 'import-layers')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-core/systemd/systemd_232.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-core/systemd/systemd_232.bb b/import-layers/yocto-poky/meta/recipes-core/systemd/systemd_232.bb index 54c8a5bbf..24173bd25 100644 --- a/import-layers/yocto-poky/meta/recipes-core/systemd/systemd_232.bb +++ b/import-layers/yocto-poky/meta/recipes-core/systemd/systemd_232.bb @@ -485,7 +485,8 @@ RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-genera os-release \ " -INSANE_SKIP_${PN} += "dev-so" +INSANE_SKIP_${PN} += "dev-so libdir" +INSANE_SKIP_${PN}-dbg += "libdir" INSANE_SKIP_${PN}-doc += " libdir" PACKAGES =+ "udev udev-hwdb" |