summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2002-10-29 21:23:57 +0000
committerStew Benedict <stewb@mandriva.org>2002-10-29 21:23:57 +0000
commit2f0e0f6f21cf3263c762f93be107ce6235e6a520 (patch)
tree826bbbdcd4496caf8489bd8e21537069e41f0596 /perl-install/bootloader.pm
parent8297e6f1600227180877548fec8087397fd5a9c4 (diff)
downloaddrakx-backup-do-not-use-2f0e0f6f21cf3263c762f93be107ce6235e6a520.tar
drakx-backup-do-not-use-2f0e0f6f21cf3263c762f93be107ce6235e6a520.tar.gz
drakx-backup-do-not-use-2f0e0f6f21cf3263c762f93be107ce6235e6a520.tar.bz2
drakx-backup-do-not-use-2f0e0f6f21cf3263c762f93be107ce6235e6a520.tar.xz
drakx-backup-do-not-use-2f0e0f6f21cf3263c762f93be107ce6235e6a520.zip
Reflect changes in yaboot package.
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 837908c57..9a9470786 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -588,7 +588,7 @@ sub get_of_dev {
my ($unix_dev) = @_;
#- don't care much for this - need to run ofpath rooted, and I need the result
#- In test mode, just run on "/", otherwise you can't get to the /proc files
- run_program::rooted_or_die($::prefix, "/usr/local/sbin/ofpath $unix_dev", ">", "/tmp/ofpath");
+ run_program::rooted_or_die($::prefix, "/usr/sbin/ofpath $unix_dev", ">", "/tmp/ofpath");
open(FILE, "$::prefix/tmp/ofpath") || die "Can't open $::prefix/tmp/ofpath";
my $of_dev = "";
local $_ = "";
@@ -629,8 +629,8 @@ sub install_yaboot {
}
$lilo->{$_} and print F "$_=$lilo->{$_}" foreach qw(delay timeout);
- print F "install=/usr/local/lib/yaboot/yaboot";
- print F "magicboot=/usr/local/lib/yaboot/ofboot";
+ print F "install=/usr/lib/yaboot/yaboot";
+ print F "magicboot=/usr/lib/yaboot/ofboot";
$lilo->{$_} and print F $_ foreach qw(enablecdboot enableofboot);
$lilo->{$_} and print F "$_=$lilo->{$_}" foreach qw(defaultos default);
#- print F "nonvram";
@@ -673,7 +673,7 @@ sub install_yaboot {
if (defined $install_steps_interactive::new_bootstrap) {
run_program::run("hformat", "$lilo->{boot}") or die "hformat failed";
}
- run_program::rooted_or_die($::prefix, "/sbin/ybin", "2>", "/tmp/.error");
+ run_program::rooted_or_die($::prefix, "/usr/sbin/ybin", "2>", "/tmp/.error");
unlink "$::prefix/tmp/.error";
}