summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-04 19:57:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-04 19:57:05 +0000
commit5b6b2199066672d32a97d80d9ea137630a1a9ecc (patch)
treea79b03376c8a96837e0b43aa739b76a5f905c843 /perl-install
parent95969a1f0aff676a0dcc8ad0a2ea0c0263827360 (diff)
downloaddrakx-5b6b2199066672d32a97d80d9ea137630a1a9ecc.tar
drakx-5b6b2199066672d32a97d80d9ea137630a1a9ecc.tar.gz
drakx-5b6b2199066672d32a97d80d9ea137630a1a9ecc.tar.bz2
drakx-5b6b2199066672d32a97d80d9ea137630a1a9ecc.tar.xz
drakx-5b6b2199066672d32a97d80d9ea137630a1a9ecc.zip
add yaboot detection
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/partition_table_raw.pm3
1 files changed, 3 insertions, 0 deletions
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" ],