summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-05-25 02:40:28 +0000
committerStew Benedict <stewb@mandriva.org>2001-05-25 02:40:28 +0000
commit00a82977c8064bf4b18601b7f3a71e9124b56c20 (patch)
treed85c235e4f56a92f0160f8049da4a664321c0a4e /perl-install/bootloader.pm
parent898a4bf0de7ac284bf67a33cdb9fa5c4b2619a31 (diff)
downloaddrakx-backup-do-not-use-00a82977c8064bf4b18601b7f3a71e9124b56c20.tar
drakx-backup-do-not-use-00a82977c8064bf4b18601b7f3a71e9124b56c20.tar.gz
drakx-backup-do-not-use-00a82977c8064bf4b18601b7f3a71e9124b56c20.tar.bz2
drakx-backup-do-not-use-00a82977c8064bf4b18601b7f3a71e9124b56c20.tar.xz
drakx-backup-do-not-use-00a82977c8064bf4b18601b7f3a71e9124b56c20.zip
add hfs support to rescue - PPC, fix bootstrap creation, formatting sequence
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index da26c5672..a7758e897 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -504,9 +504,12 @@ sub install_yaboot($$$) {
}
log::l("Installing boot loader...");
my $f = "$prefix/tmp/of_boot_dev";
- my $of_dev = get_of_dev($prefix, $lilo->{boot});
- output($f, "$of_dev\n");
+ my $of_dev = get_of_dev($prefix, $lilo->{boot});
+ output($f, "$of_dev\n");
$::testing and return;
+ if (defined $install_steps_interactive::new_bootstrap) {
+ run_program::run("hformat", "$lilo->{boot}") or die "hformat failed";
+ }
run_program::rooted($prefix, "/sbin/ybin", "2>", "/tmp/.error") or die "ybin failed";
unlink "$prefix/tmp/.error";
}