diff options
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/alpine.run | 4 | ||||
-rwxr-xr-x | templates/turris.run | 2 |
2 files changed, 3 insertions, 3 deletions
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 <<EOF set -e chmod 644 /etc/apk/keys/cynerd@email.cz-5b8aeb6d.rsa.pub diff --git a/templates/turris.run b/templates/turris.run index ce1aa12..58a4714 100755 --- a/templates/turris.run +++ b/templates/turris.run @@ -67,7 +67,7 @@ find package/feeds/personal -mindepth 1 -maxdepth 1 -printf '%P\n' | \ done echo_stage "Generate index and sign" -$make package/index BUILD_KEY=~/openwrt-repo.sec +$make package/index BUILD_KEY=~/keys/openwrt-repo.sec echo_stage "Deploy" ssh upload rm -rf "deploy-turris-$ANIMAL-$BOARD" |