Re: [OE-core] [PATCH v2] systemd.bbclass: only restart the service when it is active at systemd_postinst

2014-01-22 Thread Burton, Ross
On 22 January 2014 17:56, Burton, Ross wrote: > Whoops, this fell out of my inbox. Whilst the is-active check now > means that the service is restarted on upgrades, if the package is > being installed it's now not started if AUTO_ENABLE is set to true. > > I think the logic should be "$D unset a

Re: [OE-core] [PATCH v2] systemd.bbclass: only restart the service when it is active at systemd_postinst

2014-01-22 Thread Burton, Ross
ian > |Sent: Tuesday, November 05, 2013 6:14 PM > |To: Patches and discussions about the oe-core layer > |Subject: [OE-core] [PATCH v2] systemd.bbclass: only restart the service > |when it is active at systemd_postinst > | > |From: Li Zhijian > | > |If systemd_postin

Re: [OE-core] [PATCH v2] systemd.bbclass: only restart the service when it is active at systemd_postinst

2013-11-18 Thread Li Zhijian
-core layer |Subject: [OE-core] [PATCH v2] systemd.bbclass: only restart the service |when it is active at systemd_postinst | |From: Li Zhijian | |If systemd_postinst is installed as a delayed package scriptlet (installed |to /etc/rpm-postints/${PN}) |which would be executed at the first time

[OE-core] [PATCH v2] systemd.bbclass: only restart the service when it is active at systemd_postinst

2013-11-05 Thread Li Zhijian
From: Li Zhijian If systemd_postinst is installed as a delayed package scriptlet (installed to /etc/rpm-postints/${PN}) which would be executed at the first time of OS startup. And then this script would block when it is trying to call systemctl to restart service. It seems that it is not a go