summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-03-15 14:53:09 +0000
committerStew Benedict <stewb@mandriva.org>2001-03-15 14:53:09 +0000
commit5dd25e576d6ac8152e44075dfdb229e1337adf14 (patch)
tree8af7a441fceb29adcef885ac73d2ba516667c464 /perl-install/bootloader.pm
parentb20fa07a463ad522aeee545eecf3fff7dbb65a6f (diff)
downloaddrakx-5dd25e576d6ac8152e44075dfdb229e1337adf14.tar
drakx-5dd25e576d6ac8152e44075dfdb229e1337adf14.tar.gz
drakx-5dd25e576d6ac8152e44075dfdb229e1337adf14.tar.bz2
drakx-5dd25e576d6ac8152e44075dfdb229e1337adf14.tar.xz
drakx-5dd25e576d6ac8152e44075dfdb229e1337adf14.zip
bootloader.pm, detect_devices.pm, install_steps_interactive.pm: changed temporary file read/write per Pixel
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index b7e30f40d..daf37ef60 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -501,12 +501,9 @@ 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;
+ output($f, "$of_dev\n");
$::testing and return;
run_program::rooted($prefix, "/sbin/ybin", "2>", "/tmp/.error") or die "ybin failed";
unlink "$prefix/tmp/.error";