10 lines
396 B
Bash
Executable File
10 lines
396 B
Bash
Executable File
#!/bin/bash
|
|
# Apply build.patch to a fresh export of BASE and compare every manifest digest.
|
|
set -euo pipefail
|
|
P=~/darkwing-scratch/r116/pkt
|
|
X=~/darkwing-scratch/r116/repro
|
|
rm -rf "$X"; mkdir -p "$X"
|
|
git -C /mnt/storage/src/mosaic-stack archive 1223a0f37 | tar -x -C "$X"
|
|
(cd "$X" && git apply "$P/build.patch")
|
|
(cd "$X" && sha256sum -c --quiet "$P/candidate-manifest.sha256") && echo DIGESTS_OK
|