rpiboot: add updateScript

This commit is contained in:
Steffen Vogel
2024-10-27 10:05:58 +01:00
parent 787a0f6958
commit fc489f3789
+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";