summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-03-03 01:29:18 +0100
committerLudovic Courtès <ludo@gnu.org>2018-03-03 09:41:21 +0100
commitf850e0da8e56b8e38b0a6c49f4c0618f16c8c572 (patch)
tree27b4ff0c3da6d68fde6f455e38dda4d1ef84234a /gnu/system
parent5a3716aebfa3a967165499589f044514dc1d98d7 (diff)
downloadpatches-f850e0da8e56b8e38b0a6c49f4c0618f16c8c572.tar
patches-f850e0da8e56b8e38b0a6c49f4c0618f16c8c572.tar.gz
system: beaglebone-black: Use 'initrd-modules'.
* gnu/system/examples/beaglebone-black.tmpl: Use 'initrd-modules' instead of 'initrd'.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/examples/beaglebone-black.tmpl9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/system/examples/beaglebone-black.tmpl b/gnu/system/examples/beaglebone-black.tmpl
index 4b090e0fb7..97201330c7 100644
--- a/gnu/system/examples/beaglebone-black.tmpl
+++ b/gnu/system/examples/beaglebone-black.tmpl
@@ -15,11 +15,10 @@
(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)