Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Convert security daily
· fd034fb2
Joerg Jaspert
authored
Apr 12, 2018
fd034fb2
Dont unlock changelog, let it unlock at script end (so locked until wait is over)
· 57682c87
Joerg Jaspert
authored
Apr 12, 2018
57682c87
security unchecked-dinstall converted
· 68770bab
Joerg Jaspert
authored
Apr 12, 2018
68770bab
Show whitespace changes
Inline
Side-by-side
config/debian-security/daily.functions
View file @
68770bab
# -*- 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
fix_overrides
()
{
rsync
--delete
-r
--include
=
override
\*
--exclude
=
\*
--password-file
/srv/security-master.debian.org/s3kr1t/rsync-password
-ql
security-master@ftp-master::indices/
$overridedir
...
...
config/debian-security/daily.tasks
View file @
68770bab
# FUNC ARGS TIME ERR BG
# Note: Not explicitly unlocked, want it until cronscript ends, after
# all background functions finished
LOCK UNCHECKED 3600 false false
fix_overrides none none true true
fingerprints some none false true
dakcleanup unchecked\ disembargo none true false
...
...
config/debian-security/unchecked-dinstall.tasks
View file @
68770bab
# FUNC ARGS TIME ERR BG
STATE startup none false false
LOCK DAILY 3600 false false
RMSTAGE none none false false
NOSTAGE startup none false false
STATE indices none false false
LOCK ACCEPTED 1200 false false
dominate none dominate true false
mpfm none pkg-file-mapping false false
STATE packages/contents none true false
...
...
@@ -13,3 +15,5 @@ STATE scripts none fal
mirror none mirror\ hardlinks true false
STATE postlock none false false
mirrorpush none mirrorpush false true
UNLOCK ACCEPTED none false false
UNLOCK DAILY none false false
config/debian/dinstall.tasks
View file @
68770bab
...
...
@@ -53,4 +53,3 @@ i18n2 none i18n\ 2 fal
stats none stats false true
testingsourcelist none none false true
cleantransactions none none false false
UNLOCK CHANGELOG none false false