diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-16 16:48:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-16 16:48:06 +0000 |
commit | 7d79e26663b72c39887dbb3ab12bcf84ba283842 (patch) | |
tree | 3150653522ef25d480a491e8bca38b6fc75313e4 /perl-install/bootloader.pm | |
parent | 17641541c50681eee3614343f6dd3121a2a5400b (diff) | |
download | drakx-7d79e26663b72c39887dbb3ab12bcf84ba283842.tar drakx-7d79e26663b72c39887dbb3ab12bcf84ba283842.tar.gz drakx-7d79e26663b72c39887dbb3ab12bcf84ba283842.tar.bz2 drakx-7d79e26663b72c39887dbb3ab12bcf84ba283842.tar.xz drakx-7d79e26663b72c39887dbb3ab12bcf84ba283842.zip |
- bootloader-config:
o fix reading existing grub conf in present of /dev/mapper/xxxx0p1
partitions (which was causing bootloader-config to drop correct entries,
cf #37722)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 1939401c3..cb0839598 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1551,7 +1551,7 @@ sub grub2dev_and_file { my ($hd, $part, $rel_file) = parse_grub_file($grub_file) or return; $grub2dev->{$hd} or internal_error("$hd has no mapping in device.map (when translating $grub_file)"); $part = $o_block_device ? '' : defined $part && $part + 1; #- grub wants "(hdX,Y)" where lilo just want "hdY+1" - my $device = '/dev/' . $grub2dev->{$hd} . $part; + my $device = '/dev/' . devices::prefix_for_dev($grub2dev->{$hd}) . $part; $device, $rel_file; } sub grub2dev { |