Correct update generation
This commit is contained in:
parent
54ec9559ac
commit
684b048781
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user