Commit Graph

5 Commits

Author SHA1 Message Date
Andrew Scull 11638791c0 Move APEX handling to a library
Make a library for APEX handling using the microdroid_manager logic as
the basis. Other components are going to need to be able to extract the
keys from APEXs so make the logic reusable and available to host tools.

Test: atest microdroid_manager_test
Test: atest libapexutil_rust.test
Change-Id: I36abf21b59b67046b1464bf47f7be40186926410
2022-04-29 12:15:29 +00:00
Andrew Scull 8e92a6eff6 Make avb_bindgen host supported
libavb is host supported so make the bindings be the same.

Change-Id: I542d42ad076bcff43f1a53e73ed2cd869cc5fee8
2022-04-11 17:09:41 +00:00
Jiyong Park dcf1741a18 Specify virtual platform version and enforce it
VM config can now specify the requirement on the virtual platform
version. At runtime, the requirement is matched against the actual
virtual platform version that crosvm implements. If they don't match,
the VM can't be created. The version format follows SemVer, allowing us
to express backwards compatible and incompatible changes in the future.

Bug: 193504487
Test: atest VirtualizationTestCases
Change-Id: I23d370081e10399502178b9cfe8a46b05addf186
2022-02-25 16:21:22 +09:00
Jooyung Han 5f0f668e47 Move libs into libs/
Bug: N/A
Test: m
Change-Id: I50ade90dab13fa0ee83b79f17a8ec3cc012fe497
2022-02-19 00:12:32 +09:00
Jooyung Han c8deb47923 Store/Pass root digests of APEX payload
Root digests of APEX payload are now collected by microdroid_manager and
stored in instance.img and passed to apexd.

Bug: 199371341
Test: MicrodroidHostTestCases
Change-Id: I940347068400822f7d8140c3daf68036f553b087
2021-09-13 18:32:21 +09:00