summaryrefslogtreecommitdiffstats
path: root/multimedia/rpi-imager/remove_update_checking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/rpi-imager/remove_update_checking.patch')
-rw-r--r--multimedia/rpi-imager/remove_update_checking.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/multimedia/rpi-imager/remove_update_checking.patch b/multimedia/rpi-imager/remove_update_checking.patch
new file mode 100644
index 0000000000..f1e5d6b284
--- /dev/null
+++ b/multimedia/rpi-imager/remove_update_checking.patch
@@ -0,0 +1,17 @@
+diff --color --unified --recursive --text orig/src/main.qml new/src/main.qml
+--- orig/src/main.qml 2023-11-18 09:52:10.767398847 +0100
++++ new/src/main.qml 2023-11-18 09:53:12.521334474 +0100
+@@ -1500,13 +1500,6 @@
+ }
+ }
+ }
+-
+- if (imageWriter.getBoolSetting("check_version") && "latest_version" in imager && "url" in imager) {
+- if (!imageWriter.isEmbeddedMode() && imageWriter.isVersionNewer(imager["latest_version"])) {
+- updatepopup.url = imager["url"]
+- updatepopup.openPopup()
+- }
+- }
+ if ("default_os" in imager) {
+ selectNamedOS(imager["default_os"], osmodel)
+ }