Skip to content

Commit

Permalink
Fail build if firmware fetch fails
Browse files Browse the repository at this point in the history
  • Loading branch information
valtzu committed Sep 24, 2023
1 parent 9d3d26f commit de37f3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mkosi.build
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ kver=$(basename $DESTDIR/usr/lib/modules/*-v8+)

mv $DESTDIR/efi/kernel8.img $DESTDIR/usr/lib/modules/$kver/vmlinuz

curl -L 'https://github.com/valtzu/rpi-efi-firmware/releases/download/0.1.0/RPI_EFI.fd' > $DESTDIR/efi/RPI_EFI.fd
curl --fail -L 'https://github.com/valtzu/rpi-efi-firmware/releases/download/0.1.1/RPI_EFI.fd' -o $DESTDIR/efi/RPI_EFI.fd


0 comments on commit de37f3e

Please sign in to comment.