]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd-serialgetty: remove systemd from RDEPENDS
authorChen Qi <Qi.Chen@windriver.com>
Tue, 5 Sep 2017 08:08:00 +0000 (16:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Sep 2017 08:24:00 +0000 (09:24 +0100)
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 <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/systemd/systemd-serialgetty.bb

index 60891e432c3706df25d5c623fe0aba4e39a120d3..74b598673045f5970f4870f8156697d0b99d6200 100644 (file)
@@ -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}"