From 5d275823289f5c2ab6417c31a9f1030a8ca4b021 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 4 Mar 2005 17:08:12 +0000 Subject: 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) --- perl-install/bootloader.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/bootloader.pm') 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; -- cgit v1.2.1