[PATCH v2 7/8] cmd: gpt: Preserve bootable flag

Simon Glass sjg at chromium.org
Thu Aug 24 01:57:49 CEST 2023


On Wed, 23 Aug 2023 at 10:48, Joshua Watt <jpewhacker at gmail.com> wrote:
>
> Sets the bootable flag when constructing the partition string from the
> current partition configuration. This ensures that when the partitions
> are written back (for example, when renaming a partition), the flag is
> preserved.
>
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> ---
>  cmd/gpt.c                 | 3 +++
>  test/py/tests/test_gpt.py | 1 +
>  2 files changed, 4 insertions(+)
>

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


More information about the U-Boot mailing list