summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2019-12-02 17:24:32 +0100
committerKarel Kočí <karel.koci@nic.cz>2019-12-02 17:24:32 +0100
commitbfba913b3f471647d6104e66ccae3a51f7b4db1b (patch)
tree46f85d23c510cbc5e87273f4f45dec433456f6c5
parent53bc97879da85e0496403590bda864c22265ddef (diff)
downloadlaminar-cnf-bfba913b3f471647d6104e66ccae3a51f7b4db1b.tar.gz
laminar-cnf-bfba913b3f471647d6104e66ccae3a51f7b4db1b.tar.bz2
laminar-cnf-bfba913b3f471647d6104e66ccae3a51f7b4db1b.zip
template/alpine.run: fix access rights to key
-rwxr-xr-xtemplates/alpine.run2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/alpine.run b/templates/alpine.run
index bb51114..9af4a52 100755
--- a/templates/alpine.run
+++ b/templates/alpine.run
@@ -45,10 +45,10 @@ if [ ! -d "$ROOT" ]; then
su -l build -c 'echo "PACKAGER_PRIVKEY=\"/build/.abuild/cynerd@email.cz-5b8aeb6d.rsa\"" > .abuild/abuild.conf'
EOF
uroot cp ~/alpinelinux.rsa.key "$ROOT/build/.abuild/cynerd@email.cz-5b8aeb6d.rsa"
- uroot cp ~/alpinelinux.rsa.key.pub "$ROOT/build/.abuild/cynerd@email.cz-5b8aeb6d.rsa.pub"
uroot cp ~/alpinelinux.rsa.key.pub "$ROOT/etc/apk/keys/cynerd@email.cz-5b8aeb6d.rsa.pub"
uchroot root <<EOF
set -e
+ chmod 644 /etc/apk/keys/cynerd@email.cz-5b8aeb6d.rsa.pub
chgrp abuild /var/cache/distfiles
chmod g+w /var/cache/distfiles
chown build:build /build/packages