diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2016-09-09 00:51:06 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2016-09-09 14:15:03 +0200 |
commit | dfb71b073746999553c1f3bd21534ccf9018f4c9 (patch) | |
tree | d830ce71162e8a0fe73760ca45d3331a0129ca9e /install | |
parent | c7f2725e01a93c81025fa9fcee4fbbb8c5b01fd6 (diff) | |
download | mkinitcpio-dfb71b073746999553c1f3bd21534ccf9018f4c9.tar.gz mkinitcpio-dfb71b073746999553c1f3bd21534ccf9018f4c9.tar.xz |
sd-vconsole: Wait for modules to be loaded
If the MODULES contain a GPU driver like i915, wait for it
to be loaded. This avoids the font configuration being lost.
Diffstat (limited to 'install')
-rw-r--r-- | install/sd-vconsole | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/install/sd-vconsole b/install/sd-vconsole index 011856d..93cbbcd 100644 --- a/install/sd-vconsole +++ b/install/sd-vconsole @@ -56,6 +56,12 @@ 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() { |