summaryrefslogtreecommitdiff
path: root/test/py/tests/test_gpt.py
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2023-08-31 10:51:40 -0600
committerTom Rini <trini@konsulko.com>2023-09-11 16:27:49 -0400
commit648140f77aff55d3bab072166a88ef179c474524 (patch)
tree0539a471cd84a6c956c2c52572aeea92fe741a5e /test/py/tests/test_gpt.py
parent368beaf7bb609b1daede46e3b31f5788d52e44e5 (diff)
cmd: gpt: Preserve bootable flag
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@gmail.com>
Diffstat (limited to 'test/py/tests/test_gpt.py')
-rw-r--r--test/py/tests/test_gpt.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/tests/test_gpt.py b/test/py/tests/test_gpt.py
index 93007dee9a1..b4c03bc3a2d 100644
--- a/test/py/tests/test_gpt.py
+++ b/test/py/tests/test_gpt.py
@@ -143,6 +143,7 @@ def test_gpt_read_var(state_disk_image, u_boot_console):
"size": "0x100000",
"type": "0fc63daf-8483-4772-8e79-3d69d8477de4",
"uuid": "33194895-67f6-4561-8457-6fdeed4f50a3",
+ "bootable": True,
},
{
"name": "part2",