call unchecked with the -p option, it has to run within the locked area.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
report=$queuedir/REPORT
timestamp=$(date "+%Y-%m-%d %H:%M")
+ UNCHECKED_WITHOUT_LOCK=${UNCHECKED_WITHOUT_LOCK:-""}
echo "$timestamp": ${changes:-"Nothing to do"} >> $report
- dak process-unchecked -a -d "$unchecked" >> $report
+ dak process-unchecked -a ${UNCHECKED_WITHOUT_LOCK} -d "$unchecked" >> $report
}
function sync_debbugs () {
# do a last run of process-unchecked before dinstall is on.
function process_unchecked() {
+ log "Processing the unchecked queue"
acceptnew
+ UNCHECKED_WITHOUT_LOCK="-p"
do_unchecked
sync_debbugs
}