aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-12-22 08:46:56 +0100
committerMathieu Othacehe <m.othacehe@gmail.com>2017-12-22 08:49:57 +0100
commita468f897437acfc1c70987a6df252c4735e3bf2d (patch)
tree0f09a78d4ce33cbc1f768d5a29b184a1744d3434
parent5145001a1536e64d63693ab3daf0f86c55e35a79 (diff)
downloadguix-a468f897437acfc1c70987a6df252c4735e3bf2d.tar
guix-a468f897437acfc1c70987a6df252c4735e3bf2d.tar.gz
system: examples: Add missing initrd to beaglebone-black.tmpl.
* gnu/system/examples/beaglebone-black.tmpl (operating-system): Add the initrd with "omap_hsmmc" as an extra-module.
-rw-r--r--gnu/system/examples/beaglebone-black.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/system/examples/beaglebone-black.tmpl b/gnu/system/examples/beaglebone-black.tmpl
index 609b801cab..4b090e0fb7 100644
--- a/gnu/system/examples/beaglebone-black.tmpl
+++ b/gnu/system/examples/beaglebone-black.tmpl
@@ -15,6 +15,11 @@
(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)))
(file-systems (cons (file-system
(device "my-root")
(title 'label)