diff options
author | hongxu <hongxu.jia@windriver.com> | 2020-08-27 18:46:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-10 19:07:40 +0100 |
commit | 554f1c8124cb43d5b40e7b7a38ab8565876e09ab (patch) | |
tree | 2acfd4d0f22e16c6218332947c96f8e9db13b712 /meta/recipes-extended/sysstat/sysstat.inc | |
parent | d78ac042337c47c335c79e056f20e771277313c6 (diff) | |
download | poky-554f1c8124cb43d5b40e7b7a38ab8565876e09ab.tar.gz |
sysstat: fix installed-vs-shipped QA Issue in systemd
While enabling systemd, there is QA issue:
...
|ERROR: sysstat-12.4.0-r0 do_package: QA Issue: sysstat: Files/directories
were installed but not shipped in any package:
| /lib/systemd/system-sleep
| /lib/systemd/system-sleep/sysstat.sleep
...
https://www.freedesktop.org/software/systemd/man/systemd-sleep.html
says the files should be dropped into /usr/lib/systemd/system-sleep
(that would be /lib/systemd/system-sleep in our configuration). By
moving the files to another directory they'll be packaged but not
loaded by systemd.
Suggested-by Ross Burton <ross@burtonini.com>
(From OE-Core rev: 89cb403fce24c853be49e4190d2020c6911b6a31)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3bdd40ea09e50067f11c12290ab465a9ef229fc4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat.inc')
-rw-r--r-- | meta/recipes-extended/sysstat/sysstat.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc index 8fd87b943b..e5e134c038 100644 --- a/meta/recipes-extended/sysstat/sysstat.inc +++ b/meta/recipes-extended/sysstat/sysstat.inc | |||
@@ -62,6 +62,6 @@ pkg_postinst_${PN} () { | |||
62 | fi | 62 | fi |
63 | } | 63 | } |
64 | 64 | ||
65 | FILES_${PN} += "${systemd_system_unitdir}" | 65 | FILES_${PN} += "${systemd_system_unitdir} ${nonarch_base_libdir}/systemd" |
66 | 66 | ||
67 | TARGET_CC_ARCH += "${LDFLAGS}" | 67 | TARGET_CC_ARCH += "${LDFLAGS}" |