summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-26 19:40:21 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-26 19:40:21 +0100
commit8b0a8c500b4200b1a114cbbd106a6e4d111c415b (patch)
tree2cd70485f8d09f28273131d4aaa31e42c8b21fef
parent2433f821dcb571c26135c39f6695f863622b2322 (diff)
downloadjenkins.debian.net-8b0a8c500b4200b1a114cbbd106a6e4d111c415b.tar.xz
reproducible: revert using --target-release as it doesnt work..
-rwxr-xr-xbin/reproducible_build.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 7546294e..5e22f664 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -143,7 +143,10 @@ else
echo "Starting to build ${SRCPACKAGE}/${SUITE} on $DATE" | tee ${RBUILDLOG}
echo "The jenkins build log is/was available at $BUILD_URL/console" | tee -a ${RBUILDLOG}
set +e
- apt-get source --download-only --only-source --target-release ${SUITE} ${SRCPACKAGE} >> ${RBUILDLOG} 2>&1
+ # host has only sid in deb-src in sources.list
+ # FIXME: this shall be fixed using schroots
+ # also see 10 lines below for the same code...
+ apt-get --download-only --only-source source ${SRCPACKAGE} >> ${RBUILDLOG} 2>&1
RESULT=$?
if [ $RESULT != 0 ] ; then
# sometimes apt-get cannot download a package for whatever reason.
@@ -152,7 +155,8 @@ else
ls -l ${SRCPACKAGE}* | tee -a ${RBUILDLOG}
echo "Sleeping 5m before re-trying..." | tee -a ${RBUILDLOG}
sleep 5m
- apt-get source --download-only --only-source --target-release ${SUITE} ${SRCPACKAGE} >> ${RBUILDLOG} 2>&1
+ # host has only sid in deb-src in sources.list
+ apt-get source --download-only --only-source ${SRCPACKAGE} >> ${RBUILDLOG} 2>&1
RESULT=$?
fi
if [ $RESULT != 0 ] ; then