#!/bin/bash # Rebuild row 121's candidate: export BASE, apply build.patch, check every # digest in candidate-manifest.sha256. Run from the packet directory. set -euo pipefail BASE=eaeb5ebf2b4bf3d4ba379523595fb529e3e5a789 HERE=$(cd "$(dirname "$0")" && pwd) X=$(mktemp -d) trap 'rm -rf "$X"' EXIT git -C /mnt/storage/src/mosaic-stack archive "$BASE" | tar -x -C "$X" cd "$X" git apply "$HERE/build.patch" sha256sum -c --quiet "$HERE/candidate-manifest.sha256" && echo DIGESTS_OK