summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-02-02 08:35:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-07 10:08:59 +0000
commita9a70bde351aad18609ed66ab55061d6fcacf278 (patch)
tree67bf760dbcc3321d8b98efdd6585f813b57eec48 /meta/recipes-core/systemd
parent272212c2cb29ddd4c2591b8a7d3adc23c16cf207 (diff)
downloadpoky-a9a70bde351aad18609ed66ab55061d6fcacf278.tar.gz
systemd: Add link-udev-shared PACKAGECONFIG
Add a PACKAGECONFIG to link systemd-udev and its helpers to libsystemd-shared.so. If enabled the udev package depends on the systemd package. (From OE-Core rev: 2e854402a899c26e25bd0edc198b40fe45fc6c7d) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_250.3.bb8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-core/systemd/systemd_250.3.bb b/meta/recipes-core/systemd/systemd_250.3.bb
index 57987218a1..96a86272d3 100644
--- a/meta/recipes-core/systemd/systemd_250.3.bb
+++ b/meta/recipes-core/systemd/systemd_250.3.bb
@@ -159,6 +159,9 @@ PACKAGECONFIG[kmod] = "-Dkmod=true,-Dkmod=false,kmod"
159PACKAGECONFIG[ldconfig] = "-Dldconfig=true,-Dldconfig=false,,ldconfig" 159PACKAGECONFIG[ldconfig] = "-Dldconfig=true,-Dldconfig=false,,ldconfig"
160PACKAGECONFIG[libidn] = "-Dlibidn=true,-Dlibidn=false,libidn,,libidn" 160PACKAGECONFIG[libidn] = "-Dlibidn=true,-Dlibidn=false,libidn,,libidn"
161PACKAGECONFIG[libidn2] = "-Dlibidn2=true,-Dlibidn2=false,libidn2,,libidn2" 161PACKAGECONFIG[libidn2] = "-Dlibidn2=true,-Dlibidn2=false,libidn2,,libidn2"
162# Link udev shared with systemd helper library.
163# If enabled the udev package depends on the systemd package (which has the needed shared library).
164PACKAGECONFIG[link-udev-shared] = "-Dlink-udev-shared=true,-Dlink-udev-shared=false"
162PACKAGECONFIG[localed] = "-Dlocaled=true,-Dlocaled=false" 165PACKAGECONFIG[localed] = "-Dlocaled=true,-Dlocaled=false"
163PACKAGECONFIG[logind] = "-Dlogind=true,-Dlogind=false" 166PACKAGECONFIG[logind] = "-Dlogind=true,-Dlogind=false"
164PACKAGECONFIG[lz4] = "-Dlz4=true,-Dlz4=false,lz4" 167PACKAGECONFIG[lz4] = "-Dlz4=true,-Dlz4=false,lz4"
@@ -218,11 +221,6 @@ rootprefix ?= "${root_prefix}"
218rootlibdir ?= "${base_libdir}" 221rootlibdir ?= "${base_libdir}"
219rootlibexecdir = "${rootprefix}/lib" 222rootlibexecdir = "${rootprefix}/lib"
220 223
221# This links udev statically with systemd helper library.
222# Otherwise udev package would depend on systemd package (which has the needed shared library),
223# and always pull it into images.
224EXTRA_OEMESON += "-Dlink-udev-shared=false"
225
226EXTRA_OEMESON += "-Dnobody-user=nobody \ 224EXTRA_OEMESON += "-Dnobody-user=nobody \
227 -Dnobody-group=nobody \ 225 -Dnobody-group=nobody \
228 -Drootlibdir=${rootlibdir} \ 226 -Drootlibdir=${rootlibdir} \