cmd: gpt: add subcommand repair
authorPhilippe Reynes <philippe.reynes@softathome.com>
Fri, 22 Apr 2022 15:46:49 +0000 (17:46 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 6 May 2022 18:39:15 +0000 (14:39 -0400)
commit26f404c7665265946305f2883cfad1b785d35bb2
treee6ca1a9458487ae2d50992641212cd7d1351ad63
parent5c783b54d605aa21c8e3e0e188ab99d58135addd
cmd: gpt: add subcommand repair

Adds a sub-command repair to the command gpt
that allow to repair a corrupted gpt table. If
the both gpt table (primary and backup) are
valid, then the command does nothing.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
cmd/gpt.c