]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
systemd: recommend libelf, libdw for elfutils flag
authorNick Owens <nick.owens@eero.com>
Thu, 1 Feb 2024 21:09:15 +0000 (13:09 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Feb 2024 21:52:15 +0000 (21:52 +0000)
when elfutils is enabled, the elf reading code of systemd will dlopen
libelf and libdw. these dependencies are not automatically detected and
will not work at runtime without them installed. add them to RRECOMMENDS
when elfutils is turned on in PACKAGECONFIG.

fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=15379

Signed-off-by: Nick Owens <nick.owens@eero.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_255.1.bb

index c0de44090d226681e86f2d35de1fa52d9cbee758..9e09c893557c25817f68569c7ecb8744a8920478 100644 (file)
@@ -146,7 +146,7 @@ PACKAGECONFIG[default-compression-xz] = "-Dxz=true -Ddefault-compression=xz,,xz"
 PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true -Ddefault-compression=zstd,,zstd"
 PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
 PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false -Dbootloader=false,python3-pyelftools-native"
-PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils"
+PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils,,libelf libdw"
 PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
 PACKAGECONFIG[repart] = "-Drepart=true,-Drepart=false"
 PACKAGECONFIG[homed] = "-Dhomed=true,-Dhomed=false"