diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2016-12-12 14:36:48 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:23 +0000 |
commit | 76ba70fcaa5482a179e3fc23dbbcc0d34e1aa878 (patch) | |
tree | d5e7dda43ccefab92d087c00f6b267db7c6519d4 /meta/recipes-core | |
parent | 1ffb967de676ce68c8fc97d20611ea3eb6f6786b (diff) | |
download | poky-76ba70fcaa5482a179e3fc23dbbcc0d34e1aa878.tar.gz |
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)
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd_232.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb index a978becdd8..3391c0118b 100644 --- a/meta/recipes-core/systemd/systemd_232.bb +++ b/meta/recipes-core/systemd/systemd_232.bb | |||
@@ -486,7 +486,8 @@ RRECOMMENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-genera | |||
486 | os-release \ | 486 | os-release \ |
487 | " | 487 | " |
488 | 488 | ||
489 | INSANE_SKIP_${PN} += "dev-so" | 489 | INSANE_SKIP_${PN} += "dev-so libdir" |
490 | INSANE_SKIP_${PN}-dbg += "libdir" | ||
490 | INSANE_SKIP_${PN}-doc += " libdir" | 491 | INSANE_SKIP_${PN}-doc += " libdir" |
491 | 492 | ||
492 | PACKAGES =+ "udev udev-hwdb" | 493 | PACKAGES =+ "udev udev-hwdb" |