summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-04 17:08:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-04 17:08:12 +0000
commit5d275823289f5c2ab6417c31a9f1030a8ca4b021 (patch)
treea13db368243f6e49e112342568d2b456e56525d3
parente2effdc119a223e3e9e5ca327d7fe2ca91049346 (diff)
downloaddrakx-5d275823289f5c2ab6417c31a9f1030a8ca4b021.tar
drakx-5d275823289f5c2ab6417c31a9f1030a8ca4b021.tar.gz
drakx-5d275823289f5c2ab6417c31a9f1030a8ca4b021.tar.bz2
drakx-5d275823289f5c2ab6417c31a9f1030a8ca4b021.tar.xz
drakx-5d275823289f5c2ab6417c31a9f1030a8ca4b021.zip
do not check yaboot "magic" on ppc (it seems the magic we have is somewhat wrong), assuming we have yaboot installed (it is the only handled bootloader anyway)
-rw-r--r--perl-install/bootloader.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 034b8b568..9aa46b72a 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -164,6 +164,9 @@ sub read {
if (m!/fd\d+$!) {
warn "not checking the method on floppy, assuming $main_method is right\n";
$main_method;
+ } elsif ($main_method eq 'yaboot') {
+ #- not checking on ppc, there's only yaboot anyway :)
+ $main_method;
} elsif (my $type = partition_table::raw::typeOfMBR($_)) {
warn "typeOfMBR $type on $_ for method $main_method\n" if $ENV{DEBUG};
$type;