system: beaglebone-black: Use 'initrd-modules'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 3 Mar 2018 00:29:18 +0000 (01:29 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 3 Mar 2018 08:41:21 +0000 (09:41 +0100)
* gnu/system/examples/beaglebone-black.tmpl: Use 'initrd-modules'
instead of 'initrd'.

gnu/system/examples/beaglebone-black.tmpl

index 4b090e0..9720133 100644 (file)
   (bootloader (bootloader-configuration
                (bootloader u-boot-beaglebone-black-bootloader)
                (target "/dev/mmcblk1")))
-  (initrd (lambda (fs . rest)
-            (apply base-initrd fs
-                   ;; This module is required to mount the sd card.
-                   #:extra-modules (list "omap_hsmmc")
-                   rest)))
+
+  ;; This module is required to mount the SD card.
+  (initrd-modules (cons "omap_hsmmc" %base-initrd-modules))
+
   (file-systems (cons (file-system
                         (device "my-root")
                         (title 'label)