From af0f0beafaae4a67dc7e12f3d5330de779a468b7 Mon Sep 17 00:00:00 2001 From: phcoder Date: Sun, 23 Aug 2009 23:24:33 +0000 Subject: [PATCH] 2009-08-23 Vladimir Serbinenko Fix grub-install. * util/i386/efi/grub-install.in: Add 'part_' to partmap_module. * util/sparc64/ieee1275/grub-install.in: Likewise. --- ChangeLog | 2 ++ util/i386/efi/grub-install.in | 2 +- util/sparc64/ieee1275/grub-install.in | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5701f9beb..0af2eb8b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ Fix grub-install. * util/i386/pc/grub-install.in: Add 'part_' to partmap_module. + * util/i386/efi/grub-install.in: Likewise. + * util/sparc64/ieee1275/grub-install.in: Likewise. 2009-08-23 Vladimir Serbinenko diff --git a/util/i386/efi/grub-install.in b/util/i386/efi/grub-install.in index a5f97e346..db459885d 100644 --- a/util/i386/efi/grub-install.in +++ b/util/i386/efi/grub-install.in @@ -188,7 +188,7 @@ fi # Then the partition map module. In order to support partition-less media, # this command is allowed to fail (--target=fs already grants us that the # filesystem will be accessible). -partmap_module=`$grub_probe --target=partmap --device-map=${device_map} ${grubdir} 2> /dev/null` +partmap_module=part_`$grub_probe --target=partmap --device-map=${device_map} ${grubdir} 2> /dev/null` # Device abstraction module, if any (lvm, raid). devabstraction_module=`$grub_probe --target=abstraction --device-map=${device_map} ${grubdir}` diff --git a/util/sparc64/ieee1275/grub-install.in b/util/sparc64/ieee1275/grub-install.in index 5cfb858d7..c7c50da71 100644 --- a/util/sparc64/ieee1275/grub-install.in +++ b/util/sparc64/ieee1275/grub-install.in @@ -220,7 +220,7 @@ fi # Then the partition map module. In order to support partition-less media, # this command is allowed to fail (--target=fs already grants us that the # filesystem will be accessible). -partmap_module=`$grub_probe --target=partmap --device ${grub_device} 2> /dev/null` +partmap_module=part_`$grub_probe --target=partmap --device ${grub_device} 2> /dev/null` # Device abstraction module, if any (lvm, raid). devabstraction_module=`$grub_probe --target=abstraction --device ${grub_device}`