[dak/master] Inform archvsync when new packages enter the build queues
---
config/debian-security/cron.unchecked | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/config/debian-security/cron.unchecked b/config/debian-security/cron.unchecked
index cba7c05..e180fd0 100755
--- a/config/debian-security/cron.unchecked
+++ b/config/debian-security/cron.unchecked
@@ -33,6 +33,7 @@ fi
trap cleanup EXIT
old_last_changed=$(last_changed security)
+old_last_changed_build=$(last_changed build-queues)
cd $unchecked
changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
@@ -90,6 +91,11 @@ ${scriptsdir}/update-buildd-archive ${base}/build-queues ${incoming}/debian-secu
$configdir/cron.buildd
new_last_changed=$(last_changed security)
+new_last_changed_build=$(last_changed build-queues)
+
+if [[ "${old_last_changed_build}" != "${new_last_changed_build}" ]]; then
+ sudo -u archvsync /home/archvsync/signal_security-buildd-pool
+fi
if [[ "${old_last_changed}" != "${new_last_changed}" ]]; then
# We had something approved from a policy queue, push out new archive
--
2.1.4
Reply to: