~ruther/guix-local

f850e0da8e56b8e38b0a6c49f4c0618f16c8c572 — Ludovic Courtès 8 years ago 5a3716a
system: beaglebone-black: Use 'initrd-modules'.

* gnu/system/examples/beaglebone-black.tmpl: Use 'initrd-modules'
instead of 'initrd'.
1 files changed, 4 insertions(+), 5 deletions(-)

M gnu/system/examples/beaglebone-black.tmpl
M gnu/system/examples/beaglebone-black.tmpl => gnu/system/examples/beaglebone-black.tmpl +4 -5
@@ 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)