[arch-projects] [mkinitcpio] [PATCH] 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 --- install/sd-vconsole | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/install/sd-vconsole b/install/sd-vconsole index 93cbbcd0c1a9f74f..8c01ffb21940f4c8 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() { -- 2.10.2
On Tue, Nov 22, 2016 at 08:34:39PM +0100, Jan Alexander Steffens (heftig) via arch-projects wrote:
systemd v232 only activates systemd-vconsole-setup via udev. Follow this to make sure things work properly. This also obsoletes the modules-load hack.
Thanks!
install/sd-vconsole | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/install/sd-vconsole b/install/sd-vconsole index 93cbbcd0c1a9f74f..8c01ffb21940f4c8 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() { -- 2.10.2
participants (2)
-
Dave Reisner
-
Jan Alexander Steffens (heftig)