[systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml
Kay Sievers
kay at vrfy.org
Sat Jul 20 03:10:52 PDT 2013
On Fri, Jul 19, 2013 at 9:36 PM, Ramkumar Ramachandra
<artagnon at gmail.com> wrote:
> User-Mode Linux does not do VT102 emulation, and
>
> $ vconsole-setup /dev/tty0
>
> will always fail on it. In order to prevent vconsole-setup.service from
> always failing, disable it when uml is detected.
> ConditionPathExists=/dev/tty0
> +ConditionVirtualization=!uml
I would rather see vconsole to detect the mess and silently give up,
instead of adding exotic options for really weird faked and wrong tty0
setups.
Thanks,
Kay
More information about the systemd-devel
mailing list