diff options
author | Florian Pelz <pelzflorian@pelzflorian.de> | 2020-04-14 14:49:25 +0200 |
---|---|---|
committer | Florian Pelz <pelzflorian@pelzflorian.de> | 2020-04-14 13:05:57 +0000 |
commit | 0ad60b2a89d6d387236466e0bcdd61ac489fca37 (patch) | |
tree | dab9a28a4bf19cce0765fee6280081b64b2709ca /gnu/system | |
parent | 2b2921937017bf4b3c7c8be2d0448f8c64d02bb1 (diff) | |
download | guix-0ad60b2a89d6d387236466e0bcdd61ac489fca37.tar.gz |
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.
Diffstat (limited to 'gnu/system')
-rw-r--r-- | gnu/system/install.scm | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ the user's target storage device rather than on the RAM disk." (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") |