diff options
author | Matt Delco <delco@chromium.org> | 2018-08-02 11:50:06 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-15 16:37:30 -0700 |
commit | 0c274a902539249db7e11d019dadfa0cbae1fd74 (patch) | |
tree | 490258b98281abfec39acfd7b554d532dd8ea46b /cgpt/cgpt.c | |
parent | 0f1de7b5fe7b4dbe12ed544ee7e0ae064393e898 (diff) | |
download | vboot-firmware-nocturne-10984.B.tar.gz |
cgpt: add edit commandstabilize-nocturne-10986.Bstabilize-11021.84.Bstabilize-11020.Bstabilize-11005.Bstabilize-10985.Brelease-R70-11021.Bfirmware-servo-11011.Bfirmware-nocturne-10984.Bfactory-nocturne-10984.B
This change adds a command to cgpt to
change the GUID of the drive.
BRANCH=none
BUG=None
TEST=Compiled and ran utility to verify that GUID changes.
Also verified that the new and existing tests completed
successfully.
Change-Id: Ia8a815447509626312e2b06c6f293901290c73c3
Signed-off-by: Matt Delco <delco@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1171834
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'cgpt/cgpt.c')
-rw-r--r-- | cgpt/cgpt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cgpt/cgpt.c b/cgpt/cgpt.c index 38092006..0977b654 100644 --- a/cgpt/cgpt.c +++ b/cgpt/cgpt.c @@ -34,6 +34,7 @@ struct { {"repair", cmd_repair, "Repair damaged GPT headers and tables"}, {"boot", cmd_boot, "Edit the PMBR sector for legacy BIOSes"}, {"find", cmd_find, "Locate a partition by its GUID"}, + {"edit", cmd_edit, "Edit a drive entry"}, {"prioritize", cmd_prioritize, "Reorder the priority of all kernel partitions"}, {"legacy", cmd_legacy, "Switch between GPT and Legacy GPT"}, |