summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2018-03-22 15:47:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-25 09:40:42 +0100
commit7cd6442613353b93ab6a2fe8f0dd6f2c9fa18afb (patch)
tree4b7569b31711fb839139b8d982d3ecee45c7d0e6
parent7d5acd8573c76744251f5d239a59b91a73443fad (diff)
downloadpoky-7cd6442613353b93ab6a2fe8f0dd6f2c9fa18afb.tar.gz
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>
-rw-r--r--meta/recipes-core/systemd/systemd_237.bb5
1 files changed, 5 insertions, 0 deletions
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}"
168rootlibdir ?= "${base_libdir}" 168rootlibdir ?= "${base_libdir}"
169rootlibexecdir = "${rootprefix}/lib" 169rootlibexecdir = "${rootprefix}/lib"
170 170
171# This links udev statically with systemd helper library.
172# Otherwise udev package would depend on systemd package (which has the needed shared library),
173# and always pull it into images.
174EXTRA_OEMESON += "-Dlink-udev-shared=false"
175
171EXTRA_OEMESON += "-Dnobody-user=nobody \ 176EXTRA_OEMESON += "-Dnobody-user=nobody \
172 -Dnobody-group=nobody \ 177 -Dnobody-group=nobody \
173 -Droothomedir=${ROOTHOME} \ 178 -Droothomedir=${ROOTHOME} \