From 1aec25f04334f584df911717e02132734ba2bf93 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 28 Dec 2018 07:16:59 +0100 Subject: [PATCH] make_mirror.sh: don't run debootstrap for untested scenario --- make_mirror.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/make_mirror.sh b/make_mirror.sh index 428b50e..bbae00f 100755 --- a/make_mirror.sh +++ b/make_mirror.sh @@ -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