diff options
author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2022-02-25 16:54:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-27 12:34:40 +0000 |
commit | ba9461372d64e5fac80a573cbd2ab68d4eab731d (patch) | |
tree | 715bec4abf72e26afef2f4dcbd576075af4f45dd /meta/recipes-core | |
parent | 62644e48daf4a642adebd5c5cf6c1345ed58ac41 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/systemd/systemd_250.3.bb | 6 |
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 | |||
387 | SUMMARY:${PN}-journal-remote = "Receive journal messages over the network" | 388 | SUMMARY:${PN}-journal-remote = "Receive journal messages over the network" |
388 | DESCRIPTION:${PN}-journal-remote = "systemd-journal-remote is a command to receive serialized journal events and store them to journal files." | 389 | DESCRIPTION:${PN}-journal-remote = "systemd-journal-remote is a command to receive serialized journal events and store them to journal files." |
389 | 390 | ||
391 | SUMMARY:libsystemd-shared = "Systemd shared library" | ||
392 | |||
390 | SYSTEMD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', '${PN}-binfmt', '', d)} \ | 393 | SYSTEMD_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 \ | |||
653 | INSANE_SKIP:${PN} += "dev-so libdir" | 656 | INSANE_SKIP:${PN} += "dev-so libdir" |
654 | INSANE_SKIP:${PN}-dbg += "libdir" | 657 | INSANE_SKIP:${PN}-dbg += "libdir" |
655 | INSANE_SKIP:${PN}-doc += " libdir" | 658 | INSANE_SKIP:${PN}-doc += " libdir" |
659 | INSANE_SKIP:libsystemd-shared += "libdir" | ||
660 | |||
661 | FILES:libsystemd-shared = "${rootlibexecdir}/systemd/libsystemd-shared*.so" | ||
656 | 662 | ||
657 | RPROVIDES:udev = "hotplug" | 663 | RPROVIDES:udev = "hotplug" |
658 | 664 | ||