summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-02-25 16:54:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-27 12:34:40 +0000
commitba9461372d64e5fac80a573cbd2ab68d4eab731d (patch)
tree715bec4abf72e26afef2f4dcbd576075af4f45dd
parent62644e48daf4a642adebd5c5cf6c1345ed58ac41 (diff)
downloadpoky-ba9461372d64e5fac80a573cbd2ab68d4eab731d.tar.gz
systemd: move systemd shared library into its own package
Move the systemd shared library (libsystemd-shared.so) into its own package to prevent a runtime dependency from udev package to systemd package and thereby to a second init manager. (From OE-Core rev: d1473149816674e3a3aa3f565e8b6390d2d0f1a6) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd_250.3.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_250.3.bb b/meta/recipes-core/systemd/systemd_250.3.bb
index 9121333f56..31c5c55c3f 100644
--- a/meta/recipes-core/systemd/systemd_250.3.bb
+++ b/meta/recipes-core/systemd/systemd_250.3.bb
@@ -371,6 +371,7 @@ PACKAGE_BEFORE_PN = "\
371 ${PN}-journal-remote \ 371 ${PN}-journal-remote \
372 ${PN}-extra-utils \ 372 ${PN}-extra-utils \
373 ${PN}-udev-rules \ 373 ${PN}-udev-rules \
374 libsystemd-shared \
374 udev \ 375 udev \
375 udev-hwdb \ 376 udev-hwdb \
376" 377"
@@ -387,6 +388,8 @@ DESCRIPTION:${PN}-journal-upload = "systemd-journal-upload uploads journal entri
387SUMMARY:${PN}-journal-remote = "Receive journal messages over the network" 388SUMMARY:${PN}-journal-remote = "Receive journal messages over the network"
388DESCRIPTION:${PN}-journal-remote = "systemd-journal-remote is a command to receive serialized journal events and store them to journal files." 389DESCRIPTION:${PN}-journal-remote = "systemd-journal-remote is a command to receive serialized journal events and store them to journal files."
389 390
391SUMMARY:libsystemd-shared = "Systemd shared library"
392
390SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)} \ 393SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)} \
391 ${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '${PN}-journal-gatewayd', '', d)} \ 394 ${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '${PN}-journal-gatewayd', '', d)} \
392 ${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '${PN}-journal-remote', '', d)} \ 395 ${@bb.utils.contains('PACKAGECONFIG', 'microhttpd', '${PN}-journal-remote', '', d)} \
@@ -653,6 +656,9 @@ RRECOMMENDS:${PN} += "systemd-extra-utils \
653INSANE_SKIP:${PN} += "dev-so libdir" 656INSANE_SKIP:${PN} += "dev-so libdir"
654INSANE_SKIP:${PN}-dbg += "libdir" 657INSANE_SKIP:${PN}-dbg += "libdir"
655INSANE_SKIP:${PN}-doc += " libdir" 658INSANE_SKIP:${PN}-doc += " libdir"
659INSANE_SKIP:libsystemd-shared += "libdir"
660
661FILES:libsystemd-shared = "${rootlibexecdir}/systemd/libsystemd-shared*.so"
656 662
657RPROVIDES:udev = "hotplug" 663RPROVIDES:udev = "hotplug"
658 664