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 10, 2022
1 parent ffafbc4 commit 9e3dd5f
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

The build system itself works quite well and is already being used for
the Alpine Linux [android-tools package][alpine-linux] which I maintain.
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 @@ -71,6 +71,7 @@ include(CMakeLists.fastboot.txt)
include(CMakeLists.mke2fs.txt)
include(CMakeLists.partition.txt)
include(CMakeLists.mkbootimg.txt)
include(CMakeLists.avb.txt)

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

0 comments on commit 9e3dd5f

Please sign in to comment.