uboot: add package option

This commit is contained in:
dorkeline 2024-08-22 11:17:24 +02:00
parent a993f0cd59
commit 9b56cda093
2 changed files with 6 additions and 3 deletions

View file

@ -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