summary refs log tree commit diff
path: root/nixos/modules/system/boot
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2018-09-23 17:40:12 -0400
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2018-10-21 17:44:11 +0300
commiteadb9c822b3ffe13c461c086400f3d0584893b5c (patch)
treebf8c6c66b43d4f2ea0f090b9e047aded6c670b8e /nixos/modules/system/boot
parente2fbada6f8d24660f68ad2b48f8a5cc900f095fc (diff)
downloadnixlib-eadb9c822b3ffe13c461c086400f3d0584893b5c.tar
nixlib-eadb9c822b3ffe13c461c086400f3d0584893b5c.tar.gz
nixlib-eadb9c822b3ffe13c461c086400f3d0584893b5c.tar.bz2
nixlib-eadb9c822b3ffe13c461c086400f3d0584893b5c.tar.lz
nixlib-eadb9c822b3ffe13c461c086400f3d0584893b5c.tar.xz
nixlib-eadb9c822b3ffe13c461c086400f3d0584893b5c.tar.zst
nixlib-eadb9c822b3ffe13c461c086400f3d0584893b5c.zip
raspberrypi-bootloader: pass initrd to kernel
NixOS is unable to boot using the RPi bootloader (w/o U-Boot) unless the initrd
is configured.
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r--nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
index 17c09d7c4f60..7e089507ff20 100644
--- a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
+++ b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
@@ -38,6 +38,7 @@ let
       kernel=u-boot-rpi.bin
     '' else ''
       kernel=kernel.img
+      initramfs initrd followkernel
     '') + optional (cfg.firmwareConfig != null) cfg.firmwareConfig);
 
 in