mhw pushed a commit to branch wip-loongson2f
in repository guix.
commit b6ae9fd10c56a03d36754e5173c4bbe5abef164e
Author: Mark H Weaver <[email protected]>
Date: Sun Aug 9 03:40:25 2015 -0400
MIPS_ONLY: Don't try to copy modules that don't exist in the loongson2f
kernel.
---
gnu/system/linux-initrd.scm | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 48b855b..a61a6b6 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -161,7 +161,8 @@ loaded at boot time in the order in which they appear."
(define virtio-modules
;; Modules for Linux para-virtualized devices, for use in QEMU guests.
'("virtio_pci" "virtio_balloon" "virtio_blk" "virtio_net"
- "virtio_console"))
+ #;"virtio_console"
+ ))
(define cifs-modules
;; Modules needed to mount CIFS file systems.
@@ -177,11 +178,11 @@ loaded at boot time in the order in which they appear."
(define linux-modules
;; Modules added to the initrd and loaded from the initrd.
- `("ahci" ;for SATA controllers
- "pata_acpi" "pata_atiixp" ;for ATA controllers
- "isci" ;for SAS controllers like Intel C602
- "usb-storage" "uas" ;for the installation image etc.
- "usbkbd" "usbhid" ;USB keyboards, for debugging
+ `(;"ahci" ;for SATA controllers
+ ;"pata_acpi" "pata_atiixp" ;for ATA controllers
+ ;"isci" ;for SAS controllers like Intel C602
+ ;"usb-storage" "uas" ;for the installation image etc.
+ #;"usbkbd" "usbhid" ;USB keyboards, for debugging
,@(if (or virtio? qemu-networking?)
virtio-modules
'())