summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-25 07:05:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-25 07:05:27 +0000
commit1d3c2be7b46e476cfdc09c7082bb617a84a9c651 (patch)
tree10facce680666094bd6950179ddf35bddc2121c6 /perl-install
parente4032517c581164bacfbe47ce82386456a2133cb (diff)
downloaddrakx-1d3c2be7b46e476cfdc09c7082bb617a84a9c651.tar
drakx-1d3c2be7b46e476cfdc09c7082bb617a84a9c651.tar.gz
drakx-1d3c2be7b46e476cfdc09c7082bb617a84a9c651.tar.bz2
drakx-1d3c2be7b46e476cfdc09c7082bb617a84a9c651.tar.xz
drakx-1d3c2be7b46e476cfdc09c7082bb617a84a9c651.zip
bootloader::add_kernel() do a good job at replacing symlinks with the real
kernel/initrd file name, so don't need to do it here
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm17
1 files changed, 0 insertions, 17 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index f827aa79e..ededc1821 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -761,23 +761,6 @@ sub readBootloaderConfigBeforeInstall {
add2hash($o->{bootloader} ||= {}, bootloader::read());
$o->{bootloader}{bootUnsafe} = 0 if $o->{bootloader}{boot}; #- when upgrading, don't ask where to install the bootloader (mbr vs boot partition)
-
- #- since kernel or kernel-smp may not be upgraded, it should be checked
- #- if there is a need to update existing lilo.conf entries by following
- #- symlinks before kernel or other packages get installed.
- #- update everything that could be a filename (for following symlink).
- foreach my $e (@{$o->{bootloader}{entries}}) {
- while (my $v = readlink "$o->{prefix}/$e->{kernel_or_dev}") {
- $v = "/boot/$v" if $v !~ m|^/|; -e "$o->{prefix}$v" or last;
- log::l("renaming $e->{kernel_or_dev} entry by $v");
- $e->{kernel_or_dev} = $v;
- }
- while (my $v = readlink "$o->{prefix}/$e->{initrd}") {
- $v = "/boot/$v" if $v !~ m|^/|; -e "$o->{prefix}$v" or last;
- log::l("renaming $e->{initrd} entry by $v");
- $e->{initrd} = $v;
- }
- }
}
sub setupBootloaderBefore {