]> git.decadent.org.uk Git - dak.git/commitdiff
Also create Date: line in archives tracefiles
authorJoerg Jaspert <joerg@debian.org>
Mon, 4 Jan 2016 21:47:21 +0000 (22:47 +0100)
committerJoerg Jaspert <joerg@debian.org>
Mon, 4 Jan 2016 21:47:21 +0000 (22:47 +0100)
config/debian-security/make-mirror.sh
config/debian/dinstall.functions

index 8293d711777b40ed520a3e6e2e194bc2a14b40b8..15f32a872ac7f593dde94d8bbb84328ff621c72a 100755 (executable)
@@ -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/
index ab392e779dbc5bd533ba8906b57d8a73c0e19c31..9e6b63f470f344064fe3e4cf6e5f1a35cc1b3de1 100644 (file)
@@ -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