diff options
author | 2023-08-05 17:51:41 +0200 | |
---|---|---|
committer | 2023-08-05 17:51:41 +0200 | |
commit | 3f315ea95fad1b6fb9acea3ddad6abd35a449a87 (patch) | |
tree | ea4d3d9bf03109bab0bca30256fd85493d88e5bc | |
parent | more details (diff) | |
download | mastermirror-scripts-3f315ea95fad1b6fb9acea3ddad6abd35a449a87.tar.gz mastermirror-scripts-3f315ea95fad1b6fb9acea3ddad6abd35a449a87.tar.bz2 mastermirror-scripts-3f315ea95fad1b6fb9acea3ddad6abd35a449a87.zip |
fixes
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-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 |