From 8e158c1734ef4c873920e7c6b09f50494bdea5f6 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 10 Dec 2015 09:25:37 +0000 Subject: reproducible: blacklist: fix a NOT NULL constraint failure --- bin/reproducible_blacklist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reproducible_blacklist.sh b/bin/reproducible_blacklist.sh index 722f29a3..355aa7bc 100755 --- a/bin/reproducible_blacklist.sh +++ b/bin/reproducible_blacklist.sh @@ -17,7 +17,7 @@ blacklist_packages() { VERSION=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT version FROM sources WHERE name='$PKG' AND suite='$SUITE' AND architecture='$ARCH';") 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} "REPLACE INTO results (package_id, version, status, build_date, job) VALUES ('$PKGID', '$VERSION', 'blacklisted', '$DATE', '');" sqlite3 -init $INIT ${PACKAGES_DB} "DELETE FROM schedule WHERE package_id='$PKGID'" done } -- cgit v1.2.3-70-g09d2