Re: [OE-core] [PATCH] systemd.bbclass: don't block on service restart

2016-11-29 Thread Khem Raj
> On Nov 24, 2016, at 8:17 PM, Mark Asselstine > wrote: > > The current class works fine when a recipe uses SYSTEMD_AUTO_ENABLE > 'enable' and has no on device pkg_postinst(), ie when the postinst is > run as part of rootfs creation. However, when there is a component of > pkg_postinst() that

Re: [OE-core] [PATCH] systemd.bbclass: don't block on service restart

2016-11-26 Thread Andreas Oberritter
On 25.11.2016 05:17, Mark Asselstine wrote: > The current class works fine when a recipe uses SYSTEMD_AUTO_ENABLE > 'enable' and has no on device pkg_postinst(), ie when the postinst is > run as part of rootfs creation. However, when there is a component of > pkg_postinst() that is run on device t

[OE-core] [PATCH] systemd.bbclass: don't block on service restart

2016-11-24 Thread Mark Asselstine
The current class works fine when a recipe uses SYSTEMD_AUTO_ENABLE 'enable' and has no on device pkg_postinst(), ie when the postinst is run as part of rootfs creation. However, when there is a component of pkg_postinst() that is run on device the 'systemctl restart' is run as part of the run_pos