summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakboot
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-28 09:15:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-28 09:15:44 +0000
commit7dbb82bda658c7aa17d764ebccd4953a389a833b (patch)
tree43a6b6527077112230f39c07f915e5efa987e899 /perl-install/standalone/drakboot
parentedfbfbfac41cb9e713114ca3238b41d560c04203 (diff)
downloaddrakx-backup-do-not-use-7dbb82bda658c7aa17d764ebccd4953a389a833b.tar
drakx-backup-do-not-use-7dbb82bda658c7aa17d764ebccd4953a389a833b.tar.gz
drakx-backup-do-not-use-7dbb82bda658c7aa17d764ebccd4953a389a833b.tar.bz2
drakx-backup-do-not-use-7dbb82bda658c7aa17d764ebccd4953a389a833b.tar.xz
drakx-backup-do-not-use-7dbb82bda658c7aa17d764ebccd4953a389a833b.zip
move to all_hds stuff
Diffstat (limited to 'perl-install/standalone/drakboot')
-rwxr-xr-xperl-install/standalone/drakboot8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot
index 9d159a685..dc63f22a7 100755
--- a/perl-install/standalone/drakboot
+++ b/perl-install/standalone/drakboot
@@ -32,15 +32,15 @@ sub lilo_choice
local ($_) = `detectloader`;
$bootloader->{methods} = { lilo => 1, grub => !!/grub/i };
- my ($hds) = catch_cdie { fsedit::hds([ detect_devices::hds() ], {}) } sub { 1 };
- my $fstab = [ fsedit::get_fstab(@$hds) ];
+ my ($all_hds) = catch_cdie { fsedit::hds([ detect_devices::hds() ], {}) } sub { 1 };
+ my $fstab = [ fsedit::get_all_fstab(@$all_hds) ];
fs::merge_info_from_fstab($fstab);
$::expert=1;
ask:
- any::setupBootloader($in, $bootloader, $hds, $fstab, $ENV{SECURE_LEVEL}) or $in->exit(0);
- eval { bootloader::install('', $bootloader, $fstab, $hds) };
+ any::setupBootloader($in, $bootloader, $all_hds, $fstab, $ENV{SECURE_LEVEL}) or $in->exit(0);
+ eval { bootloader::install('', $bootloader, $fstab, $all_hds->{hds}) };
if ($@) {
$in->ask_warn('',