]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: gpt: Preserve type GUID if enabled
authorJoshua Watt <jpewhacker@gmail.com>
Thu, 31 Aug 2023 16:51:39 +0000 (10:51 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 11 Sep 2023 20:27:49 +0000 (16:27 -0400)
commit368beaf7bb609b1daede46e3b31f5788d52e44e5
tree04e911edcd64b315207a348b9db333d684e21761
parenta1e793add5dd21c2a1b08bc57ac99e43183913b6
cmd: gpt: Preserve type GUID if enabled

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
test/py/tests/test_gpt.py