From e9c7335ff5b7d7ad3ca097bf6769523c10838f73 Mon Sep 17 00:00:00 2001 From: Valentin David Date: Mon, 30 Mar 2026 09:54:38 +0200 Subject: [PATCH] discover-image: Ignore sysupdate temporary files Sysupdate temporary file names do not match their extension-release names. So they will always fail. That makes enabling any other sysexts/confexts fail which has catastrophic consequences. Unfortunately since 260, sysupdate leaves temporary files for long time instead just while downloading. So this kind of failure now happens much more often. (cherry picked from commit 53b44ddfa7e603151299f0948572a89e38379d30) --- src/shared/discover-image.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shared/discover-image.c b/src/shared/discover-image.c index dd924523158..07331f3a7e2 100644 --- a/src/shared/discover-image.c +++ b/src/shared/discover-image.c @@ -1110,6 +1110,10 @@ int image_discover( if (dot_or_dot_dot(fname)) continue; + /* Ignore sysupdate temporary files */ + if (startswith(fname, ".sysupdate.")) + continue; + fname_path = path_join(search_path, fname); if (!fname_path) return -ENOMEM;