~ruther/guix-local

f914963e47baa70ea931c04b7ca348884a41786e — Ludovic Courtès 12 years ago 7b99ba4
gnu: linux-libre: Build virtio modules.

* gnu/packages/linux.scm (linux-libre): Build modules matching
  CONFIG.*VIRTIO.
1 files changed, 5 insertions(+), 1 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +5 -1
@@ 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