From be8648509d039e6737fa601c61884747c6ee094e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 29 Aug 2016 15:10:18 +0100 Subject: [PATCH] byhand-code-sign: Put signature tarballs for security uploads in .../updates This is consistent with the Release and Packages files. --- scripts/debian/byhand-code-sign | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/debian/byhand-code-sign b/scripts/debian/byhand-code-sign index 60927014..fbd6855d 100755 --- a/scripts/debian/byhand-code-sign +++ b/scripts/debian/byhand-code-sign @@ -22,13 +22,16 @@ error() { export OPENSSL_CONF=/dev/null -# Read dak configuration for security or main archive +# Read dak configuration for security or main archive. +# Also determine subdirectory for the suite. case "$0" in /srv/security-master.debian.org/*) configdir="/srv/security-master.debian.org/dak/config/debian-security" + suitedir="$SUITE/updates" ;; /srv/ftp-master.debian.org/*) configdir="/srv/ftp-master.debian.org/dak/config/debian" + suitedir="$SUITE" ;; *) error "$0: Can't tell if security or not" @@ -44,7 +47,7 @@ for var in EFI_BINARY_PRIVKEY EFI_BINARY_CERT \ test -n "${!var}" || error "$var is empty in configuration" done -TARGET="$ftpdir/dists/$SUITE/main/code-sign/" +TARGET="$ftpdir/dists/$suitedir/main/code-sign/" OUT_TARBALL="$TARGET/${IN_TARBALL##*/}" OUT_TARBALL="${OUT_TARBALL%.tar.xz}_sigs.tar.xz" -- 2.39.5