installer: Load uvesafb kernel module.
authorFlorian Pelz <pelzflorian@pelzflorian.de>
Sat, 11 Apr 2020 16:56:37 +0000 (18:56 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 11 Apr 2020 20:59:35 +0000 (22:59 +0200)
commit557e6820a77b24f8f3f03f28ee473137b1caeb64
tree43ddd5ecffc1929b33ee031f76ebb1b01271489a
parentc635610bc6c89dd7feb1e81ff7803600027e0092
installer: Load uvesafb kernel module.

Fixes <https://bugs.gnu.org/40538>.

Machines without Kernel Mode Setting (those with many old and current AMD
GPUs, SiS GPUs, …) need uvesafb to show the GUI installer.  Some may also need
a kernel parameter like nomodeset or vga=793, but we leave that for the user
to specify in GRUB.

* gnu/system/install.scm (uvesafb-shepherd-service): New procedure.
(uvesafb-service-type): New variable.
(%installation-services): Add it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
gnu/system/install.scm