mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: linux-libre: Build virtio modules.
* gnu/packages/linux.scm (linux-libre): Build modules matching CONFIG.*VIRTIO.
This commit is contained in:
parent
7b99ba4acd
commit
f914963e47
1 changed files with 5 additions and 1 deletions
|
@ -163,7 +163,11 @@ (define-public linux-libre
|
|||
(format #t "enabling additional modules...~%")
|
||||
(substitute* ".config"
|
||||
(("^# CONFIG_CIFS.*$")
|
||||
"CONFIG_CIFS=m\n"))
|
||||
"CONFIG_CIFS=m\n")
|
||||
(("^# CONFIG_([[:graph:]]*)VIRTIO([[:graph:]]*) .*$"
|
||||
_ before after)
|
||||
(string-append "CONFIG_" before "VIRTIO"
|
||||
after "=m\n")))
|
||||
(zero? (system* "make" "oldconfig")))
|
||||
|
||||
;; Call the default `build' phase so `-j' is correctly
|
||||
|
|
Loading…
Reference in a new issue