diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-10 12:59:05 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-10 12:59:05 +0200 |
commit | 4320f7cc8da9c9a970d4a7cb5e36c8b7138bd069 (patch) | |
tree | 9f48ad410471e1eb223caadcc55312252a058d18 | |
parent | 00ae28f2e8c659ba2848c1a12683bed483f31c08 (diff) | |
download | jenkins.debian.net-4320f7cc8da9c9a970d4a7cb5e36c8b7138bd069.tar.xz |
reproducible: run pbuilder with nice ionice -c 3
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | bin/reproducible_build.sh | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -127,6 +127,7 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian * watch: android: no debbindiff output? * watch: swig/subversion (FTBFS, report note at least...) * watch: hurd-libfuse: should be not for us +* run pbuilder with timeout 12h * generate .json for tracker.d.o * reschedule all pkg tested before oct 06 00:00 UTC (we want to know if they generate .buildinfo files) * reschedule all files with 0 length .rbuild.log files diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index c999fe00..361ea1d9 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -168,7 +168,7 @@ for SRCPACKAGE in ${PACKAGES} ; do SKIPPED="${SRCPACKAGE} ${SKIPPED}" continue fi - sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_*.dsc 2>&1 | tee -a ${RBUILDLOG} + nice ionice -c 3 sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_*.dsc 2>&1 | tee -a ${RBUILDLOG} if [ -f /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes ] ; then mkdir b1 b2 dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes b1 @@ -176,7 +176,7 @@ for SRCPACKAGE in ${PACKAGES} ; do # so first delete files from .dsc, then from .changes file sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}.dsc sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes - sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_${EVERSION}.dsc + nice ionice -c 3 sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" pbuilder --build --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_${EVERSION}.dsc dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes b2 # and again (see comment 5 lines above) sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}.dsc |