From 47129c2fdda14f46901ba0ad5bdd12451b318785 Mon Sep 17 00:00:00 2001 From: Nick Owens Date: Thu, 1 Feb 2024 13:09:15 -0800 Subject: [PATCH] systemd: recommend libelf, libdw for elfutils flag 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 (From OE-Core rev: f7366f44fd7d0bc5a5b073cec9c68ffd8258903c) Signed-off-by: Nick Owens Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_255.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_255.1.bb b/meta/recipes-core/systemd/systemd_255.1.bb index c0de44090d..9e09c89355 100644 --- a/meta/recipes-core/systemd/systemd_255.1.bb +++ b/meta/recipes-core/systemd/systemd_255.1.bb @@ -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"