From a520be65fa19e66be4f5d9a91e257a6a2b835bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 28 Nov 2020 17:25:53 +0100 Subject: Move keys to dedicated directory --- templates/alpine.run | 4 ++-- templates/turris.run | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/alpine.run b/templates/alpine.run index fc0d69b..6811191 100755 --- a/templates/alpine.run +++ b/templates/alpine.run @@ -44,8 +44,8 @@ if [ ! -d "$ROOT" ]; then su -l build -c 'mkdir .abuild aports packages' 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/etc/apk/keys/cynerd@email.cz-5b8aeb6d.rsa.pub" + uroot cp ~/keys/alpinelinux.rsa.key "$ROOT/build/.abuild/cynerd@email.cz-5b8aeb6d.rsa" + uroot cp ~/keys/alpinelinux.rsa.key.pub "$ROOT/etc/apk/keys/cynerd@email.cz-5b8aeb6d.rsa.pub" uchroot root <