From patchwork Tue Jan 10 09:00:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-oe,v2,3/3] systemd: conditionally RRECOMMENDS kbd* Date: Tue, 10 Jan 2012 09:00:39 -0000 From: Anders Darander X-Patchwork-Id: 18897 Message-Id: <6382f565655efb9aec552453275832a351bc7467.1326185831.git.anders@chargestorm.se> To: If the machine lacks keyboard support, there is no need for kbd*-packages. Signed-off-by: Anders Darander --- meta-oe/recipes-core/systemd/systemd_git.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb b/meta-oe/recipes-core/systemd/systemd_git.bb index 0fa61a7..7af8357 100644 --- a/meta-oe/recipes-core/systemd/systemd_git.bb +++ b/meta-oe/recipes-core/systemd/systemd_git.bb @@ -14,7 +14,7 @@ inherit gitpkgv PKGV = "v${GITPKGVTAG}" PV = "git" -PR = "r8" +PR = "r9" inherit useradd pkgconfig autotools vala perlnative @@ -101,7 +101,7 @@ RDEPENDS_${PN} += "dbus-systemd udev-systemd" # of blacklist support, so use proper modprobe from module-init-tools # And pull in the kernel modules mentioned in INSTALL # swapon -p is also not supported by busybox -RRECOMMENDS_${PN} += "kbd kbd-consolefonts \ +RRECOMMENDS_${PN} += "${@base_contains("MACHINE_FEATURES", "keyboard", "kbd kbd-consolefonts", "", d)} \ systemd-serialgetty \ util-linux-agetty \ util-linux-swaponoff \