summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-11-19 22:28:52 +0000
committerHolger Levsen <holger@layer-acht.org>2015-11-20 09:45:07 +0100
commitb785c5f9cd76b739f404b6737c9c9f5339a54754 (patch)
treea9db90bd93b60e815e6c5642d57d9e9863481350
parentd03bf83a81eb1bf6fd20426f0445f82e6ef07a74 (diff)
downloadjenkins.debian.net-b785c5f9cd76b739f404b6737c9c9f5339a54754.tar.xz
reproducible: blacklist: also remove package from schedule when blacklisting
-rwxr-xr-xbin/reproducible_blacklist.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh
index 96902606..6ab013b5 100755
--- a/bin/reproducible_blacklist.sh
+++ b/bin/reproducible_blacklist.sh
@@ -18,6 +18,7 @@ blacklist_packages() {
PKGID=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT id FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';")
cleanup_pkg_files
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO results (package_id, version, status, build_date) VALUES ('$PKGID', '$VERSION', 'blacklisted', '$DATE');"
+ sqlite3 -init $INIT ${PACKAGES_DB} "DELETE FROM schedule where package_id='$PKGID'"
done
}