]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
systemd.bbclass: Add /usr/lib/systemd to searchpaths as well
authorKhem Raj <raj.khem@gmail.com>
Fri, 10 Mar 2023 10:07:03 +0000 (02:07 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Mar 2023 17:09:57 +0000 (17:09 +0000)
commit12808a4159835b67d8d53d32bc9135811701a779
treeccfcdf0c7ed57d67bd030de61a73d4e4da1f887f
parent6f9a6a3dbe5c8eb9f0d19987410932fec3d6dd1a
systemd.bbclass: Add /usr/lib/systemd to searchpaths as well

Some packages like lirc places its unit files into $systemd_user_unitdir
and also uses them in SYSTEMD_SERVICE list in recipe. This fails in
do_package

ERROR: Didn't find service unit 'lircmd.service', specified in SYSTEMD_SERVICE:lirc.

here lircmd.service is installed in /usr/lib/systemd/system/lircmd.service

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/systemd.bbclass