summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-05 16:11:48 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-05 16:11:48 +0200
commit248938075fc0933495bbf91ea83a1ac6849a90fc (patch)
treeb49168199a275afc808aec005623e45046263758
parente41825cae0ad219dd99082771f35dad4caf3ad62 (diff)
downloadjenkins.debian.net-248938075fc0933495bbf91ea83a1ac6849a90fc.tar.xz
reproducible: remove no-op
-rwxr-xr-xbin/reproducible_build.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index c023b545..8c53e410 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -97,10 +97,6 @@ cleanup_userContent() {
rm -f /var/lib/jenkins/userContent/rbuild/${SRCPACKAGE}_*.rbuild.log > /dev/null 2>&1
}
-move_rbuildlog() {
- mv ${RBUILDLOG} /var/lib/jenkins/userContent/rbuild/
-}
-
TMPDIR=$(mktemp --tmpdir=$PWD -d)
NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l)
COUNT_TOTAL=0
@@ -143,7 +139,6 @@ for SRCPACKAGE in ${PACKAGES} ; do
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO source_packages VALUES (\"${SRCPACKAGE}\", \"None\", \"404\", \"$DATE\")"
set +x
echo "Warning: ${SRCPACKAGE} is not a source package, or was removed or renamed. Please investigate."
- move_rbuildlog
continue
else
VERSION=$(grep "^Version: " ${SRCPACKAGE}_*.dsc| grep -v "GnuPG v" | sort -r | head -1 | cut -d " " -f2-)
@@ -160,7 +155,6 @@ for SRCPACKAGE in ${PACKAGES} ; do
let "COUNT_SKIPPED=COUNT_SKIPPED+1"
SKIPPED="${SRCPACKAGE} ${SKIPPED}"
continue
- move_rbuildlog
fi
sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_*.dsc | tee ${SRCPACKAGE}_${EVERSION}.pbuilder.log
cat ${SRCPACKAGE}_${EVERSION}.pbuilder.log >> ${RBUILDLOG}
@@ -215,7 +209,6 @@ for SRCPACKAGE in ${PACKAGES} ; do
set -x
dcmd rm ${SRCPACKAGE}_${EVERSION}.dsc
rm -f ${SRCPACKAGE}_* > /dev/null 2>&1
- move_rbuildlog
fi
set +x