guix/gnu/system
Ludovic Courtès eac026e5c8
linux-initrd: Add virtio modules to '%base-initrd-modules'.
Fixes a regression in installation tests, whereby 'guix system init'
would report that virtio modules are missing for the target devices.
In practice virtio modules were always available since 'base-initrd' was
always called with #:virtio? #t.  This commit simply moves them to
'%base-initrd-modules' so that 'guix system' knows they're available.

Reported by Danny Milosavljevic <dannym@scratchpost.org> at
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30629#112>.

* gnu/system/linux-initrd.scm (default-initrd-modules): Add virtio
modules.
(base-initrd): Remove #:virtio? and 'virtio-modules'.
* gnu/system/vm.scm (expression->derivation-in-linux-vm)
(system-qemu-image, virtualized-operating-system): Remove uses of
 #:virtio?.
* doc/guix.texi (Initial RAM Disk): Update 'base-initrd' doc.
2018-03-03 09:41:21 +01:00
..
examples system: beaglebone-black: Use 'initrd-modules'. 2018-03-03 09:41:21 +01:00
file-systems.scm file-systems: Move %control-groups from %base-file-systems to 2017-12-22 15:03:10 +01:00
install.scm system: Add 'initrd-modules' field. 2018-03-02 13:53:10 +01:00
linux-container.scm file-systems: Add 'file-system-mapping->bind-mount'. 2017-02-03 00:23:28 +01:00
linux-initrd.scm linux-initrd: Add virtio modules to '%base-initrd-modules'. 2018-03-03 09:41:21 +01:00
locale.scm system: Put locales where libc will find them. 2018-01-24 11:18:49 -05:00
mapped-devices.scm guix system: Check for the lack of modules in the initrd. 2018-03-02 13:53:15 +01:00
nss.scm nss: Add '%mdns-host-lookup-nss'. 2015-05-08 16:35:32 +02:00
pam.scm services: Move 'session-environment-service-type' to pam.scm. 2017-09-22 00:05:08 +02:00
shadow.scm Merge branch 'master' into core-updates 2018-01-11 14:22:50 -08:00
uuid.scm uuid: Fix typo in comment. 2017-12-02 23:13:20 +01:00
vm.scm linux-initrd: Add virtio modules to '%base-initrd-modules'. 2018-03-03 09:41:21 +01:00