summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2017-04-13 21:17:48 +0800
committerBowgo Tsai <bowgotsai@google.com>2017-04-15 14:01:06 +0800
commit451801223b19ef5ca2f0acaf07f2acf7e798f29b (patch)
tree6aad147270a858c4952bdcd1bd573def6901618b /base/errors_unix.cpp
parent43b72b58f2f1ef1aa2aee00f4112c5544a66cd4c (diff)
Set libavb version into system property for Treble OTA
Set ro.boot.avb_version to "AVB_VERSION_MAJOR.AVB_VERSION_MINOR". During Treble OTA match, the major version must be the same as that in the avb metadata on disk, while the minor version can be equal or greater to that in the avb metadata on disk. See how avb versioning work on the following link: https://android-review.googlesource.com/#/c/342757/ Also renames AvbHashtreeDisabled() -> hashtree_disabled(). Bug: 35322304 Test: Early mount with AVB, checks [ro.boot.avb_version]: [1.0] exists. Test: Not enable AVB, checks [ro.boot.avb_version] doesn't exists. Change-Id: I5aaf476ca53c4fe817779518ba14b68ebcfdc6d6 Merged-In: I5aaf476ca53c4fe817779518ba14b68ebcfdc6d6 (cherry picked from commit 1a898c25f96150787b39d9a08ebdb9ab6fcb3846)
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions