nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0306-tests-partmap_test.in-Skip-on-sparc64.patch

f96e0b
From da31edd1d535ac2bc14ddd46baab9cc59e225fb9 Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Sun, 14 Apr 2013 17:16:32 +0200
f96e0b
Subject: [PATCH 306/482] 	* tests/partmap_test.in: Skip on sparc64.
f96e0b
f96e0b
---
f96e0b
 ChangeLog             | 4 ++++
f96e0b
 tests/partmap_test.in | 6 ++++++
f96e0b
 2 files changed, 10 insertions(+)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index 867cc5d..402c79f 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,5 +1,9 @@
f96e0b
 2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
 
f96e0b
+	* tests/partmap_test.in: Skip on sparc64.
f96e0b
+
f96e0b
+2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
 	Support grub-shell on sparc64.
f96e0b
 
f96e0b
 2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
diff --git a/tests/partmap_test.in b/tests/partmap_test.in
f96e0b
index f667f86..bc503f5 100644
f96e0b
--- a/tests/partmap_test.in
f96e0b
+++ b/tests/partmap_test.in
f96e0b
@@ -66,6 +66,12 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
f96e0b
 	# QEMU firmware has bugs which prevent it from accessing hard disk.
f96e0b
 	exit 0
f96e0b
 	;;
f96e0b
+    sparc64-ieee1275)
f96e0b
+	disk=ieee1275//pci@1fe\,0/pci-ata@5/ide0@500/disk@0
f96e0b
+	qemudisk=hda
f96e0b
+	# QEMU firmware has bugs which prevent it from accessing hard disk.
f96e0b
+	exit 0
f96e0b
+	;;
f96e0b
     i386-ieee1275)
f96e0b
 	disk=ieee1275/d
f96e0b
 	qemudisk=hdb
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b