]> code.ossystems Code Review - openembedded-core.git/commit
sysstat: fix installed-vs-shipped QA Issue in systemd
authorhongxu <hongxu.jia@windriver.com>
Fri, 28 Aug 2020 01:46:10 +0000 (18:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Sep 2020 11:27:54 +0000 (12:27 +0100)
commit30b136a06b765c02789dfc3f27c18cb0a11554d0
tree1c17b76910e6bebcae8792decca137c95ac083ef
parent2ab7e239a9a74d7060b6d12cbd480572f7b9ab04
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>

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/sysstat/sysstat.inc