nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0305-Support-grub-shell-on-sparc64.patch

f96e0b
From b0d0c377ac0a4d9700dfc5f942667d4d1fde5ac3 Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Sun, 14 Apr 2013 17:13:58 +0200
f96e0b
Subject: [PATCH 305/482] 	Support grub-shell on sparc64.
f96e0b
f96e0b
---
f96e0b
 ChangeLog                |  4 ++++
f96e0b
 tests/util/grub-shell.in | 10 ++++++++++
f96e0b
 2 files changed, 14 insertions(+)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index 4c1e28d..867cc5d 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,5 +1,9 @@
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
+
f96e0b
 	Support mkrescue on sparc64.
f96e0b
 
f96e0b
 2013-04-14  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
diff --git a/tests/util/grub-shell.in b/tests/util/grub-shell.in
f96e0b
index e467b4a..739c300 100644
f96e0b
--- a/tests/util/grub-shell.in
f96e0b
+++ b/tests/util/grub-shell.in
f96e0b
@@ -69,6 +69,16 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
f96e0b
 	serial_null="-serial null"
f96e0b
 	;;
f96e0b
 
f96e0b
+    sparc64-ieee1275)
f96e0b
+	boot=cd
f96e0b
+	qemu=qemu-system-sparc64
f96e0b
+	console=
f96e0b
+	serial_port=ieee1275/ttya
f96e0b
+	trim=1
f96e0b
+	qemuopts="$qemuopts -no-reboot"
f96e0b
+	halt_cmd=reboot
f96e0b
+	;;
f96e0b
+
f96e0b
     mips-qemu_mips)
f96e0b
 	boot=mips_qemu
f96e0b
 	qemu=qemu-system-mips
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b