diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2024-07-17 16:34:41 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-18 17:21:39 +0100 |
| commit | 8dbeec7e04b1d05d53f3843c9639d040ae222c77 (patch) | |
| tree | 3cce81f9533ca095181de39a916f0f24a154d52c | |
| parent | 67f3f2edd333772b5f5f3581679b8ee434d4ba16 (diff) | |
| download | poky-8dbeec7e04b1d05d53f3843c9639d040ae222c77.tar.gz | |
systemd: Move the MIME file to a separate package
The systemd-mime package is added as a recommendation for systemd so
that it is installed by default, but can be excluded, e.g., via
BAD_RECOMMENDATIONS. Excluding it avoids pulling in the MIME database
for products that have no use for it.
(From OE-Core rev: 5560243137f772683e53b614f134dd632b62be8b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/systemd/systemd_256.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_256.bb b/meta/recipes-core/systemd/systemd_256.bb index 807254c816..6e3985b94f 100644 --- a/meta/recipes-core/systemd/systemd_256.bb +++ b/meta/recipes-core/systemd/systemd_256.bb | |||
| @@ -430,6 +430,7 @@ PACKAGE_BEFORE_PN = "\ | |||
| 430 | ${PN}-journal-upload \ | 430 | ${PN}-journal-upload \ |
| 431 | ${PN}-journal-remote \ | 431 | ${PN}-journal-remote \ |
| 432 | ${PN}-kernel-install \ | 432 | ${PN}-kernel-install \ |
| 433 | ${PN}-mime \ | ||
| 433 | ${PN}-rpm-macros \ | 434 | ${PN}-rpm-macros \ |
| 434 | ${PN}-udev-rules \ | 435 | ${PN}-udev-rules \ |
| 435 | ${PN}-vconsole-setup \ | 436 | ${PN}-vconsole-setup \ |
| @@ -635,6 +636,9 @@ FILES:${PN}-extra-utils = "\ | |||
| 635 | ${rootlibexecdir}/systemd/systemd-cgroups-agent \ | 636 | ${rootlibexecdir}/systemd/systemd-cgroups-agent \ |
| 636 | " | 637 | " |
| 637 | 638 | ||
| 639 | FILES:${PN}-mime = "${MIMEDIR}" | ||
| 640 | RRECOMMENDS:${PN} += "${PN}-mime" | ||
| 641 | |||
| 638 | FILES:${PN}-udev-rules = "\ | 642 | FILES:${PN}-udev-rules = "\ |
| 639 | ${rootlibexecdir}/udev/rules.d/70-uaccess.rules \ | 643 | ${rootlibexecdir}/udev/rules.d/70-uaccess.rules \ |
| 640 | ${rootlibexecdir}/udev/rules.d/71-seat.rules \ | 644 | ${rootlibexecdir}/udev/rules.d/71-seat.rules \ |
| @@ -732,7 +736,7 @@ RDEPENDS:${PN} += "kmod dbus util-linux-mount util-linux-umount udev (= ${EXTEND | |||
| 732 | RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)}" | 736 | RDEPENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)}" |
| 733 | RDEPENDS:${PN} += "volatile-binds" | 737 | RDEPENDS:${PN} += "volatile-binds" |
| 734 | 738 | ||
| 735 | RRECOMMENDS:${PN} += "systemd-extra-utils \ | 739 | RRECOMMENDS:${PN} += "${PN}-extra-utils \ |
| 736 | udev-hwdb \ | 740 | udev-hwdb \ |
| 737 | e2fsprogs-e2fsck \ | 741 | e2fsprogs-e2fsck \ |
| 738 | kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 kernel-module-sch-fq-codel \ | 742 | kernel-module-autofs4 kernel-module-unix kernel-module-ipv6 kernel-module-sch-fq-codel \ |
