configs  Check-in [c4c20b1c01]

Overview
Comment:bootstrap.sh: Update checkin hash
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c4c20b1c016bb8f0cdd02bcd0e9bfd375ac09c5dc1826656f5ebb62be7f1ce86
User & Date: js on 2024-10-27 23:28:02
Other Links: manifest | tags
Context
2024-10-27
23:30
bootstrap.sh: Use curl instead of wget check-in: d18b0ecc95 user: js tags: trunk
23:28
bootstrap.sh: Update checkin hash check-in: c4c20b1c01 user: js tags: trunk
2024-10-11
19:59
git: Update signing key check-in: 2eb2ee80f6 user: js tags: trunk
Changes

Modified bootstrap.sh from [67626c0d17] to [5ed3bd3da2].

1
2
3
4
5
6
7
8
9
10
11
12

13
14
15
16
17
18
19
1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
17
18
19











-
+







#!/bin/sh
#
#  This script bootstraps the configs repo on a machine that has no Fossil
#  installed while verifying everything against embedded hashes. The idea is to
#  have a single script that needs to be copied to the target machine and then
#  bootstraps everything in a trusted way.
# 

set -e
fossil_version="2.24"
fossil_sha512="7fc7de7d947b0946866df38c6cb2215f6452d31903cae6470bb4a692816b2803eb66ea372280256e5cd00759e4d02a0ae459de2f56f39af10e873579d53d33ee"
config_checkin="c86690c5919cdcbfc31ec23b7438039a43211055fc883e6013c2c8dd18aee922"
config_checkin="2eb2ee80f62086ec2644141df14caaa6f6f2427119c99d862fabc3bd18fa197f"

download_and_verify() {
	wget -O "$1" "$2"
	hash="$(openssl sha512 "$1" | cut -d' ' -f 2)"

	echo "Hash for $1:"
	echo "  Expected: $3"