Skip to content

Commit

Permalink
Add avbtool for working with Android Verified Boot
Browse files Browse the repository at this point in the history
It's also an additional requirement to use the (already deprecated?!)
GKI 2.0 signing arguments[1] with mkbootimg.

[1] https://android.googlesource.com/platform/system/tools/mkbootimg/+/339274e/mkbootimg.py#555
  • Loading branch information
JamiKettunen committed Oct 14, 2022
1 parent ed39a1b commit 01c29ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Currently the following tools are supported:
* mke2fs.android (required by fastboot)
* simg2img, img2simg, append2simg
* lpdump, lpmake, lpadd, lpflash, lpunpack
* mkbootimg, unpack_bootimg, repack_bootimg
* mkbootimg, unpack_bootimg, repack_bootimg, avbtool
* mkdtboimg

The build system itself works quite well and is already being used for
Expand Down
1 change: 1 addition & 0 deletions vendor/CMakeLists.avb.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
install(PROGRAMS avb/avbtool.py DESTINATION bin RENAME avbtool)
1 change: 1 addition & 0 deletions vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ include(CMakeLists.mke2fs.txt)
include(CMakeLists.partition.txt)
include(CMakeLists.mkbootimg.txt)
include(CMakeLists.libufdt.txt)
include(CMakeLists.avb.txt)

# Targets which should be installed by `make install`.
install(TARGETS
Expand Down

0 comments on commit 01c29ba

Please sign in to comment.