summaryrefslogtreecommitdiff
path: root/fastboot/device/variables.cpp
diff options
context:
space:
mode:
authorDavid Anderson <dvander@google.com>2018-10-02 18:22:31 -0700
committerDavid Anderson <dvander@google.com>2018-10-03 12:14:14 -0700
commit5246b6c1836913f68b5773d5afe03f49f7ad8eb7 (patch)
tree087598b4e355175f00f1cdd05b3b766e9436c1aa /fastboot/device/variables.cpp
parent4eb864bf7dc98d8efb61ef3236e62942ca9d87c7 (diff)
liblp: Add support for updateable partition groups.
This patch introduces a new "groups" table in the super partition metadata. Each entry denotes a named partition group with a maximum size. All partitions now belong to a group, and the total size of partitions in a group must not exceed its maximum size. This is enforced by MetadataBuilder. There is also a "default" group with no size restriction. This is used for one-off partitions that aren't restricted by updates, for example, the scratch partition for overlayfs, or partitions created through fastbootd. Bug: 116817738 Test: liblp gtest Change-Id: I7049ffd35d326e41e25d01b1748cb53a584783a7
Diffstat (limited to 'fastboot/device/variables.cpp')
0 files changed, 0 insertions, 0 deletions