[arch-projects] [mkinitcpio] [PATCH] sd-vconsole: Reenable systemd-vconsole-setup.service

Jan Alexander Steffens (heftig) jan.steffens at gmail.com
Sat Nov 19 22:13:10 UTC 2016


systemd v232 dropped the Wants and nothing activates the service
anymore. The binary is still activated via udev, but that doesn't seem
to get triggered properly, possibly because the i915 module is loaded
via modules-load or it replaces the uefi fb.

BTW, without any means of activation, the service unit as shipped by
upstream is useless. We'll see whether they remove it completely.
---
 install/sd-vconsole | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/install/sd-vconsole b/install/sd-vconsole
index 93cbbcd0c1a9f74f..e5423df742c80ad8 100644
--- a/install/sd-vconsole
+++ b/install/sd-vconsole
@@ -57,6 +57,10 @@ build() {
         fi
     )
 
+    # Needed since v232
+    add_symlink "/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service" \
+        "../systemd-vconsole-setup.service"
+
     # 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]
-- 
2.10.2


More information about the arch-projects mailing list