cmd:gpt: randomly generate each partition uuid if undefined
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 2 Apr 2014 08:20:06 +0000 (10:20 +0200)
committerTom Rini <trini@ti.com>
Wed, 2 Apr 2014 20:36:06 +0000 (16:36 -0400)
commit39206382dea929b6a834c212b431821e06e68f39
treee6eba4856ca5f0a66fa9756ae3bcdf37538bd565
parent89c8230dec063d894aec1a7b5c58f1dcadced738
cmd:gpt: randomly generate each partition uuid if undefined

Changes:
- randomly generate partition uuid if any is undefined and CONFIG_RAND_UUID
  is defined
- print debug info about set/unset/generated uuid
- update doc/README.gpt

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Piotr Wilczek <p.wilczek@samsung.com>
Cc: Tom Rini <trini@ti.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Lukasz Majewski <l.majewski@samsung.com>
common/cmd_gpt.c
doc/README.gpt
lib/uuid.c