mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-12-09 18:41:04 +01:00
uboot: add package option
This commit is contained in:
parent
a993f0cd59
commit
9b56cda093
2 changed files with 6 additions and 3 deletions
|
|
@ -26,7 +26,7 @@
|
|||
populate-kernel =
|
||||
if cfg.uboot.enable
|
||||
then ''
|
||||
cp ${pkgs.uboot-rpi-arm64}/u-boot.bin firmware/u-boot-rpi-arm64.bin
|
||||
cp ${cfg.uboot.package}/u-boot.bin firmware/u-boot-rpi-arm64.bin
|
||||
''
|
||||
else ''
|
||||
cp "${kernel}/Image" firmware/kernel.img
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue