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:30 +0000 (12:18 +0000)
commitdcfb0f82c48e2d4cf2ca6a333b54ca08f77739f7
tree84492a0aca6fcc28a62bb41d4938fce7eb9d6a5f
parentc2ba8f2cf29157efabbfb1fc407d9a87fd49317c
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

(From OE-Core rev: 22e16f44b58ae6bbf719b9074d39aac065a402f1)

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