mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-12-01 01:37:08 +03:00
Update go2rtc to 1.10.0 (#25129)
This commit is contained in:
@@ -2,18 +2,21 @@
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
go2rtc_version="1.9.14"
|
||||
go2rtc_version="1.10.0"
|
||||
|
||||
# sha256 digests of the release binaries; update when bumping go2rtc_version.
|
||||
# sha256 digests of the release archives; update when bumping go2rtc_version.
|
||||
declare -A go2rtc_checksums=(
|
||||
["amd64"]="32d616af226bd731678ffde328b94cfb94e30339bfefc469cfb76323144615a6"
|
||||
["arm64"]="359fabade8a7a51e81a55fe6df6b0ef81764a5e1d63179577534eaaa71904b50"
|
||||
["amd64"]="345d02a82ccd36028d98ef821cdc50cedabe919710c0d7506a86ed0e397d179b"
|
||||
["arm64"]="8951fda217fd637969b9936c8fc49ab2392e87fea6979b2ee99b755a70a8399d"
|
||||
)
|
||||
|
||||
dest_dir="/rootfs/usr/local/go2rtc/bin"
|
||||
tarball="/tmp/go2rtc_linux_${TARGETARCH}.tar.gz"
|
||||
mkdir -p "${dest_dir}"
|
||||
|
||||
wget -qO "${dest_dir}/go2rtc" \
|
||||
"https://github.com/AlexxIT/go2rtc/releases/download/v${go2rtc_version}/go2rtc_linux_${TARGETARCH}"
|
||||
echo "${go2rtc_checksums[${TARGETARCH}]} ${dest_dir}/go2rtc" | sha256sum -c -
|
||||
wget -qO "${tarball}" \
|
||||
"https://github.com/AlexxIT/go2rtc/releases/download/v${go2rtc_version}/go2rtc_linux_${TARGETARCH}.tar.gz"
|
||||
echo "${go2rtc_checksums[${TARGETARCH}]} ${tarball}" | sha256sum -c -
|
||||
tar -xzOf "${tarball}" "go2rtc_linux_${TARGETARCH}" > "${dest_dir}/go2rtc"
|
||||
rm -f "${tarball}"
|
||||
chmod 755 "${dest_dir}/go2rtc"
|
||||
|
||||
@@ -189,7 +189,7 @@ done
|
||||
# go2rtc (separate user) must be able to REACH its HomeKit state in /config.
|
||||
# Write access is per-file, not per-directory: go2rtc's PatchConfig rewrites
|
||||
# the first -config file via os.WriteFile (in-place truncate, no rename,
|
||||
# verified against go2rtc v1.9.14 internal/app/config.go), and the file is
|
||||
# verified against go2rtc v1.10.0 internal/app/config.go), and the file is
|
||||
# always pre-created by setup_homekit_config before go2rtc starts, so
|
||||
# O_CREATE never needs directory write. See header comment for why g+w is
|
||||
# forbidden here.
|
||||
|
||||
Reference in New Issue
Block a user