nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0289-Disable-partmap-check-on-i386-ieee1275-due-to-openfi.patch

f96e0b
From 6ce24e7ceb07f674d037d0838eb50794bfadb59a Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Fri, 12 Apr 2013 17:51:43 +0200
f96e0b
Subject: [PATCH 289/482] 	Disable partmap check on i386-ieee1275 due to
f96e0b
 openfirmware issues.
f96e0b
f96e0b
---
f96e0b
 ChangeLog             | 4 ++++
f96e0b
 tests/partmap_test.in | 2 ++
f96e0b
 2 files changed, 6 insertions(+)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index 109bb4c..1f6ad7c 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,5 +1,9 @@
f96e0b
 2013-04-12  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
 
f96e0b
+	Disable partmap check on i386-ieee1275 due to openfirmware issues.
f96e0b
+
f96e0b
+2013-04-12  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
 	* tests/util/grub-shell.in: Fix it on powerpc.
f96e0b
 
f96e0b
 2013-04-12  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
diff --git a/tests/partmap_test.in b/tests/partmap_test.in
f96e0b
index 8d68a28..f667f86 100644
f96e0b
--- a/tests/partmap_test.in
f96e0b
+++ b/tests/partmap_test.in
f96e0b
@@ -69,6 +69,8 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
f96e0b
     i386-ieee1275)
f96e0b
 	disk=ieee1275/d
f96e0b
 	qemudisk=hdb
f96e0b
+	# QEMU firmware has bugs which prevent it from accessing hard disk.
f96e0b
+	exit 0
f96e0b
 	;;
f96e0b
     *)
f96e0b
 	disk=hd0
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b