rpiboot: add updateScript (#351604)

This commit is contained in:
Artturin
2024-11-06 00:06:56 +02:00
committed by GitHub
+3
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
gitUpdater,
libusb1,
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
'';
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://github.com/raspberrypi/usbboot";
changelog = "https://github.com/raspberrypi/usbboot/blob/${version}/debian/changelog";