mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
Due to a change in util-linux (commit 10f5f79485964ab52272ebe79c3b0047b1f84d82, "libbuid: use _UL_LIBUUID_UUID_H to cover uuid.h"), gptfdisk no longer detects the availability of libuuid to generate UUIDs, causing the following message at runtime: 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 issue exists since util-linux was bumped to version 2.38 in Buildrootee978e853a("package/util-linux: bump version to 2.38"). This issue has been fixed in upstream gptfdisk, but the fix [0] is not yet in a new stable release, so we backport it. Additionally, now that gptfdisk uses libuuid again, the build fails because passing LDLIBS to make overrides the default value in the Makefile. To fix this, this patch adds -luuid to GPTFDISK_LDLIBS. [0]6a8416cbd1Signed-off-by: Ben Wolsieffer <ben.wolsieffer@hefring.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 58fbfe870640cf20678d4f6a40999ea5223c6fca) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>