update-rcd.bbclass: fix host/target test
authorRoss Burton <ross.burton@intel.com>
Wed, 16 Oct 2013 13:07:51 +0000 (14:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Oct 2013 13:51:07 +0000 (14:51 +0100)
commit3ba839d380b8c92365804aa86d49741faa8212fa
treef9332f9a397320a1dbb14cb8a4df4f3795e470e9
parentd5a1377e886f2230e6696dbf3662d3fb9b032f52
update-rcd.bbclass: fix host/target test

"update-rc: Stop and remove service if updating package" (oe-core d91b08) had a
bug in it's implementation of a "host or target" test which always resulted in
"target", so the rootfs scripts were attempting to restart daemons on the host.

(From OE-Core rev: 2b179d90eacc58f0b217f64407782a9174362850)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/update-rc.d.bbclass