Commit 535b34bd authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: refactoring



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent c9d5e862
...@@ -40,11 +40,24 @@ delay_start ...@@ -40,11 +40,24 @@ delay_start
# Actual run ${TOOL} twice # Actual run ${TOOL} twice
mkdir -p $BUILDDIR/b1/${TOOL} mkdir -p $BUILDDIR/b1/${TOOL}
mkdir -p $BUILDDIR/b2/${TOOL} mkdir -p $BUILDDIR/b2/${TOOL}
output_echo "Verbosely running ${TOOL} $SUITE for the first run." output_echo "Verbosely running ${TOOL} $SUITE for the first run."
sudo ${TOOL} -v $SUITE > $BUILDDIR/b1/${TOOL}/${SUITE}.tar case ${TOOL} in
mmdebstrap) sudo ${TOOL} -v $SUITE > $BUILDDIR/b1/${TOOL}/${SUITE}.tar
;;
*) echo "Failure: ${TOOL} is unsupported."
exit 1
;;
esac
output_echo "Running ${TOOL} $SUITE for the second run." output_echo "Running ${TOOL} $SUITE for the second run."
sudo ${TOOL} $SUITE > $BUILDDIR/b2/${TOOL}/${SUITE}.tar case ${TOOL} in
mmdebstrap) sudo ${TOOL} $SUITE > $BUILDDIR/b2/${TOOL}/${SUITE}.tar
;;
*) echo "Failure: ${TOOL} is unsupported."
exit 1
;;
esac
output_echo "Done running ${TOOL} twice." output_echo "Done running ${TOOL} twice."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment