commit | 309a6fa9a892bec5b4ec710f58476182bf1b2362 | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Wed Oct 18 15:11:08 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 23 17:28:11 2017 -0400 |
tree | 86d87bda4b5945780c8d06ebc700c23a759c5aaf | |
parent | 0ffbb644c1daf4bff01c8fdb701415a74ea28050 [diff] |
cmd: gpt: solve issue for swap and rename command don't use prettyprint_part_size() in create_gpt_partitions_list() that avoid to align offset and size to 1 MiB and increase precision for start and size. This patch avoid the risk to change partition size and lost data during rename or swap. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Acked-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com>