summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table/raw.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-16 11:38:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-16 11:38:57 +0000
commit0cd2d9a9b280d8f9f59c459f2be9165240ffb1c7 (patch)
tree4eaf69ec1fce0c25cd4afb2cd878b29729139665 /perl-install/partition_table/raw.pm
parent0e7126fdc833d2696c8c70070641300fa2d14285 (diff)
downloaddrakx-0cd2d9a9b280d8f9f59c459f2be9165240ffb1c7.tar
drakx-0cd2d9a9b280d8f9f59c459f2be9165240ffb1c7.tar.gz
drakx-0cd2d9a9b280d8f9f59c459f2be9165240ffb1c7.tar.bz2
drakx-0cd2d9a9b280d8f9f59c459f2be9165240ffb1c7.tar.xz
drakx-0cd2d9a9b280d8f9f59c459f2be9165240ffb1c7.zip
fix yaboot detection
Diffstat (limited to 'perl-install/partition_table/raw.pm')
-rw-r--r--perl-install/partition_table/raw.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm
index 4ed615b2a..01193b190 100644
--- a/perl-install/partition_table/raw.pm
+++ b/perl-install/partition_table/raw.pm
@@ -11,7 +11,8 @@ use c;
my @MBR_signatures = (
if_(arch() =~ /ppc/,
- map { [ 'yaboot', 0, "PM", 0x200 * $_ + 0x10, "bootstrap\0" ] } 0 .. 61
+ (map { [ 'yaboot', 0, "PM", 0x200 * $_ + 0x10, "bootstrap\0" ] } 0 .. 61), #- "PM" is a Partition Map
+ [ 'yaboot', 0x400, "BD", 0x424, "\011bootstrap" ], #- "BD" is a HFS filesystem
),
[ 'empty', 0, "\0\0\0\0" ],
[ 'grub', 0, "\xEBG", 0x17d, "stage1 \0" ],