]> 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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 3 Sep 2020 03:05:48 +0000 (17:05 -1000)
commit89cb403fce24c853be49e4190d2020c6911b6a31
treed61eed467752cf3afef848f7f709d4813f4f226e
parent5d8b81fd0f1a25fab6de6e23223e46ec54a8cf66
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>
(cherry picked from commit 3bdd40ea09e50067f11c12290ab465a9ef229fc4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/sysstat/sysstat.inc