mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
272212c2cb
commit
a9a70bde35
@@ -159,6 +159,9 @@ PACKAGECONFIG[kmod] = "-Dkmod=true,-Dkmod=false,kmod"
|
||||
PACKAGECONFIG[ldconfig] = "-Dldconfig=true,-Dldconfig=false,,ldconfig"
|
||||
PACKAGECONFIG[libidn] = "-Dlibidn=true,-Dlibidn=false,libidn,,libidn"
|
||||
PACKAGECONFIG[libidn2] = "-Dlibidn2=true,-Dlibidn2=false,libidn2,,libidn2"
|
||||
# Link udev shared with systemd helper library.
|
||||
# If enabled the udev package depends on the systemd package (which has the needed shared library).
|
||||
PACKAGECONFIG[link-udev-shared] = "-Dlink-udev-shared=true,-Dlink-udev-shared=false"
|
||||
PACKAGECONFIG[localed] = "-Dlocaled=true,-Dlocaled=false"
|
||||
PACKAGECONFIG[logind] = "-Dlogind=true,-Dlogind=false"
|
||||
PACKAGECONFIG[lz4] = "-Dlz4=true,-Dlz4=false,lz4"
|
||||
@@ -218,11 +221,6 @@ 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 \
|
||||
-Drootlibdir=${rootlibdir} \
|
||||
|
||||
Reference in New Issue
Block a user