diff options
Diffstat (limited to 'sign-binpackages.sh')
-rwxr-xr-x | sign-binpackages.sh | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/sign-binpackages.sh b/sign-binpackages.sh index 2fe0ff9..8fa8475 100755 --- a/sign-binpackages.sh +++ b/sign-binpackages.sh @@ -3,7 +3,7 @@ # might be earlier copyright, no history available # for testing -ARCHES="aarch64 sparc" +ARCHES="arm64 sparc" # Keep this variable in sync _ARCHES="alpha amd64 arm64 arm hppa ia64 loong m68k mips ppc riscv s390 sh sparc x86" @@ -18,22 +18,24 @@ DEBUG='' VERBOSE='' BINPKG_GPG_SIGNING_GPG_HOME=/home/gmirror/.gnupg-releng -BINPKG_GPG_SIGNING_KEY=blablabla +BINPKG_GPG_SIGNING_KEY=DCD05B71EAB94199527F44ACDB6B8C1F96D8BF6D gpgconf --kill all -# step 0: ensure all directories exist and have the right -# permissions - -for a in $ARCHES ; do - if ! [[ -d ${INTREE}/${a} ]]; then - mkdir -p ${INTREE}/${a} - chown ${a}:${a} ${INTREE}/${a} - chmod u+rwx,o+rx ${INTREE}/${a} - fi -done - -[[ -d SIGTREE ]] || mkdir -p ${SIGTREE} +## step 0: ensure all directories exist and have the right +## permissions +## we can't actually do that here since this script runs as +## unprivileged user +# +#for a in $ARCHES ; do +# if ! [[ -d ${INTREE}/${a} ]]; then +# mkdir -p ${INTREE}/${a} +# chown ${a}:${a} ${INTREE}/${a} +# chmod u+rwx,o+rx ${INTREE}/${a} +# fi +#done +# +#[[ -d SIGTREE ]] || mkdir -p ${SIGTREE} # step 1: rsync from the dirs where the arches copy in # make sure to *not* overwrite existing newer files (obviously |