From 57425487c35c30ecea00b28a002d3a8914e565db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 26 Aug 2018 19:00:38 +0200 Subject: turris3x: build in parallel and sign --- templates/turris3x.run | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'templates/turris3x.run') diff --git a/templates/turris3x.run b/templates/turris3x.run index cab1217..982b1e6 100755 --- a/templates/turris3x.run +++ b/templates/turris3x.run @@ -19,7 +19,15 @@ echo_stage "Copy packages" cp -r ../pkgs/* package/ echo_stage "Build" -make -j1 V=99 +make -j4 -# TODO sign -# TODO copy to repository +echo_stage "Sign" +./staging_dir/host/bin/usign -S -s ~/openwrt-repo.key -m "bin/$ARCH/packages/base/Packages" + +exit 0 # Disable deploy for now (ssh is not configured yet) +echo_stage "Deploy" +scp -r "bin/$ARCH/packages/base" cynerd.cz:/tmp/deploy-turris3x-$BOARD +ssh cynerd.cz /bin/sh -ex <