Commit febd8f57 authored by Holger Levsen's avatar Holger Levsen
Browse files

WIP: reproducible debian: support testing multiple archs on one host

parent 6cd42750
...@@ -123,8 +123,8 @@ setup_pbuilder() { ...@@ -123,8 +123,8 @@ setup_pbuilder() {
# #
# main # main
# #
BASETGZ=/var/cache/pbuilder/$SUITE-reproducible-base.tgz BASETGZ=/var/cache/pbuilder/$SUITE-$ARCH-reproducible-base.tgz
STAMP=/var/log/jenkins/$SUITE-reproducible-base.tgz.stamp STAMP=/var/log/jenkins/$SUITE-$ARCH-reproducible-base.tgz.stamp
OLDSTAMP=$(find $STAMP -mtime +1 -exec ls -lad {} \; || echo "nostamp") OLDSTAMP=$(find $STAMP -mtime +1 -exec ls -lad {} \; || echo "nostamp")
if [ -n "$OLDSTAMP" ] || [ ! -f $BASETGZ ] || [ ! -f $STAMP ] ; then if [ -n "$OLDSTAMP" ] || [ ! -f $BASETGZ ] || [ ! -f $STAMP ] ; then
if [ ! -f $BASETGZ ] ; then if [ ! -f $BASETGZ ] ; then
...@@ -132,7 +132,7 @@ if [ -n "$OLDSTAMP" ] || [ ! -f $BASETGZ ] || [ ! -f $STAMP ] ; then ...@@ -132,7 +132,7 @@ if [ -n "$OLDSTAMP" ] || [ ! -f $BASETGZ ] || [ ! -f $STAMP ] ; then
else else
echo "$BASETGZ outdated, creating a new one..." echo "$BASETGZ outdated, creating a new one..."
fi fi
setup_pbuilder $SUITE $SUITE-reproducible-base dpkg dpkg-dev setup_pbuilder $SUITE-$ARCH $SUITE-$ARCH-reproducible-base dpkg dpkg-dev
else else
echo "$BASETGZ not old enough, doing nothing..." echo "$BASETGZ not old enough, doing nothing..."
fi fi
......
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