2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>

Fix grub-install.

	* util/i386/efi/grub-install.in: Add 'part_' to partmap_module.
	* util/sparc64/ieee1275/grub-install.in: Likewise.
This commit is contained in:
phcoder 2009-08-23 23:24:33 +00:00
parent cb4735645d
commit af0f0beafa
3 changed files with 4 additions and 2 deletions

View file

@ -3,6 +3,8 @@
Fix grub-install. Fix grub-install.
* util/i386/pc/grub-install.in: Add 'part_' to partmap_module. * 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 <phcoder@gmail.com> 2009-08-23 Vladimir Serbinenko <phcoder@gmail.com>

View file

@ -188,7 +188,7 @@ fi
# Then the partition map module. In order to support partition-less media, # 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 # this command is allowed to fail (--target=fs already grants us that the
# filesystem will be accessible). # 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). # Device abstraction module, if any (lvm, raid).
devabstraction_module=`$grub_probe --target=abstraction --device-map=${device_map} ${grubdir}` devabstraction_module=`$grub_probe --target=abstraction --device-map=${device_map} ${grubdir}`

View file

@ -220,7 +220,7 @@ fi
# Then the partition map module. In order to support partition-less media, # 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 # this command is allowed to fail (--target=fs already grants us that the
# filesystem will be accessible). # 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). # Device abstraction module, if any (lvm, raid).
devabstraction_module=`$grub_probe --target=abstraction --device ${grub_device}` devabstraction_module=`$grub_probe --target=abstraction --device ${grub_device}`