From 3897ef41f7033373b69a668d2a17ea63de3b9885 Mon Sep 17 00:00:00 2001 From: Tomaz Zaman Date: Mon, 10 Aug 2026 20:10:19 +0200 Subject: [PATCH 22/77] mono-update: force-rebuild the identity package per release /etc/mono_release is generated in mono-update-check's Build/Prepare; without a forced rebuild every release ships whatever tag existed at the package's first-ever build (observed: 'dev' in mono-v25.12.5-r2), which auto-mode devices would treat as a permanent pending update. Co-Authored-By: Claude Fable 5 --- scripts/mono-update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/mono-update.sh b/scripts/mono-update.sh index 1943c6a3c9..b7b9cd186b 100755 --- a/scripts/mono-update.sh +++ b/scripts/mono-update.sh @@ -84,6 +84,10 @@ cleanup_fail() { cp configs/mono_gateway-dk.seed .config make defconfig || cleanup_fail +# mono-update-check bakes the release tag into /etc/mono_release at its +# build time; force it fresh or every image ships the stale identity of +# the package's first build (and auto-mode devices re-flash forever). +make package/mono/mono-update-check/{clean,compile} || cleanup_fail make -j"$(nproc)" world || cleanup_fail OUT="releases/$RELTAG" -- 2.47.3