diff options
Diffstat (limited to 'build_repo.sh')
-rwxr-xr-x | build_repo.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/build_repo.sh b/build_repo.sh index e463bfa..8bbe5fd 100755 --- a/build_repo.sh +++ b/build_repo.sh @@ -65,12 +65,15 @@ fi deploy() { echo -e "\e[1;34mSign and deploy $1\e[0m" - SEC=../myrepo-cert/files/key.sec + SEC=myrepo-cert/files/key.sec pushd .$1-sdk - staging_dir/host/bin/usign -S -s $SEC -m bin/$2/packages/base/Packages + staging_dir/host/bin/usign -S -s ../$SEC -m bin/$2/packages/base/Packages scp bin/$2/packages/base/* cynerd.cz:/usr/local/www/data/myrepo/$1/ popd - scp $1.lua freebsd@cynerd.cz:/usr/local/www/data/myrepo/$1.lua + .$1-sdk/staging_dir/host/bin/usign -S -s $SEC -m $1.lua + scp $1.lua cynerd.cz:/usr/local/www/data/myrepo/$1.lua + scp $1.lua.sig cynerd.cz:/usr/local/www/data/myrepo/$1.lua.sig + rm $1.lua.sig } if [ "$BOARD" = "omnia" ] || [ "$BOARD" = "all" ]; then |