2008-05-06 Robert Millan <rmh@aybabtu.com>
* util/update-grub_lib.in (make_system_path_relative_to_its_root): Do not print a trailing slash (therefore, the root directory is an empty string). (convert_system_path_to_grub_path): Do not remove trailing slash from make_system_path_relative_to_its_root() output. * util/i386/pc/grub-install.in: Add trailing slash to output from make_system_path_relative_to_its_root().
This commit is contained in:
parent
6cf12cbd25
commit
b0346e0f43
3 changed files with 20 additions and 5 deletions
|
@ -229,7 +229,7 @@ devabstraction_module=`$grub_probe --target=abstraction --device-map=${device_ma
|
|||
# _chain is often useful
|
||||
modules="$modules $fs_module $partmap_module biosdisk $devabstraction_module _chain"
|
||||
|
||||
$grub_mkimage --output=${grubdir}/core.img --prefix=`make_system_path_relative_to_its_root ${grubdir}` $modules || exit 1
|
||||
$grub_mkimage --output=${grubdir}/core.img --prefix=`make_system_path_relative_to_its_root ${grubdir}`/ $modules || exit 1
|
||||
|
||||
# Now perform the installation.
|
||||
$grub_setup --directory=${grubdir} --device-map=${device_map} \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue