]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
systemd: fix runtime dependency ChenQi/systemd-rdepends
authorChen Qi <Qi.Chen@windriver.com>
Thu, 16 Oct 2014 09:07:55 +0000 (17:07 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 16 Oct 2014 09:17:49 +0000 (17:17 +0800)
commit222ef849d28064ba0786fb5bf929554d6389c9cc
tree4461d72f8d6c798d8311a6fd07bdc9f7d81f5322
parentfcbd1b19383daf5e160a864df1418130da01be28
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 <Qi.Chen@windriver.com>
meta/recipes-core/systemd/systemd-serialgetty.bb
meta/recipes-core/systemd/systemd_216.bb