From 5b6b2199066672d32a97d80d9ea137630a1a9ecc Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 4 Aug 2001 19:57:05 +0000 Subject: add yaboot detection --- perl-install/partition_table_raw.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-install/partition_table_raw.pm b/perl-install/partition_table_raw.pm index 28b0db3bb..dd6a4e4bd 100644 --- a/perl-install/partition_table_raw.pm +++ b/perl-install/partition_table_raw.pm @@ -9,6 +9,9 @@ use log; use c; my @MBR_signatures = ( +if_(arch() =~ /ppc/, + map { [ 'yaboot', 0, "PM", 0x200 * $_ + 0x10, "bootstrap\0" ] } 0 .. 61 +), [ 'empty', 0, "\0\0\0\0" ], [ 'grub', 0, "\xEBG", 0x17d, "stage1 \0" ], [ 'grub', 0, "\xEBH", 0x17e, "stage1 \0" ], -- cgit v1.2.1