From 62f00af9af47d131a0f9b7040dfee59816fa95b5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 10 Dec 2001 13:57:53 +0000 Subject: - fix bootloader::add_append - add handling of serial console --- perl-install/install_steps.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index d58ed7f44..ac7f33e98 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -152,10 +152,8 @@ sub doPartitionDisksAfter { $o->{fstab} = [ fsedit::get_all_fstab($o->{all_hds}) ]; fsedit::get_root_($o->{fstab}) or die "Oops, no root partition"; - # do not use devfs with root software raid - foreach ($o->{bootloader}{perImageAppend}) { - $_ .= ' devfs=mount' if !/devfs=/; - } + require bootloader; + bootloader::may_append($o->{bootloader}, devfs => 'mount'); if (arch() =~ /ppc/ && detect_devices::get_mac_generation =~ /NewWorld/) { die "Need bootstrap partition to boot system!" if !(defined $partition_table_mac::bootstrap_part); -- cgit v1.2.1