summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2017-09-05 16:08:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-21 09:24:24 +0100
commitfe36ee591eac2742e27fd9bf3b7d30c4c761131d (patch)
treeef1e542d0b31da4cc8d4024232e820fef0000476
parent117946646ef51704af9ea5780e8f19f645fbbb12 (diff)
downloadpoky-fe36ee591eac2742e27fd9bf3b7d30c4c761131d.tar.gz
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. (From OE-Core rev: 060088f256f8134ad68a7b5e493ddfa78a0382ea) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd-serialgetty.bb2
1 files changed, 0 insertions, 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() {
39 fi 39 fi
40} 40}
41 41
42RDEPENDS_${PN} = "systemd"
43
44# This is a machine specific file 42# This is a machine specific file
45FILES_${PN} = "${systemd_unitdir}/system/*.service ${sysconfdir}" 43FILES_${PN} = "${systemd_unitdir}/system/*.service ${sysconfdir}"
46PACKAGE_ARCH = "${MACHINE_ARCH}" 44PACKAGE_ARCH = "${MACHINE_ARCH}"