From 67fb2bf06b08e987f5f6a4c644b08702f5ea95b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 20 Mar 2017 13:48:27 +0100 Subject: Fix turris target --- build_repo.sh | 10 +++++----- turris.lua | 7 +++++++ 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 turris.lua diff --git a/build_repo.sh b/build_repo.sh index 2dcc79f..ddb6744 100755 --- a/build_repo.sh +++ b/build_repo.sh @@ -62,17 +62,17 @@ fi deploy() { echo -e "\e[1;34mSign and deploy $1\e[0m" - SEC=$PWD/myrepo-cert/files/key.sec + SEC=../myrepo-cert/files/key.sec pushd .$1-sdk - staging_dir/host/bin/usign -S -s $SEC -m bin/mvebu-musl/packages/base/Packages - scp bin/mvebu-musl/packages/base/* freebsd@cynerd.cz:/usr/local/www/data/myrepo/$1/ + staging_dir/host/bin/usign -S -s $SEC -m bin/$2/packages/base/Packages + scp bin/$2/packages/base/* freebsd@cynerd.cz:/usr/local/www/data/myrepo/$1/ popd scp $1.lua freebsd@cynerd.cz:/usr/local/www/data/myrepo/$1.lua } if [ "$BOARD" = "omnia" ] || [ "$BOARD" = "all" ]; then - deploy omnia + deploy omnia mvebu-musl fi if [ "$BOARD" = "turris" ] || [ "$BOARD" = "all" ]; then - deploy turris + deploy turris mpc85xx fi diff --git a/turris.lua b/turris.lua new file mode 100644 index 0000000..903cab7 --- /dev/null +++ b/turris.lua @@ -0,0 +1,7 @@ +-- This is myrepo omnia configuration +INFO("Using myrepo") +Repository "myrepo" "http://cynerd.cz/myrepo/turris/" { + priority = 50, pubkey = "file:///etc/updater/keys/myrepo.pub" +} + +Install "myrepo-cert" {critical=true} -- cgit v1.2.3