summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-10 18:44:14 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-10 18:44:14 +0200
commit0a9ba5f959b96e7c07f1603ad060e4e2978a1978 (patch)
tree5ed20fb40027633d5945ca6ce18c6f609120d26d /bin
parentb7b6f24f85a6c2fdeae31e9f0de9f73fe906ec7a (diff)
downloadjenkins.debian.net-0a9ba5f959b96e7c07f1603ad060e4e2978a1978.tar.xz
reproducible: blacklist xmds2
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh4
-rwxr-xr-xbin/reproducible_setup.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 2a76ca1a..ed38a01a 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -44,7 +44,7 @@ if [ $1 = "unknown" ] ; then
GUESSES=$(echo "${AMOUNT}*3" | bc)
PACKAGES=""
# FIXME: blacklisted is a valid status in the db which should be used...
- CANDIDATES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | egrep -v "^(linux|cups|zurl|openclipart|eigen3)$" | sort -R | head -$GUESSES | xargs echo)
+ CANDIDATES=$(xzcat $TMPFILE | grep "^Package" | grep -v "^Package-List:" | cut -d " " -f2 | egrep -v "^(linux|cups|zurl|openclipart|eigen3|xmds2)$" | sort -R | head -$GUESSES | xargs echo)
for PKG in $CANDIDATES ; do
if [ $REAL_AMOUNT -eq $AMOUNT ] ; then
continue
@@ -58,7 +58,7 @@ elif [ $1 = "known" ] ; then
update_sources_table
AMOUNT=$2
# FIXME: blacklisted is a valid status in the db which should be used...
- PACKAGES=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT DISTINCT source_packages.name FROM source_packages,sources WHERE sources.version IN (SELECT version FROM sources WHERE name=source_packages.name ORDER by sources.version DESC LIMIT 1) AND (( source_packages.status = 'unreproducible' OR source_packages.status = 'FTBFS') AND source_packages.name = sources.name AND source_packages.version < sources.version) ORDER BY source_packages.build_date LIMIT $AMOUNT" | egrep -v "^(linux|cups|zurl|openclipart|eigen3)$" | xargs -r echo)
+ PACKAGES=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT DISTINCT source_packages.name FROM source_packages,sources WHERE sources.version IN (SELECT version FROM sources WHERE name=source_packages.name ORDER by sources.version DESC LIMIT 1) AND (( source_packages.status = 'unreproducible' OR source_packages.status = 'FTBFS') AND source_packages.name = sources.name AND source_packages.version < sources.version) ORDER BY source_packages.build_date LIMIT $AMOUNT" | egrep -v "^(linux|cups|zurl|openclipart|eigen3|xmds2)$" | xargs -r echo)
else
# CANDIDATES is defined in that file
. /srv/jenkins/bin/reproducible_candidates.sh
diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh
index 2ea044c9..7804f7d7 100755
--- a/bin/reproducible_setup.sh
+++ b/bin/reproducible_setup.sh
@@ -34,7 +34,7 @@ cat >/var/lib/jenkins/reproducible.init <<-EOF
EOF
# blacklist some packages
-for PKG in linux cups zurl openclipart eigen3 ; do
+for PKG in linux cups zurl openclipart eigen3 xmds2 ; do
RESULT=$(sqlite3 -init $INIT $PACKAGES_DB " SELECT name FROM source_packages WHERE status = 'blacklisted' AND name = '$PKG'")
if [ "$RESULT" = "" ] ; then
sqlite3 -init $INIT $PACKAGES_DB "REPLACE into source_packages VALUES ('$PKG','0','blacklisted',date('now'))"