diff options
| author | Niko Mauno <niko.mauno@vaisala.com> | 2022-11-03 09:29:53 +0000 | 
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-24 15:30:06 +0000 | 
| commit | 4a28460712f11cad8c7b6e7eb26fdf330ba62eaa (patch) | |
| tree | a9bbfb98a8160f719b7fa30ecfeeec615b652b2e | |
| parent | 2c3895c7d2b2e8ce48f41d612e5a11805e6dac4d (diff) | |
| download | poky-4a28460712f11cad8c7b6e7eb26fdf330ba62eaa.tar.gz | |
systemd: Consider PACKAGECONFIG in RRECOMMENDS
Since RRECOMMENDS declaration implictly induces building the recipes
that provide the runtime recommended packages, conditionalize adding
such values according to associated PACKAGECONFIG settings in order
to avoid redundant building.
(From OE-Core rev: 1859eaba8638549b2dc5d6ab3ae3c0b3793eac67)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a1989add927f7805378fe4d5afbde780b747ba77)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/systemd/systemd_251.4.bb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/meta/recipes-core/systemd/systemd_251.4.bb b/meta/recipes-core/systemd/systemd_251.4.bb index 87668cadc7..1b771a7b86 100644 --- a/meta/recipes-core/systemd/systemd_251.4.bb +++ b/meta/recipes-core/systemd/systemd_251.4.bb | |||
| @@ -437,9 +437,9 @@ FILES:${PN}-binfmt = "${sysconfdir}/binfmt.d/ \ | |||
| 437 | ${rootlibexecdir}/systemd/systemd-binfmt \ | 437 | ${rootlibexecdir}/systemd/systemd-binfmt \ | 
| 438 | ${systemd_system_unitdir}/proc-sys-fs-binfmt_misc.* \ | 438 | ${systemd_system_unitdir}/proc-sys-fs-binfmt_misc.* \ | 
| 439 | ${systemd_system_unitdir}/systemd-binfmt.service" | 439 | ${systemd_system_unitdir}/systemd-binfmt.service" | 
| 440 | RRECOMMENDS:${PN}-binfmt = "kernel-module-binfmt-misc" | 440 | RRECOMMENDS:${PN}-binfmt = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', 'kernel-module-binfmt-misc', '', d)}" | 
| 441 | 441 | ||
| 442 | RRECOMMENDS:${PN}-vconsole-setup = "kbd kbd-consolefonts kbd-keymaps" | 442 | RRECOMMENDS:${PN}-vconsole-setup = "${@bb.utils.contains('PACKAGECONFIG', 'vconsole', 'kbd kbd-consolefonts kbd-keymaps', '', d)}" | 
| 443 | 443 | ||
| 444 | 444 | ||
| 445 | FILES:${PN}-journal-gatewayd = "${rootlibexecdir}/systemd/systemd-journal-gatewayd \ | 445 | FILES:${PN}-journal-gatewayd = "${rootlibexecdir}/systemd/systemd-journal-gatewayd \ | 
