Skip to content

main/gptfdisk: fix bad uuid generation error

Dominique Martinet requested to merge martinetd/aports:gptfdisk into master

sgdisk 1.0.9 prints a scary warning on alpine 3.16:

Warning! Unable to generate a proper UUID! Creating an improper one as a last resort! Windows 7 may crash if you save this partition table!

This has been tracked and resolved as https://bugs.gentoo.org/844073 and is apparently due to an util-linux update, fixed in this patch: https://sourceforge.net/p/gptfdisk/code/ci/6a8416cbd12d55f882bb751993b94f72d338d96f/

(This is important for people who would want the device they format to be usable on windows 7, which... happens to be my case)

The other patch is unrelated but another fix we will probably need soon: popt 1.19-rc1 has been released last week (June 7th, 2022), so we might as well grab the patch now...

I'll submit a backport to 3.16 once this is merged.

Merge request reports