commit | 7cc1d87d7e1e64d7bb280ead94c55a51c4f3ee63 | [log] [tgz] |
---|---|---|
author | Joshua Watt <jpewhacker@gmail.com> | Thu Aug 31 10:51:41 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Sep 11 16:27:49 2023 -0400 |
tree | b25b1f678e1a30d0ac3f8b02a8fb4c3791ba39d2 | |
parent | 648140f77aff55d3bab072166a88ef179c474524 [diff] |
cmd: gpt: Add command to swap partition order Adds a command called "gpt transpose" which will swap the order two partition table entries in the GPT partition table (but leaves them pointing to the same locations on disk). This can be useful for swapping bootloaders in systems that use an A/B partitioning scheme where the bootrom is hard coded to look for the bootloader in a specific index in the GPT partition table. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>