From 222ef849d28064ba0786fb5bf929554d6389c9cc Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Thu, 16 Oct 2014 17:07:55 +0800 Subject: systemd: fix runtime dependency Previously, if we set 'NO_RECOMMENDATIONS' to "1", we cannot reach login in systemd systems. The problem is that several runtime dependencies are coded as 'recommended' in our project. This patch makes the following changes. 1. Add util-linux-agetty as a runtime dependency. Otherwise, getty services in systemd cannot start correctly. 2. Add systemd-serialgetty as a runtime dependency. Otherwise, serialgetty services cannot start correctly in systemd and we would have problem when using `runqemu qemux86 nographic'. 3. Remove 'systemd' from RDEPENDS of systemd-serialgetty. systemd-serialgetty justs ships systemd unit files, even if the init manager is 'sysvinit', these files do no harm. Signed-off-by: Chen Qi --- meta/recipes-core/systemd/systemd-serialgetty.bb | 2 -- 1 file changed, 2 deletions(-) (limited to 'meta/recipes-core/systemd/systemd-serialgetty.bb') diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta/recipes-core/systemd/systemd-serialgetty.bb index 1c34d5c747..f3acaada2d 100644 --- a/meta/recipes-core/systemd/systemd-serialgetty.bb +++ b/meta/recipes-core/systemd/systemd-serialgetty.bb @@ -36,8 +36,6 @@ do_install() { fi } -RDEPENDS_${PN} = "systemd" - # This is a machine specific file FILES_${PN} = "${systemd_unitdir}/system/*.service ${sysconfdir}" PACKAGE_ARCH = "${MACHINE_ARCH}" -- cgit 1.2.3-korg