installer: Only load uvesafb kernel module when needed.
This is a follow-up to commit 557e6820a7
.
* gnu/system/install.scm (uvesafb-shepherd-service): Check
that /dev/fb0 is not already present.
This commit is contained in:
parent
2b29219370
commit
0ad60b2a89
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user