mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 19:46:03 +01:00
Merge pull request #55 from dorkeline/uboot-add-package-option-2
This commit is contained in:
commit
d37f25bf2a
1 changed files with 1 additions and 2 deletions
|
|
@ -101,7 +101,6 @@ in
|
|||
TARGET_FIRMWARE_DIR="${firmware-path}"
|
||||
TARGET_OVERLAYS_DIR="$TARGET_FIRMWARE_DIR/overlays"
|
||||
TMPFILE="$TARGET_FIRMWARE_DIR/tmp"
|
||||
UBOOT="${cfg.uboot.package}/u-boot.bin"
|
||||
KERNEL="${kernel}/Image"
|
||||
SHOULD_UBOOT=${if cfg.uboot.enable then "1" else "0"}
|
||||
SRC_FIRMWARE_DIR="${pkgs.raspberrypifw}/share/raspberrypi/boot"
|
||||
|
|
@ -114,7 +113,7 @@ in
|
|||
CONFIG="${config.hardware.raspberry-pi.config-output}"
|
||||
|
||||
${lib.strings.optionalString cfg.uboot.enable ''
|
||||
UBOOT="${pkgs.uboot-rpi-arm64}/u-boot.bin"
|
||||
UBOOT="${cfg.uboot.package}/u-boot.bin"
|
||||
|
||||
migrate_uboot() {
|
||||
echo "migrating uboot"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue