]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
systemd.bbclass: introduce systemd_service_searchpaths()
authorArtur Kowalski <arturkow2000@gmail.com>
Mon, 20 Jan 2025 12:46:02 +0000 (13:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Jan 2025 12:07:52 +0000 (12:07 +0000)
commit9a89d36932dda306b3c2cf10771647eabc267769
treebb0f3e3d0ad306c313addc83bc84a4ff1b23ed59
parentd383e18138050490f3dcb95377f63a2a31c3149f
systemd.bbclass: introduce systemd_service_searchpaths()

systemd_service_searchpaths accepts boolean value indicating whether we
are dealing with system or user units and returns search paths
accordingly.

Previously search path list was created in systemd_check_services() but
following commits will introduce additional places. The
systemd_service_searchpaths helper function is meant to reduce code
duplication.

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