forked from josch/mmdebstrap
make_mirror.sh: don't run debootstrap for untested scenario
This commit is contained in:
parent
e6ce901be4
commit
1aec25f043
1 changed files with 4 additions and 0 deletions
|
@ -251,6 +251,10 @@ mirror="http://127.0.0.1/debian"
|
|||
SOURCE_DATE_EPOCH=$(date --date="$(grep-dctrl -s Date -n '' "$mirrordir/dists/unstable/Release")" +%s)
|
||||
for dist in stable testing unstable; do
|
||||
for variant in minbase buildd -; do
|
||||
# skip because of different userids for apt/systemd
|
||||
if [ "$dist" = 'stable' ] && [ "$variant" = '-' ]; then
|
||||
continue
|
||||
fi
|
||||
echo running debootstrap --no-merged-usr --variant=$variant $dist /tmp/debian-$dist-debootstrap $mirror
|
||||
cat << END > shared/test.sh
|
||||
#!/bin/sh
|
||||
|
|
Loading…
Reference in a new issue