From: Joerg Jaspert Date: Mon, 4 Jan 2016 21:47:21 +0000 (+0100) Subject: Also create Date: line in archives tracefiles X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a205778810357d663ddacb000110aa7cd9671b58;p=dak.git Also create Date: line in archives tracefiles --- diff --git a/config/debian-security/make-mirror.sh b/config/debian-security/make-mirror.sh index 8293d711..15f32a87 100755 --- a/config/debian-security/make-mirror.sh +++ b/config/debian-security/make-mirror.sh @@ -16,9 +16,11 @@ else SERIAL="${FILESOAPLUS1}" fi date -u > ${TRACEFILE} +rfc822date=$(LC_ALL=POSIX LANG=POSIX date -u -R) echo "Using dak v1" >> ${TRACEFILE} echo "Running on host: $(hostname -f)" >> ${TRACEFILE} echo "Archive serial: ${SERIAL}" >> ${TRACEFILE} +echo "Date: ${rfc822date}" cd /srv/security-master.debian.org/ftp/project/trace/ ln -sf security-master.debian.org master cd /srv/security.debian.org/archive/debian-security/ diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index ab392e77..9e6b63f4 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -477,10 +477,12 @@ function mirror() { else SERIAL="${FILESOAPLUS1}" fi + RFC822DATE=$(LC_ALL=POSIX LANG=POSIX date -u -R) date -u > ${TRACEFILE} echo "Using dak v1" >> ${TRACEFILE} echo "Running on host: $(hostname -f)" >> ${TRACEFILE} echo "Archive serial: ${SERIAL}" >> ${TRACEFILE} + echo "Date: ${RFC822DATE}" >> ${TRACEFILE} # Now make it accessible via one name, no matter on which host we run cd ${archiveroot}/project/trace/ ln -sf ftp-master.debian.org master