Correct update generation

This commit is contained in:
Giulio 2020-09-21 10:22:01 +02:00
parent 54ec9559ac
commit 684b048781

View File

@ -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