Skip to content

Commit

Permalink
Fix errors(Yes again!)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johx22 committed Apr 19, 2022
1 parent f44b105 commit b39989e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/recovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ jobs:
run: |
chmod a+x script2.sh
./script2.sh || true
cd ..
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-patched.img |cut -f 1 -d ' ') --image r.img --key phh.pem --algorithm SHA256_RSA4096
python3 avbtool add_hash_footer --partition_name recovery --partition_size $(wc -c r.img |cut -f 1 -d ' ') --image recovery-patched.img --key phh.pem --algorithm SHA256_RSA4096
cd unpack
mv ../recovery-patched.img recovery-fastbootd.img
Expand Down
1 change: 0 additions & 1 deletion script2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ cd unpack
~runner/work/Patch-Recovery/Patch-Recovery/magiskboot cpio ramdisk.cpio 'add 0755 system/bin/recovery system/bin/recovery'
~runner/work/Patch-Recovery/Patch-Recovery/magiskboot repack ../r.img new-boot.img
cp new-boot.img ../recovery-patched.img
cd ..

1 comment on commit b39989e

@Teneten
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4AEE18F83AFDEB23

Please sign in to comment.