diff --git a/ChangeLog b/ChangeLog index 0af2eb8b3..80d3f89a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,9 +2,7 @@ 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. + * util/grub-probe.c (probe_partmap): Prefix partmap with 'part_'. 2009-08-23 Vladimir Serbinenko diff --git a/util/grub-probe.c b/util/grub-probe.c index 7c63f64ef..c8dbc0175 100644 --- a/util/grub-probe.c +++ b/util/grub-probe.c @@ -97,7 +97,7 @@ probe_partmap (grub_disk_t disk) grub_util_error ("Invalid partition map %s", name); *underscore = '\0'; - printf ("%s\n", name); + printf ("part_%s\n", name); free (name); } diff --git a/util/i386/efi/grub-install.in b/util/i386/efi/grub-install.in index db459885d..a5f97e346 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=part_`$grub_probe --target=partmap --device-map=${device_map} ${grubdir} 2> /dev/null` +partmap_module=`$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/i386/pc/grub-install.in b/util/i386/pc/grub-install.in index b6ee95772..8ceb811dd 100644 --- a/util/i386/pc/grub-install.in +++ b/util/i386/pc/grub-install.in @@ -261,7 +261,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=part_`$grub_probe --target=partmap --device ${grub_device} 2> /dev/null` +partmap_module=`$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}` diff --git a/util/sparc64/ieee1275/grub-install.in b/util/sparc64/ieee1275/grub-install.in index c7c50da71..5cfb858d7 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=part_`$grub_probe --target=partmap --device ${grub_device} 2> /dev/null` +partmap_module=`$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}`