diff options
author | Stew Benedict <stewb@mandriva.org> | 2001-03-14 21:45:42 +0000 |
---|---|---|
committer | Stew Benedict <stewb@mandriva.org> | 2001-03-14 21:45:42 +0000 |
commit | 75085b969b939ac9ca5ebdf1fe7c36ea4a36b8f5 (patch) | |
tree | cc1990314a60d37bd1d3b12b0dcb29fcb5f99892 /perl-install/bootloader.pm | |
parent | 5889d46fd238fbf99b0e7c52360466e7b9f086ce (diff) | |
download | drakx-backup-do-not-use-75085b969b939ac9ca5ebdf1fe7c36ea4a36b8f5.tar drakx-backup-do-not-use-75085b969b939ac9ca5ebdf1fe7c36ea4a36b8f5.tar.gz drakx-backup-do-not-use-75085b969b939ac9ca5ebdf1fe7c36ea4a36b8f5.tar.bz2 drakx-backup-do-not-use-75085b969b939ac9ca5ebdf1fe7c36ea4a36b8f5.tar.xz drakx-backup-do-not-use-75085b969b939ac9ca5ebdf1fe7c36ea4a36b8f5.zip |
fix bootstrap partition creation/tracking
allow Xpmac to launch in 2 modes based on cmdline
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index c7b01259e..b7e30f40d 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -501,6 +501,12 @@ sub install_yaboot($$$) { } } log::l("Installing boot loader..."); + close F; + my $f = "$prefix/tmp/of_boot_dev"; + open F, ">$f" or die "cannot create file: $f"; + my $of_dev = get_of_dev($prefix, $lilo->{boot}); + print F "$of_dev"; + close F; $::testing and return; run_program::rooted($prefix, "/sbin/ybin", "2>", "/tmp/.error") or die "ybin failed"; unlink "$prefix/tmp/.error"; |