]> code.ossystems Code Review - openembedded-core.git/commit
systemd.bbclass: Dont use libdir and base_libdir for units
authorKhem Raj <raj.khem@gmail.com>
Thu, 14 Feb 2013 04:02:00 +0000 (04:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Feb 2013 12:18:26 +0000 (12:18 +0000)
commit22e16f44b58ae6bbf719b9074d39aac065a402f1
tree7b39f3c297a9fbb7ed01207557debc04b4ba492a
parent17f8e03ace51df6b94fdcb7e410acf79c7b046ce
systemd.bbclass: Dont use libdir and base_libdir for units

systemd always uses /lib and /usr/lib to store unit files
so using libdir and base_libdir is incorrect. It will work
where libdir is usr/lib and base_libdir is /lib but wont work
when say its /lib64

Add a check to make sure that SYSTEMD_PACKAGES are part of PACKAGES
too, otherwise error out

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/systemd.bbclass