summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-02-28 15:32:22 +0100
committerKarel Kočí <karel.koci@nic.cz>2018-02-28 15:32:22 +0100
commit4d2d3a789e83ec6e7951cd938ee6526bd5cab30a (patch)
tree663ea96d58012ddb4ff89e2dbc923348a49c33e2
parent873eb4964f643a70d941cef751213df84a476a6d (diff)
downloadturris-mymedkit-4d2d3a789e83ec6e7951cd938ee6526bd5cab30a.tar.gz
turris-mymedkit-4d2d3a789e83ec6e7951cd938ee6526bd5cab30a.tar.bz2
turris-mymedkit-4d2d3a789e83ec6e7951cd938ee6526bd5cab30a.zip
Add some informative printouts
-rwxr-xr-xbuild_medkit.sh7
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"