Files
minideb/buildall
T
2020-07-02 16:32:35 +00:00

29 lines
427 B
Bash
Executable File

#!/bin/bash
# Build a minideb image for each supported dist
set -e
set -u
set -o pipefail
dist="jessie
stretch
buster
unstable
"
dist_with_snapshot="buster"
for i in $dist; do
./buildone "$i"
done
snapshot_id=$(./snapshot_id)
if [ -n "$snapshot_id" ]; then
for i in $dist_with_snapshot; do
./buildone_snapshot "$i" "$snapshot_id"
done
mkdir -p build
echo "$snapshot_id" > build/snapshot_id
fi