Disk signature is part of PARTUUID for MBR partitions. PARTUUID can be
used to provide root partition, instead of hardcoding /dev/sd or
/dev/mmcblk nodes. The advantage of using PARTUUID is that it doesn't
change across reboots (depending on device drivers probe order).
Up to now 0 value has been used for disk signature if user didn't
provide one. Change behavior to generate unique disk signature in such
case, so we make it less likely to have multiple SD cards with the same
PARTUUIDs connected to a single system, resulting in PARTUUID conflict.
Disk signature is part of PARTUUID for MBR partitions. PARTUUID can be used to provide root partition, instead of hardcoding /dev/sd or /dev/mmcblk nodes. The advantage of using PARTUUID is that it doesn't change across reboots (depending on device drivers probe order).
Up to now 0 value has been used for disk signature if user didn't provide one. Change behavior to generate unique disk signature in such case, so we make it less likely to have multiple SD cards with the same PARTUUIDs connected to a single system, resulting in PARTUUID conflict.
Signed-off-by: Marcin Niestroj m.niestroj@grinn-global.com