Skip to content

Commit

Permalink
Merge pull request #269 from blmaier/guid-u-boot-env
Browse files Browse the repository at this point in the history
image-hd: gpt: add type GUID shortcut for u-boot-env
  • Loading branch information
michaelolbrich authored Nov 8, 2024
2 parents d785239 + 3e0a2ae commit f76db3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Partition options:
* ``F``, ``fat32``: FAT32 / Basic Data Partition (ebd0a0a2-b9e5-4433-87c0-68b6b72699c7)
* ``barebox-state`` (previously ``B``): Barebox State (4778ed65-bf42-45fa-9c5b-287a1dc4aab1)
* ``barebox-env``: Barebox Environment (6c3737f2-07f8-45d1-ad45-15d260aab24d)
* ``u-boot-env``: U-Boot Environment (3de21764-95bd-54bd-a5c3-4abe786f38a8)

Furthermore, for ``{arch}`` being one of ``alpha``,
``arc``, ``arm``, ``arm64``, ``ia64``, ``loongarch64``,
Expand Down
1 change: 1 addition & 0 deletions image-hd.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ static const struct gpt_partition_type_shortcut_t gpt_partition_type_shortcuts[]
{ "fat32" , "ebd0a0a2-b9e5-4433-87c0-68b6b72699c7" },
{ "barebox-state" , "4778ed65-bf42-45fa-9c5b-287a1dc4aab1" },
{ "barebox-env" , "6c3737f2-07f8-45d1-ad45-15d260aab24d" },
{ "u-boot-env" , "3de21764-95bd-54bd-a5c3-4abe786f38a8" },
/* Discoverable Partitions Specification GUID, see
* https://uapi-group.org/specifications/specs/discoverable_partitions_specification/
*/
Expand Down

0 comments on commit f76db3c

Please sign in to comment.