Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created January 2, 2020 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueldr/58b4daed4d1d9de5453c26422ac3171c to your computer and use it in GitHub Desktop.
Save samueldr/58b4daed4d1d9de5453c26422ac3171c to your computer and use it in GitHub Desktop.
diff --git a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
index 2d34406a032..255a7887f7d 100644
--- a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
@@ -50,9 +50,6 @@ in
avoid_warnings=1
'';
in ''
- (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/firmware/)
- cp ${pkgs.ubootRaspberryPi3_64bit}/u-boot.bin firmware/u-boot-rpi3.bin
- cp ${configTxt} firmware/config.txt
'';
populateRootCommands = ''
mkdir -p ./files/boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment