]> code.ossystems Code Review - openembedded-core.git/commit
systemd: make runlevel work in non-runlevel targets
authorChen Qi <Qi.Chen@windriver.com>
Wed, 3 Sep 2014 07:09:00 +0000 (15:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Sep 2014 09:24:20 +0000 (10:24 +0100)
commitcb7e692ec895ff9c15966faf29c9a84c0e78cdf5
tree8460c30b55cca47ab0a73425d78cefd60b730935
parentb52c028252270c7bddc71554089fb184e52c5870
systemd: make runlevel work in non-runlevel targets

Previously, after booting into the targets like multi-user.target or
graphical.target, the output of `runlevel' command is 'unknown'.

This is confusing for users. Normally, we would expect mutli-user.target
would have a `runlevel' output of 'N 3'.
This is the behaviour of Fedora20.

This patch installs symlinks for systemd-update-utmp-runlevel.service
in do_install task to fix the above problem.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_216.bb