generator: Rewrite UUIDs that begin with zero byte.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 13 Jun 2011 17:58:53 +0000 (18:58 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 13 Jun 2011 17:58:53 +0000 (18:58 +0100)
commit4ee190628bc05f0c8fad1f6d9c3e85619a91e8b8
tree7375191b94b28335116dbaed951a111c37466b72
parent1f59849a4a45a1c78488eb41b250de631b4405a6
generator: Rewrite UUIDs that begin with zero byte.

In util-linux <= 2.19, mkswap -U cannot handle the first byte of the
UUID being zero, so we artificially rewrite such UUIDs.

See: http://article.gmane.org/gmane.linux.utilities.util-linux-ng/4273
generator/generator_utils.ml