Skip to content

Commit

Permalink
Repack recovery to tar after patching
Browse files Browse the repository at this point in the history
  • Loading branch information
Johx22 committed Apr 24, 2022
1 parent 9cc6e05 commit 7aec9ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/recovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
python3 avbtool extract_public_key --key phh.pem --output phh.pub.bin
python3 avbtool add_hash_footer --partition_name recovery --partition_size $(wc -c recovery.img |cut -f 1 -d ' ') --image recovery-patched.img --key phh.pem --algorithm SHA256_RSA4096
mkdir output && cd output
mv ../recovery-patched.img recovery-fastbootd.img
mv ../recovery-patched.img recovery.img
tar cvf fastbootd-recovery.tar recovery.img
- name: Upload Recovery
uses: actions/[email protected]
with:
path: /home/runner/work/Patch-Recovery/Patch-Recovery/output/*.img
path: /home/runner/work/Patch-Recovery/Patch-Recovery/output/*.tar
name: Patched-Recovery

0 comments on commit 7aec9ab

Please sign in to comment.