summaryrefslogtreecommitdiff
path: root/host/include/cgpt_params.h
diff options
context:
space:
mode:
authorMatt Delco <delco@google.com>2019-01-25 11:34:25 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-01-30 16:51:29 -0800
commita22ce61eda75ec3a394e32f5c1eff27f1b2ff224 (patch)
tree900089cae791f54ca1f72e55fa47265ba4d10602 /host/include/cgpt_params.h
parent859682accb19893803026a28b4c8ca2cd57945a4 (diff)
downloadvboot-a22ce61eda75ec3a394e32f5c1eff27f1b2ff224.tar.gz
cgpt: add -D support to CgptEditstabilize-11686.B
The lack of -D support in CgptEdit introduced a test failure. This change adds support for -D. BRANCH=none BUG=chromium:605348 TEST=Verified that prior to this change the tests failed: cros_workon --host start vboot_reference sudo FEATURES=test emerge vboot_reference The tests fail in a different area prior to CgptEdit, so I applied the following temporary change to Makefile to see the relevant failure: ifeq (${MINIMAL},) # Bitmap utility isn't compiled for minimal variant - test_targets:: runbmptests runfutiltests + test_targets:: runbmptests # runfutiltests # Scripts don't work under qemu testing With this change the tests pass. Change-Id: Ia2127a3537c72e4ea6daf59c5c33b8701a89b0f6 Signed-off-by: Matt Delco <delco@google.com> Reviewed-on: https://chromium-review.googlesource.com/1436496 Tested-by: Matt Delco <delco@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'host/include/cgpt_params.h')
-rw-r--r--host/include/cgpt_params.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/include/cgpt_params.h b/host/include/cgpt_params.h
index ffd071a2..8e8bfa6c 100644
--- a/host/include/cgpt_params.h
+++ b/host/include/cgpt_params.h
@@ -55,6 +55,7 @@ typedef struct CgptAddParams {
typedef struct CgptEditParams {
char *drive_name;
+ uint64_t drive_size;
Guid unique_guid;
int set_unique;
} CgptEditParams;