[OE-core] [PATCH] systemd.bbclass: restart service in postinst, not start

Burton, Ross ross.burton at intel.com
Wed Apr 10 09:08:38 UTC 2013


On 10 April 2013 06:46, Koen Kooi <koen at dominion.thruhere.net> wrote:
> In the specific case of upgrades you'll need to add a
>
>         systemctl --system daemon-reload
>
> to catch changed unit files as well.

Good catch, thanks.

I'm not entirely optimistic about opkg postinsts being able to tell
the difference between upgrades and fresh installs, so I suspect we'll
just have to always do this.

Ross




More information about the Openembedded-core mailing list