system: beaglebone-black: Use 'initrd-modules'.

* gnu/system/examples/beaglebone-black.tmpl: Use 'initrd-modules'
instead of 'initrd'.
This commit is contained in:
Ludovic Courtès 2018-03-03 01:29:18 +01:00
parent 5a3716aebf
commit f850e0da8e
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 5 deletions

View File

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