From 0ad60b2a89d6d387236466e0bcdd61ac489fca37 Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Tue, 14 Apr 2020 14:49:25 +0200 Subject: installer: Only load uvesafb kernel module when needed. This is a follow-up to commit 557e6820a77b24f8f3f03f28ee473137b1caeb64. * gnu/system/install.scm (uvesafb-shepherd-service): Check that /dev/fb0 is not already present. --- gnu/system/install.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 203a085bcd..0965c4d237 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -304,6 +304,7 @@ (define (uvesafb-shepherd-service _) (or (not (and (string-suffix? "linux-gnu" %host-type) (or (string-prefix? "x86_64" %host-type) (string-prefix? "i686" %host-type)))) + (file-exists? "/dev/fb0") (invoke #+(file-append kmod "/bin/modprobe") "uvesafb" (string-append "v86d=" #$v86d "/sbin/v86d") -- cgit v1.2.3