[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Use new-style arguments to runmirrors



---
 config/debian-security/export.sh | 2 +-
 config/debian/common             | 2 +-
 config/debian/dinstall.functions | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/config/debian-security/export.sh b/config/debian-security/export.sh
index 17bda73d..f92ea5b8 100755
--- a/config/debian-security/export.sh
+++ b/config/debian-security/export.sh
@@ -23,7 +23,7 @@ function changelogs() {
     mkdir -p ${exportpublic}/changelogs
     cd ${exportpublic}/changelogs
     rsync -aHW --delete --delete-after --ignore-errors ${exportdir}/changelogs/. .
-    sudo -H -u archvsync runmirrors metasdo > ~dak/runmirrors-metadata.log 2>&1 &
+    sudo -H -u archvsync runmirrors -a metasdo > ~dak/runmirrors-metadata.log 2>&1 &
 }
 
 changelogs
diff --git a/config/debian/common b/config/debian/common
index 2dee0df8..325892bd 100755
--- a/config/debian/common
+++ b/config/debian/common
@@ -108,7 +108,7 @@ function make_buildd_dir () {
 
     # Tell the mirrors that we've updated
     log "Pushing static for incoming.d.o"
-    sudo -H -u archvsync runmirrors buildd > ~dak/runmirrors-buildd.log 2>&1 &
+    sudo -H -u archvsync runmirrors -a buildd > ~dak/runmirrors-buildd.log 2>&1 &
     chronic timeout -k 600 480 /usr/local/bin/static-update-component incoming.debian.org < /dev/null
     wait
 }
diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions
index e8b51d59..02d9aefa 100755
--- a/config/debian/dinstall.functions
+++ b/config/debian/dinstall.functions
@@ -582,7 +582,7 @@ function mirrorpush() {
             date -u > ${webdir}/${fname}
             echo "Using dak v1" >> ${webdir}/${fname}
             echo "Running on host $(hostname -f)" >> ${webdir}/${fname}
-            sudo -H -u archvsync runmirrors ${pusharg} > ~dak/runmirrors-${archive}.log 2>&1 &
+            sudo -H -u archvsync runmirrors -a ${pusharg} > ~dak/runmirrors-${archive}.log 2>&1 &
         fi
     done
 }
@@ -594,7 +594,7 @@ function mirrorpush-backports() {
 
 function mirrorpush-release() {
     log "Pushing cdbuilder host"
-    sudo -H -u archvsync runmirrors release > ~dak/runmirrors-release.log 2>&1 &
+    sudo -H -u archvsync runmirrors -a release > ~dak/runmirrors-release.log 2>&1 &
 }
 
 function i18n2() {
-- 
2.11.0



Reply to: