From: Chen Qi Date: Thu, 7 Mar 2024 02:27:35 +0000 (-0800) Subject: systemd: use RDEPENDS for systemd-vconsole-setup X-Git-Tag: yocto-5.2~3385 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6126d2dfab3f6bafe23d4dce805110784d23acb1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd: use RDEPENDS for systemd-vconsole-setup With NO_RECOMMENDATIONS set to "1", systemd-vonsole-setup.service will fail because it invokes /usr/bin/loadkeys, which is from kbd. The RRECOMMENDATION should be changed to RDEPENDS, because it's not a recommenation, instead it's necessary. Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_255.4.bb b/meta/recipes-core/systemd/systemd_255.4.bb index 9fd7eccb385..72dff34f3d5 100644 --- a/meta/recipes-core/systemd/systemd_255.4.bb +++ b/meta/recipes-core/systemd/systemd_255.4.bb @@ -491,7 +491,7 @@ FILES:${PN}-binfmt = "${sysconfdir}/binfmt.d/ \ ${systemd_system_unitdir}/systemd-binfmt.service" RRECOMMENDS:${PN}-binfmt = "${@bb.utils.contains('PACKAGECONFIG', 'binfmt', 'kernel-module-binfmt-misc', '', d)}" -RRECOMMENDS:${PN}-vconsole-setup = "${@bb.utils.contains('PACKAGECONFIG', 'vconsole', 'kbd kbd-consolefonts kbd-keymaps', '', d)}" +RDEPENDS:${PN}-vconsole-setup = "${@bb.utils.contains('PACKAGECONFIG', 'vconsole', 'kbd kbd-consolefonts kbd-keymaps', '', d)}" FILES:${PN}-journal-gatewayd = "${rootlibexecdir}/systemd/systemd-journal-gatewayd \