summaryrefslogtreecommitdiffstats
path: root/master/debian/fat_uuid.patch
diff options
context:
space:
mode:
authorroot <root@arianrhod.panaceas.james.local>2012-11-16 11:52:02 +0000
committerroot <root@arianrhod.panaceas.james.local>2012-11-16 11:52:02 +0000
commita109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce (patch)
tree9a6b9c35465b23ce5871feec5e9ba0c7d5ac7797 /master/debian/fat_uuid.patch
downloadgrub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.tar.gz
grub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.tar.bz2
grub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.zip
fish
Diffstat (limited to 'master/debian/fat_uuid.patch')
-rw-r--r--master/debian/fat_uuid.patch25
1 files changed, 25 insertions, 0 deletions
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 <phcoder@gmail.com>
+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;