diff options
-rwxr-xr-x | build_medkit.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build_medkit.sh b/build_medkit.sh index acef1c4..2c715ef 100755 --- a/build_medkit.sh +++ b/build_medkit.sh @@ -107,6 +107,7 @@ wget_pull() { } # Usign +echo "==== Getting usign up and running ====" git_pull .usign git://git.openwrt.org/project/usign.git ( cd .usign @@ -115,10 +116,12 @@ make ) # Updater-ng +echo "==== Getting updater-ng up and running ====" git_pull .updater https://gitlab.labs.nic.cz/turris/updater.git make -C .updater NO_DOC=1 LUA_COMPILE:=no # Get public parts of signing keys +echo "==== Checking public keys ====" for K in release standby test; do wget_pull .$K.pub https://gitlab.labs.nic.cz/turris/turris-os-packages/raw/test/cznic/cznic-repo-keys/files/$K.pub done @@ -182,8 +185,11 @@ fi echo "rtunknown" > /tmp/sysinfo/board_name +# TODO we should also hack /etc/config/updater because of languages, branch and +# lists. ## Generate root ## +echo "==== Building new root ====" fakeroot -- sh -s <<EOF set -e @@ -216,5 +222,6 @@ tar -czf "../medkit-$MODEL$BRANCH.tar.gz" . EOF ## Cleanup ## +echo "==== Cleaning up ====" rm -rf "$ROOT" rm -f "$UPDATER_CONF" |