summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-10-09 12:19:14 +0200
committerHolger Levsen <holger@layer-acht.org>2014-10-09 12:19:14 +0200
commitc21af84d77096d1ac29a219a5792087d964a92d8 (patch)
treea247e312cd171c1494459ca6e0216bc93b48c50e
parent7a33e995f3451dd74f0129091d5a5009132f09ee (diff)
downloadjenkins.debian.net-c21af84d77096d1ac29a219a5792087d964a92d8.tar.xz
reproducible: insert initially blacklisted packages into db
-rwxr-xr-xbin/reproducible_setup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh
index 4d112fe4..1ee7cbee 100755
--- a/bin/reproducible_setup.sh
+++ b/bin/reproducible_setup.sh
@@ -33,6 +33,14 @@ cat >/var/lib/jenkins/reproducible.init <<-EOF
.timeout 30000
EOF
+# blacklist some packages
+for PKG in linux cups zurl openclipart ; do
+ RESULT=$(sqlite3 -init $INIT $PACKAGES_DB " SELECT name FROM source_packages WHERE status = 'blacklisted' AND name = '$PGK'")
+ if [ "$RESULT" = "" ] ; then
+ sqlite3 -init $INIT $PACKAGES_DB "REPLACE into source_packages VALUES ('$PKG','0','blacklisted',date('now'))"
+ fi
+done
+
# FIXME: needed as long as there is no backport for debbindiff
# or as long as we dont run it within pbuilder...
# fetch git repo for the debbindiff command used in reproducible_build.sh