nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone
Blob Blame History Raw
From 6ce24e7ceb07f674d037d0838eb50794bfadb59a Mon Sep 17 00:00:00 2001
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Date: Fri, 12 Apr 2013 17:51:43 +0200
Subject: [PATCH 289/482] 	Disable partmap check on i386-ieee1275 due to
 openfirmware issues.

---
 ChangeLog             | 4 ++++
 tests/partmap_test.in | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 109bb4c..1f6ad7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2013-04-12  Vladimir Serbinenko  <phcoder@gmail.com>
 
+	Disable partmap check on i386-ieee1275 due to openfirmware issues.
+
+2013-04-12  Vladimir Serbinenko  <phcoder@gmail.com>
+
 	* tests/util/grub-shell.in: Fix it on powerpc.
 
 2013-04-12  Vladimir Serbinenko  <phcoder@gmail.com>
diff --git a/tests/partmap_test.in b/tests/partmap_test.in
index 8d68a28..f667f86 100644
--- a/tests/partmap_test.in
+++ b/tests/partmap_test.in
@@ -69,6 +69,8 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
     i386-ieee1275)
 	disk=ieee1275/d
 	qemudisk=hdb
+	# QEMU firmware has bugs which prevent it from accessing hard disk.
+	exit 0
 	;;
     *)
 	disk=hd0
-- 
1.8.2.1