diff options
-rwxr-xr-x | build_repo.sh | 10 | ||||
-rw-r--r-- | turris.lua | 7 |
2 files changed, 12 insertions, 5 deletions
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} |