From f914963e47baa70ea931c04b7ca348884a41786e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 29 Jan 2014 23:42:36 +0100 Subject: gnu: linux-libre: Build virtio modules. * gnu/packages/linux.scm (linux-libre): Build modules matching CONFIG.*VIRTIO. --- gnu/packages/linux.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index b79318f23a..8fe91b4e9f 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -163,7 +163,11 @@ (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 -- cgit v1.2.3