From 88a545f6bf79b07cbbd070da4396af45176ca8a8 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 6 Mar 2012 17:43:30 +0000 Subject: [PATCH] efi_disk_cache.patch: Fix incorrect GRUB_DISK_CACHE_BITS (LP: #944347). --- debian/changelog | 6 ++++++ debian/patches/efi_disk_cache.patch | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 64d28378d..009c1b3fe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grub2 (1.99-17) UNRELEASED; urgency=low + + * efi_disk_cache.patch: Fix incorrect GRUB_DISK_CACHE_BITS (LP: #944347). + + -- Colin Watson Tue, 06 Mar 2012 17:42:31 +0000 + grub2 (1.99-16) unstable; urgency=low * Backport from upstream: diff --git a/debian/patches/efi_disk_cache.patch b/debian/patches/efi_disk_cache.patch index cb00fcabf..aeb63fbf9 100644 --- a/debian/patches/efi_disk_cache.patch +++ b/debian/patches/efi_disk_cache.patch @@ -18,7 +18,7 @@ Index: b/include/grub/disk.h /* The size of a disk cache in sector units. */ +#ifdef GRUB_MACHINE_EFI +#define GRUB_DISK_CACHE_SIZE 1024 -+#define GRUB_DISK_CACHE_BITS 8 ++#define GRUB_DISK_CACHE_BITS 10 +#else #define GRUB_DISK_CACHE_SIZE 8 #define GRUB_DISK_CACHE_BITS 3