summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/bluez
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-04-09 16:48:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-09 17:02:04 +0100
commit319ef0df4ae7ed0372eff90e11244123eccb023c (patch)
treee0ecf395afa56fd212e104c9da0b4fcc73d94c75 /meta/recipes-connectivity/bluez
parenta866e1e298dab5c52e7b8ba9ab68104604511713 (diff)
downloadopenembedded-core-319ef0df4ae7ed0372eff90e11244123eccb023c.tar.gz
openembedded-core-319ef0df4ae7ed0372eff90e11244123eccb023c.tar.bz2
openembedded-core-319ef0df4ae7ed0372eff90e11244123eccb023c.zip
systemd.bbclass: restart service in postinst, not start
When upgrading packages it's possible that the service is already running because opkg doesn't actually execute the prerm hooks on upgrades, which is where the service should be stopped. Handle this case by restarting in postinst instead of starting. If the service isn't already running then this doesn't make a difference, but if it is running then the service will be restarted. [ YOCTO #4213 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bluez')
0 files changed, 0 insertions, 0 deletions