From a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Nov 2012 11:52:02 +0000 Subject: fish --- master/debian/fat_uuid.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 master/debian/fat_uuid.patch (limited to 'master/debian/fat_uuid.patch') diff --git a/master/debian/fat_uuid.patch b/master/debian/fat_uuid.patch new file mode 100644 index 0000000..b7c0a46 --- /dev/null +++ b/master/debian/fat_uuid.patch @@ -0,0 +1,25 @@ +Description: Make FAT UUID uppercase to match Linux +Author: Vladimir Serbinenko +Origin: upstream, http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/3482 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/948716 +Forwarded: not-needed +Applied-Upstream: http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/3482 +Last-Update: 2012-03-19 + +Index: b/grub-core/fs/fat.c +=================================================================== +--- a/grub-core/fs/fat.c ++++ b/grub-core/fs/fat.c +@@ -836,9 +836,12 @@ + data = grub_fat_mount (disk); + if (data) + { ++ char *ptr; + *uuid = grub_xasprintf ("%04x-%04x", + (grub_uint16_t) (data->uuid >> 16), + (grub_uint16_t) data->uuid); ++ for (ptr = *uuid; ptr && *ptr; ptr++) ++ *ptr = grub_toupper (*ptr); + } + else + *uuid = NULL; -- cgit v1.2.3