summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-02-02 08:35:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-07 10:07:38 +0000
commit061cae73e2617dff62962fac131ff62d401e500c (patch)
tree6798dbba81ef95196353d0320a2e739fd9d79e77 /meta/recipes-core
parent2e854402a899c26e25bd0edc198b40fe45fc6c7d (diff)
downloadopenembedded-core-061cae73e2617dff62962fac131ff62d401e500c.tar.gz
systemd: Minimize udev package size if DISTRO_FEATURES doen't contain sysvinit
Link udev shared with systemd helper to minimize the udev package size if DISTRO_FEATURES doesn't configure sysvinit to be used. It is only usefull to link udev static with systemd helper if udev should be installed without systemd such as a mixed sysvinit and systemd environment [RP: Fixed to use sysvinit distro feature instead of systemd] Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/systemd/systemd_250.3.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_250.3.bb b/meta/recipes-core/systemd/systemd_250.3.bb
index 96a86272d3..7851c4c16a 100644
--- a/meta/recipes-core/systemd/systemd_250.3.bb
+++ b/meta/recipes-core/systemd/systemd_250.3.bb
@@ -69,6 +69,7 @@ PACKAGECONFIG ??= " \
${@bb.utils.filter('DISTRO_FEATURES', 'acl audit efi ldconfig pam selinux smack usrmerge polkit seccomp', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'rfkill', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '', 'link-udev-shared', d)} \
backlight \
binfmt \
gshadow \