systemd.bbclass: Fixes for living along with multilib
authorKhem Raj <raj.khem@gmail.com>
Thu, 13 Dec 2012 18:03:03 +0000 (10:03 -0800)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:27:11 +0000 (08:27 -0800)
commitc6a5fce5a23b06afc96632d1d6e289e6e2904c82
tree9a2a36212ac979760c62e500fad596e04a9a3067
parent512095c067bae59e59d95e2dc4de3c0778205e03
systemd.bbclass: Fixes for living along with multilib

This essentially fixes two problems
1. We were ignoring systemd for multilibs now we dont
2. We were replacing '-systemd' string in PN which is
a problem whenre -systemd appears more than once
e.g. lib32-systemd-units-system it was removing both
essentially we should only chop the end of PN if it
ends with '-systemd'

(From meta-openembedded rev: af1e1e3f55050ab25ce3b6f37e3ee3b3b318f7e4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-systemd/classes/systemd.bbclass