From 29f0d1a897e05749f8ce3e0fe458af50590da65d Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Tue, 5 Jan 2016 23:12:08 +0100 Subject: [PATCH] Link tracefiles into webview --- config/debian/dinstall.functions | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 9e6b63f4..6fc9f45e 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -575,6 +575,7 @@ function mirrorpush() { ftp-master) fname="mirrorstart" pusharg="" + pname="debian" ;; debian-debug) pusharg="-a debug" @@ -584,11 +585,15 @@ function mirrorpush() { ;;& *) fname="mirrorstart.${archive}" + pname=${archive} ;; esac - date -u > /srv/ftp.debian.org/web/${fname} - echo "Using dak v1" >> /srv/ftp.debian.org/web/${fname} - echo "Running on host $(hostname -f)" >> /srv/ftp.debian.org/web/${fname} + mkdir -p ${webdir}/${pname}/project/trace/ + ln -sf ${mirrordir}/${archive}/project/trace/master ${webdir}/${pname}/project/trace/master + + date -u > ${webdir}/${fname} + echo "Using dak v1" >> ${webdir}/${fname} + echo "Running on host $(hostname -f)" >> ${webdir}/${fname} sudo -H -u archvsync /home/archvsync/runmirrors ${pusharg} > ~dak/runmirrors-${archive}.log 2>&1 & fi done -- 2.39.5