From: Nick Owens Date: Thu, 1 Feb 2024 21:09:15 +0000 (-0800) Subject: systemd: recommend libelf, libdw for elfutils flag X-Git-Tag: uninative-4.4~262 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7366f44fd7d0bc5a5b073cec9c68ffd8258903c;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 Signed-off-by: Nick Owens Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_255.1.bb b/meta/recipes-core/systemd/systemd_255.1.bb index c0de44090d2..9e09c893557 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"