mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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] (From OE-Core rev: 7409d2d48b69adcdf039fb4aa8bd9ed62460daa9) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7d5acd8573
commit
7cd6442613
@@ -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} \
|
||||
|
||||
Reference in New Issue
Block a user