Re: [PATCH v3 6/8] cmd: gpt: Preserve type GUID if enabled

Simon Glass
2023-08-25T23:53:51Z

On Fri, 25 Aug 2023 at 13:39, Joshua Watt <jpewhacker@gmail.com> wrote:
>
> If CONFIG_PARTITION_TYPE_GUID is enabled, the type GUID will be
> preserved when writing out the partition string. It was already
> respected when writing out partitions; this ensures that if you capture
> the current partition layout and write it back (such as when renaming),
> the type GUIDs are preserved.
>
> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
> ---
> cmd/gpt.c | 16 ++++++++++
> test/py/tests/test_gpt.py | 66 +++++++++++++++++++++++++++++++++++++++
> 2 files changed, 82 insertions(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>