Skip to content

install/sd-vconsole: Add the systemd unit

Maxim requested to merge qtmax/mkinitcpio:fix-vconsole into master

After a recent change 1 in the systemd package started installing systemd-vconsole-setup.service unconditionally, it started failing if the sd-vconsole hook wasn't included:

systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
systemd[1]: Failed to start Virtual Console Setup.
systemd-vconsole-setup[131]: /usr/bin/loadkeys failed with exit status 1.

It can be solved by installing systemd-vconsole-setup.service on demand, only if the sd-vconsole hook is included.

More context:

https://bugs.archlinux.org/task/79296

https://bugs.archlinux.org/task/79287#comment222779

Edited by Maxim

Merge request reports