mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-07 21:50:35 +02:00
gnu: linux-libre: Build more virtio modules.
* gnu/packages/linux.scm (linux-libre): Append CONFIG_NET_9P_VIRTIO and
CONFIG_VIRTIO_{NET,BLK,BALLOON} to '.config'.
This commit is contained in:
@@ -168,6 +168,17 @@
|
||||
_ before after)
|
||||
(string-append "CONFIG_" before "VIRTIO"
|
||||
after "=m\n")))
|
||||
|
||||
;; XXX: For some reason, some virtio modules need to be
|
||||
;; explicitly added.
|
||||
(let ((port (open-file ".config" "a")))
|
||||
(display (string-append "CONFIG_NET_9P_VIRTIO=m\n"
|
||||
"CONFIG_VIRTIO_NET=m\n"
|
||||
"CONFIG_VIRTIO_BLK=m\n"
|
||||
"CONFIG_VIRTIO_BALLOON=m\n")
|
||||
port)
|
||||
(close-port port))
|
||||
|
||||
(zero? (system* "make" "oldconfig")))
|
||||
|
||||
;; Call the default `build' phase so `-j' is correctly
|
||||
|
||||
Reference in New Issue
Block a user