summary refs log tree commit diff
path: root/gnu/system/vm.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-03-03 01:25:15 +0100
committerLudovic Courtès <ludo@gnu.org>2018-03-03 09:41:21 +0100
commit5a3716aebfa3a967165499589f044514dc1d98d7 (patch)
tree1183a66637956ff9b2b2aa9427aaeb76a092a97d /gnu/system/vm.scm
parent3cb3a4e6e5c8252829a4ef9fd3d0f897c0c5e53f (diff)
downloadguix-5a3716aebfa3a967165499589f044514dc1d98d7.tar.gz
vm: Add missing modules to the 'expression->derivation-in-linux-vm' initrd.
Fixes a regression introduced in
bc499b113a598c0e7863da9887a4133472985713, whereby the default initrd
used by 'expression->derivation-in-linux-vm' would lack all the usual
modules: virtio, nls_iso8859-1, etc.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass
 #:linux-modules to 'base-initrd'.
Diffstat (limited to 'gnu/system/vm.scm')
-rw-r--r--gnu/system/vm.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 345cecedd8..db29fd5ce9 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -143,6 +143,7 @@ made available under the /xchg CIFS share."
                          (return initrd)
                          (base-initrd %linux-vm-file-systems
                                       #:linux linux
+                                      #:linux-modules %base-initrd-modules
                                       #:virtio? #t
                                       #:qemu-networking? #t))))