diff options
author | Jan Alexander Steffens (heftig) via arch-projects <arch-projects@archlinux.org> | 2016-11-22 20:34:39 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2016-11-22 20:37:35 +0100 |
commit | 8d1d5cce87cec6038dfc42c93e1c65b486bff16f (patch) | |
tree | 4d1a31efa47038f1d5ba4dbddc698baca0f69edf /install | |
parent | 46cdc8b9e9246b08cc60988d27097e247e7d9eb8 (diff) | |
download | mkinitcpio-8d1d5cce87cec6038dfc42c93e1c65b486bff16f.tar.gz mkinitcpio-8d1d5cce87cec6038dfc42c93e1c65b486bff16f.tar.xz |
sd-vconsole: Use udev activation
systemd v232 only activates systemd-vconsole-setup via udev. Follow this
to make sure things work properly. This also obsoletes the modules-load
hack.
https://github.com/systemd/systemd/issues/4699
Diffstat (limited to 'install')
-rw-r--r-- | install/sd-vconsole | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/install/sd-vconsole b/install/sd-vconsole index 93cbbcd..8c01ffb 100644 --- a/install/sd-vconsole +++ b/install/sd-vconsole @@ -34,10 +34,11 @@ add_keymap_file() { } build() { - add_systemd_unit systemd-vconsole-setup.service + add_binary /usr/lib/systemd/systemd-vconsole-setup add_binary loadkeys add_binary setfont add_file /etc/vconsole.conf + add_udev_rule 90-vconsole.rules # subshell to avoid namespace pollution ( @@ -56,12 +57,6 @@ build() { done fi ) - - # Set up the console only after any manually loaded GPU drivers (e.g. i915) - add_systemd_drop_in systemd-vconsole-setup.service after-modules <<EOF -[Unit] -After=systemd-modules-load.service -EOF } help() { |