summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtemplates/turris4x.run4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/turris4x.run b/templates/turris4x.run
index 0a5b8f2..699b148 100755
--- a/templates/turris4x.run
+++ b/templates/turris4x.run
@@ -34,7 +34,9 @@ echo_stage "Compile packages from our feed"
$MAKE $(./scripts/feeds list -r personal | sed -n 's/^\([^ ]*\).*$/package\/\1\/compile/p' | tr '\n' ' ')
echo_stage "Generate index and sign"
-$MAKE -j1 V=99 package/index BUILD_KEY=~/openwrt-repo.key
+cp ~/openwrt-repo.key key-build
+$MAKE -j1 V=99 package/index
+rm key-build
echo_stage "Deploy"
ssh upload rm -rf "deploy-turris4x-$BOARD"