linux-initrd: Remove the ".ko" suffix from module names in 'base-initrd'.

* gnu/system/linux-initrd.scm (base-initrd): Remove the .ko suffix from
  module names.
This commit is contained in:
Ludovic Courtès 2014-11-28 00:06:54 +01:00
parent d7e66f6295
commit 08b1990a93

View file

@ -166,15 +166,15 @@ (define* (base-initrd file-systems
loaded at boot time in the order in which they appear." loaded at boot time in the order in which they appear."
(define virtio-modules (define virtio-modules
;; Modules for Linux para-virtualized devices, for use in QEMU guests. ;; Modules for Linux para-virtualized devices, for use in QEMU guests.
'("virtio_pci.ko" "virtio_balloon.ko" "virtio_blk.ko" "virtio_net.ko")) '("virtio_pci" "virtio_balloon" "virtio_blk" "virtio_net"))
(define cifs-modules (define cifs-modules
;; Modules needed to mount CIFS file systems. ;; Modules needed to mount CIFS file systems.
'("md4.ko" "ecb.ko" "cifs.ko")) '("md4" "ecb" "cifs"))
(define virtio-9p-modules (define virtio-9p-modules
;; Modules for the 9p paravirtualized file system. ;; Modules for the 9p paravirtualized file system.
'("9p.ko" "9pnet_virtio.ko")) '("9p" "9pnet_virtio"))
(define (file-system-type-predicate type) (define (file-system-type-predicate type)
(lambda (fs) (lambda (fs)
@ -182,8 +182,8 @@ (define (file-system-type-predicate type)
(define linux-modules (define linux-modules
;; Modules added to the initrd and loaded from the initrd. ;; Modules added to the initrd and loaded from the initrd.
`("ahci.ko" ;for SATA controllers `("ahci" ;for SATA controllers
"pata_acpi.ko" "pata_atiixp.ko" ;for ATA controllers "pata_acpi" "pata_atiixp" ;for ATA controllers
,@(if (or virtio? qemu-networking?) ,@(if (or virtio? qemu-networking?)
virtio-modules virtio-modules
'()) '())
@ -194,7 +194,7 @@ (define linux-modules
virtio-9p-modules virtio-9p-modules
'()) '())
,@(if volatile-root? ,@(if volatile-root?
'("fuse.ko") '("fuse")
'()) '())
,@extra-modules)) ,@extra-modules))