summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-16 09:40:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-16 09:40:45 +0000
commit6d357770b156ad68d35abee0a79057460d77e330 (patch)
tree802bdab15d569fc0e6be0f68d2c7858da995ba09 /perl-install/any.pm
parent0e6f5ac2bfb2bd2ebd481b55dc9b63c78d81b9dc (diff)
downloaddrakx-backup-do-not-use-6d357770b156ad68d35abee0a79057460d77e330.tar
drakx-backup-do-not-use-6d357770b156ad68d35abee0a79057460d77e330.tar.gz
drakx-backup-do-not-use-6d357770b156ad68d35abee0a79057460d77e330.tar.bz2
drakx-backup-do-not-use-6d357770b156ad68d35abee0a79057460d77e330.tar.xz
drakx-backup-do-not-use-6d357770b156ad68d35abee0a79057460d77e330.zip
don't write boot OF in /tmp/of_boot_dev, better use dev2yaboot() instead
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index bf0678fc7..771aac480 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -139,9 +139,10 @@ Assign a new Volume ID?", $dev)))) {
return;
}
} elsif (arch() =~ /ppc/) {
- my $of_boot = cat_("$::prefix/tmp/of_boot_dev") || die "Can't open $::prefix/tmp/of_boot_dev";
- chop($of_boot);
- $in->ask_warn('', N("You may need to change your Open Firmware boot-device to\n enable the bootloader. If you don't see the bootloader prompt at\n reboot, hold down Command-Option-O-F at reboot and enter:\n setenv boot-device %s,\\\\:tbxi\n Then type: shut-down\nAt your next boot you should see the bootloader prompt.", $of_boot));
+ if (detect_devices::get_mac_model() !~ /IBM/) {
+ my $of_boot = bootloader::dev2yaboot($b->{boot});
+ $in->ask_warn('', N("You may need to change your Open Firmware boot-device to\n enable the bootloader. If you don't see the bootloader prompt at\n reboot, hold down Command-Option-O-F at reboot and enter:\n setenv boot-device %s,\\\\:tbxi\n Then type: shut-down\nAt your next boot you should see the bootloader prompt.", $of_boot));
+ }
}
1;
}