system: beaglebone-black: Use 'initrd-modules'.
* gnu/system/examples/beaglebone-black.tmpl: Use 'initrd-modules' instead of 'initrd'.
This commit is contained in:
parent
5a3716aebf
commit
f850e0da8e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue