From 8b0a8c500b4200b1a114cbbd106a6e4d111c415b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 26 Feb 2015 19:40:21 +0100 Subject: reproducible: revert using --target-release as it doesnt work.. --- bin/reproducible_build.sh | 8 ++++++-- 1 file 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 -- cgit v1.2.3-70-g09d2