From 060088f256f8134ad68a7b5e493ddfa78a0382ea Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Tue, 5 Sep 2017 16:08:00 +0800 Subject: systemd-serialgetty: remove systemd from RDEPENDS By setting systemd-serialgetty to rdepend on systemd, we are making configuration files have runtime dependency on the main utility that uses those configuration files. Applied with the same logic, we should make any package that provides service files under /etc/init.d/ to have runtime dependency on sysvinit. And this is not right. So we should remove systemd from RDEPENDS of systemd-serialgetty. Besides, as we have changed systemd to have systemd-serialgetty in its RDEPENDS by default, we should avoid circular dependency issue. Signed-off-by: Chen Qi Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd-serialgetty.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta/recipes-core/systemd/systemd-serialgetty.bb index 60891e432c..74b5986730 100644 --- a/meta/recipes-core/systemd/systemd-serialgetty.bb +++ b/meta/recipes-core/systemd/systemd-serialgetty.bb @@ -39,8 +39,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