]> code.ossystems Code Review - openembedded-core.git/commit
systemd: Remove base_libdir if installed only for systemd_unitdir
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>
Wed, 4 Sep 2013 11:05:03 +0000 (11:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Sep 2013 22:14:36 +0000 (23:14 +0100)
commitc700cb21c189e23a78f0efaaf763259c8cfefa4d
tree0b747d75f40df24bcb02b0c14e12630e18498dd9
parent644394c074c359505fcd750356fb4db58b939729
systemd: Remove base_libdir if installed only for systemd_unitdir

If a recipe installs systemd_unitdir and it is a non-systemd build than
systemd.bbclass deletes systemd_unitdir (/lib/systemd/) but not
base_libdir (/lib). In this case if base_libdir is empty than following
QA Issue is reported.

ERROR: QA Issue: openssh: Files/directories were installed but not shipped
  /lib

If base_libdir was installed due to systemd_unitdir installation than for
non-systemd build it should also be removed.

Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/systemd.bbclass