mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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
1 changed files with 1 additions and 0 deletions
|
@ -304,6 +304,7 @@ (define (uvesafb-shepherd-service _)
|
||||||
(or (not (and (string-suffix? "linux-gnu" %host-type)
|
(or (not (and (string-suffix? "linux-gnu" %host-type)
|
||||||
(or (string-prefix? "x86_64" %host-type)
|
(or (string-prefix? "x86_64" %host-type)
|
||||||
(string-prefix? "i686" %host-type))))
|
(string-prefix? "i686" %host-type))))
|
||||||
|
(file-exists? "/dev/fb0")
|
||||||
(invoke #+(file-append kmod "/bin/modprobe")
|
(invoke #+(file-append kmod "/bin/modprobe")
|
||||||
"uvesafb"
|
"uvesafb"
|
||||||
(string-append "v86d=" #$v86d "/sbin/v86d")
|
(string-append "v86d=" #$v86d "/sbin/v86d")
|
||||||
|
|
Loading…
Reference in a new issue