diff options
author | Artur Kowalski <arturkow2000@gmail.com> | 2025-01-20 13:46:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-21 12:07:56 +0000 |
commit | db861568758e91e0634bd1e267157e00da842468 (patch) | |
tree | a16a1474c33bfab34e11d5c8fef68aa8bbfbaf35 /scripts/lib/scriptpath.py | |
parent | 284450ed971fc34085824b4c51f879d4f8cfac2d (diff) | |
download | poky-db861568758e91e0634bd1e267157e00da842468.tar.gz |
systemd.bbclass: update postinst and prerm hooks
Since SYSTEMD_SERVICE_ESCAPED may contain both system and user services
we need to filter out user services in call to systemctl. Introduce
helper systemd_filter_services() which takes space-separated list of
services and returns services of requested type.
(From OE-Core rev: ec548b274d56b2c7a2663b70200df95a49e7452c)
Signed-off-by: Artur Kowalski <arturkow2000@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions