summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2009-01-14 14:10:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2009-01-14 14:10:52 +0000
commit82686160084c1a9e09acb83cd2e16e87d63a4928 (patch)
tree002598dd88c328670d8d6c386e0ede955e5f0882 /perl-install/bootloader.pm
parent450f37eca8e766f561911d0137659b29b038ca3a (diff)
downloaddrakx-82686160084c1a9e09acb83cd2e16e87d63a4928.tar
drakx-82686160084c1a9e09acb83cd2e16e87d63a4928.tar.gz
drakx-82686160084c1a9e09acb83cd2e16e87d63a4928.tar.bz2
drakx-82686160084c1a9e09acb83cd2e16e87d63a4928.tar.xz
drakx-82686160084c1a9e09acb83cd2e16e87d63a4928.zip
add comment
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index c535d83f2..3a0a2b516 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -175,6 +175,7 @@ sub read {
cleanup_entries($bootloader);
+ # handle raid-extra-boot (lilo)
my @devs = $bootloader->{boot};
if ($bootloader->{'raid-extra-boot'} =~ /mbr/ &&
(my $md = fs::get::device2part($bootloader->{boot}, $all_hds->{raids}))) {
@@ -227,6 +228,7 @@ sub read_grub {
$bootloader;
}
+# adapts device.map (aka $grub2dev) when for example hda is now sda
# nb:
# - $boot_part comes from /boot/grub/install.sh "root (hd...)" line
# - $grub2dev is /boot/grub/device.map