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

2013-11-05 Thread Li Zhijian
This patch is incorrect, please ignore it i would send v2 soon. at 2013/11/4 18:38, Li Zhijian wrote: 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 thi

[OE-core] [PATCH 1/1] systemd.bbclass: only restart the service when it is running at systemd_postinst

2013-11-04 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