Re: [PATCH] cmd: gpt: Add option to write GPT partitions to environment variable

2021-02-25 Thread Farhan Ali
Hi Heinrich, Thank you for your comments. I will add your recommendations and resubmit, I just want to clarify the use case here: -Right now we have commands to read the GPT table into an internal data structure, and from then on we can only rename or swap partitions -If a user wants to modify al

Re: [PATCH] cmd: gpt: Add option to write GPT partitions to environment variable

2021-02-25 Thread Heinrich Schuchardt
On 2/25/21 7:56 PM, Farhan Ali wrote: This change would enhance the existing 'gpt read' command to allow (optionally) writing of the read GPT partitions to an environment variable. This would allow users to easily change the partition settings and then simply reuse the variable in the 'gpt write'

[PATCH] cmd: gpt: Add option to write GPT partitions to environment variable

2021-02-25 Thread Farhan Ali
This change would enhance the existing 'gpt read' command to allow (optionally) writing of the read GPT partitions to an environment variable. This would allow users to easily change the partition settings and then simply reuse the variable in the 'gpt write' and 'gpt verify' commands. Signed-off-