[fix] remove hardcoded MiniRTC revision check from CLI setup

This commit is contained in:
dijunkun
2026-10-31 00:36:27 +08:00
parent 915cfe3a04
commit 84270fe065
3 changed files with 3 additions and 5 deletions
-2
View File
@@ -2,8 +2,6 @@
set -eu
cd "$(dirname "$0")/../../.."
git submodule update --init --recursive
actual=$(git -C deps/submodules/minirtc rev-parse HEAD)
[ "$actual" = b9ee1fa7fe038fdf771f5dec1b1d561d78273f15 ] || { echo 'Unexpected MiniRTC revision' >&2; exit 1; }
patch_file="$(pwd)/deps/patches/minirtc-credential-logs.patch"
if git -C deps/submodules/minirtc apply --reverse --check "$patch_file" 2>/dev/null; then
exit 0