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

Simon Glass sjg at chromium.org
Sat Aug 26 01:53:25 CEST 2023


On Fri, 25 Aug 2023 at 13:39, Joshua Watt <jpewhacker at 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 at gmail.com>
> ---
>  cmd/gpt.c                 | 16 ++++++++++
>  test/py/tests/test_gpt.py | 66 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 82 insertions(+)
>

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


More information about the U-Boot mailing list