Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Don't try to remove lock files any more
· 30954884
Bastian Blank
authored
Apr 15, 2018
30954884
Convert debian-security/weekly to new locks
· 04a70bee
Bastian Blank
authored
Apr 15, 2018
04a70bee
Show whitespace changes
Inline
Side-by-side
config/debian-security/weekly.functions
View file @
04a70bee
# -*- mode:sh -*-
function
precronscript
()
{
# only run one cron.unchecked
if
!
lockfile
-r8
${
LOCK_UNCHECKED
}
2> /dev/null
;
then
# log "aborting cron.unchecked because $LOCK_UNCHECKED has already been locked"
exit
0
fi
TMPFILES
=
"
${
TMPFILES
}
${
LOCK_UNCHECKED
}
"
}
function
update_releases
()
{
# Update Release for main archive
dak generate-releases
-a
security
>
/dev/null
...
...
config/debian-security/weekly.tasks
View file @
04a70bee
# FUNC ARGS TIME ERR BG
LOCK UNCHECKED 1200 exclusive false
update_releases none none true false
runcronscript mirror none true true
linkmorgue none none false true
config/debian/monthly.functions
View file @
04a70bee
...
...
@@ -25,7 +25,6 @@ function archivequeuedone() {
}
function
rotatereports
()
{
TMPFILES
=
"
${
TMPFILES
}
${
LOCK_UNCHECKED
}
"
for
dir
in
${
queuedir
}
/
{
.,p-u-new,o-p-u-new
}
/srv/backports-master.debian.org/queue/policy
;
do
cd
${
dir
}
mv
REPORT REPORT.
${
OLDDATE
}
...
...