From bfaaea5cde6cc2b2daf37d2e5d3988ad77ce7334 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 27 Aug 2002 22:03:43 +0000 Subject: use the new fsedit::get_hds --- perl-install/Xconfig/various.pm | 2 +- perl-install/standalone/drakboot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/Xconfig/various.pm b/perl-install/Xconfig/various.pm index c0f7079f6..646edf8be 100644 --- a/perl-install/Xconfig/various.pm +++ b/perl-install/Xconfig/various.pm @@ -118,7 +118,7 @@ sub configure_FB_TVOUT { require detect_devices; my ($bootloader, $all_hds) = $::isInstall ? ($::o->{bootloader}, $::o->{all_hds}) : - (bootloader::read(), fsedit::hds([ detect_devices::hds() ], {})); + (bootloader::read(), fsedit::get_hds()); if (my $tvout = bootloader::duplicate_kernel_entry($bootloader, 'TVout')) { $tvout->{append} .= " XFree=tvout"; diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index 9c3449d1d..ade6207de 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -40,7 +40,7 @@ sub lilo_choice local ($_) = `detectloader`; $bootloader->{methods} = { lilo => 1, grub => !!/grub/i, if_(arch() =~ /ppc/, yaboot => 1) }; - my ($all_hds) = catch_cdie { fsedit::hds([ detect_devices::hds() ], {}) } sub { 1 }; + my ($all_hds) = fsedit::get_hds(); my $fstab = [ fsedit::get_all_fstab($all_hds) ]; fs::merge_info_from_fstab($fstab); -- cgit v1.2.1