From: Alexander Kanavin Date: Thu, 22 Mar 2018 13:47:37 +0000 (+0200) Subject: systemd: link udev statically with systemd internal libraries X-Git-Tag: uninative-1.9~114 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7409d2d48b69adcdf039fb4aa8bd9ed62460daa9;p=openembedded-core.git systemd: link udev statically with systemd internal libraries This was the default behavior with autotools, but is not with meson. Otherwise, udev package will pull in the rest of systemd even that is not desired. [YOCTO #12618] Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton --- diff --git a/meta/recipes-core/systemd/systemd_237.bb b/meta/recipes-core/systemd/systemd_237.bb index b1c976fc5b..7ef42b2eae 100644 --- a/meta/recipes-core/systemd/systemd_237.bb +++ b/meta/recipes-core/systemd/systemd_237.bb @@ -168,6 +168,11 @@ rootprefix ?= "${root_prefix}" rootlibdir ?= "${base_libdir}" rootlibexecdir = "${rootprefix}/lib" +# This links udev statically with systemd helper library. +# Otherwise udev package would depend on systemd package (which has the needed shared library), +# and always pull it into images. +EXTRA_OEMESON += "-Dlink-udev-shared=false" + EXTRA_OEMESON += "-Dnobody-user=nobody \ -Dnobody-group=nobody \ -Droothomedir=${ROOTHOME} \