From 684b048781465db9e9a4b369cb4f2e0df85a77fc Mon Sep 17 00:00:00 2001 From: Giulio Date: Mon, 21 Sep 2020 10:22:01 +0200 Subject: [PATCH] Correct update generation --- build-tgr.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-tgr.sh b/build-tgr.sh index 97acbf9..e38f19d 100755 --- a/build-tgr.sh +++ b/build-tgr.sh @@ -59,8 +59,8 @@ mkdir -p home/update echo "sample update" > home/update/sample.txt tar -cvzf update.tgz home openssl dgst -sha256 -sign target/keys/signingkey.pem -out update.tgz.sig update.tgz -cat update.tgz.sig > update.tgz.cc -cat update.tgz >> update.tgz.cc +cat update.tgz > update.tgz.cc +cat update.tgz.sig >> update.tgz.cc mv update.tgz.cc target/overlay rm -rf home update.tgz update.tgz.sig