diff options
| author | Roman Stratiienko <[email protected]> | 2019-09-20 15:59:18 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-10-04 12:21:23 -0400 |
| commit | 400b9554cc3ef6d301940d43a2a6f9c098df5fb9 (patch) | |
| tree | cfbf3c57768a812e3298555b7f182ef55a12a2d4 /scripts | |
| parent | 46f0d9c46b790d8eb1903e1da69ee375efbbe21a (diff) | |
cmd: part: number: return hexadecimal value
At this point we are using part number sub-command to retrieve UUID
of the partition using it's name.
e.g.:
part number mmc $mmcdev system_a system_a_index
part uuid mmc $mmcdev:${system_a_index} system_a_uuid
Since 'part uuid' sub-command expects partition index in hex format and
'part number' returns decimal value, 'part uuid' command will provide
wrong UUID or fail.
Fixes: be683756f62034 ("cmd: part: Add 'number' sub-command")
Cc: Dirk Behme <[email protected]>
Reported-by: Pontus Fuchs <[email protected]>
Signed-off-by: Roman Stratiienko <[email protected]>
Signed-off-by: Eugeniu Rosca <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Igor Opaniuk <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
