raspberrypi-bootloader: allow specification of target directory

This commit is contained in:
Ben Wolsieffer
2018-09-04 16:52:29 -04:00
committed by Tuomas Tynkkynen
parent 73f796aa62
commit bcb9e17bba
3 changed files with 53 additions and 42 deletions

View File

@@ -0,0 +1,10 @@
{ pkgs, version, configTxt }:
pkgs.substituteAll {
src = ./raspberrypi-builder.sh;
isExecutable = true;
inherit (pkgs) bash;
path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
firmware = pkgs.raspberrypifw;
inherit version configTxt;
}