commit | 46abff7e959b409f43055d848e2009117c44ab5b | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Mon Nov 07 20:57:48 2022 +0900 |
committer | Jooyung Han <jooyung@google.com> | Tue Nov 08 16:56:05 2022 +0900 |
tree | 888e3fe9225d0fb147f65ab28ab205c0da624301 | |
parent | 1da9383000916f98b9122d4a52b5570334b56e77 [diff] |
prefer_staged keeps factory version We need to pass inactive/factory apexes as well for some types of apexes. When a VM app sets "prefer_staged", it accidentally removed inactive/factory apexes by overwriting them with staged apexes based on apex name. This causes CompOS to fail when running verification after mainline update because the VM sees the identity has changed due to different set of input apexes from the last run which was before update using "prefer_staged". Now "staged" apexes are handled correctly by keeping factory/inactive apexes and updating only active ones. Bug: 257377686 Test: virtualizationservice_device_test Merged-In: Ic2fa826df484ba70f5fbb8bb044fc74b3f20a5ef Change-Id: Ic2fa826df484ba70f5fbb8bb044fc74b3f20a5ef (cherry picked from commit 743e0d67122ba34310297f45db931da32ec0e2f7)
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.