]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
systemd.bbclass: support user units in postinst and prerm hooks
authorArtur Kowalski <arturkow2000@gmail.com>
Mon, 20 Jan 2025 12:46:05 +0000 (13:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jan 2025 12:07:52 +0000 (12:07 +0000)
commitce62b88d8f71368e356b6409ada46a34a6017ddf
treeca390b7b8a146a266d83d06f1f972e96b7e60235
parentec548b274d56b2c7a2663b70200df95a49e7452c
systemd.bbclass: support user units in postinst and prerm hooks

Handle user units in a manner similar to system units where possible.
Not everything is supported by systemd, but systemd limitations only
affect runtime package management - during update user services are not
reloaded/restart and each user must re-login or manually restart
services.

Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/systemd.bbclass