]> 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)
committerSteve Sakoman <steve@sakoman.com>
Tue, 21 Mar 2023 14:34:27 +0000 (04:34 -1000)
commit612e2cff28852d9d3dfc947ee07dbe4111748239
tree64ab0a864afc5b01edd2fae3a1bfed1f297e8d58
parentbb350782ba1a66f1cf0d3e043000f5e1535cf961
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>
(cherry picked from commit 12808a4159835b67d8d53d32bc9135811701a779)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes-recipe/systemd.bbclass