rpiboot: add updateScript (#351604)

This commit is contained in:
Artturin 2024-11-06 00:06:56 +02:00 committed by GitHub
commit a5e267e59e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
gitUpdater,
libusb1, libusb1,
pkg-config, pkg-config,
}: }:
@ -31,6 +32,8 @@ stdenv.mkDerivation rec {
cp -r msd firmware eeprom-erase mass-storage-gadget* recovery* secure-boot* rpi-imager-embedded $out/share/rpiboot cp -r msd firmware eeprom-erase mass-storage-gadget* recovery* secure-boot* rpi-imager-embedded $out/share/rpiboot
''; '';
passthru.updateScript = gitUpdater { };
meta = { meta = {
homepage = "https://github.com/raspberrypi/usbboot"; homepage = "https://github.com/raspberrypi/usbboot";
changelog = "https://github.com/raspberrypi/usbboot/blob/${version}/debian/changelog"; changelog = "https://github.com/raspberrypi/usbboot/blob/${version}/debian/changelog";