[OE-core] [PATCH v3] wic: ensure generated disk system identifier is non-zero

Ed Bartosh ed.bartosh at linux.intel.com
Mon Jul 31 07:59:51 UTC 2017


On Mon, Jul 31, 2017 at 06:04:47PM +1000, Jonathan Liu wrote:
> >
> > How about random.SystemRandom().randrange(1, 0xffffffff) ?
> >
> 
> random.SystemRandom().randint(1, 0xffffffff) actually
> 

This looks ok to me. Thanks.

--
Regards,
Ed



More information about the Openembedded-core mailing list