nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0069-util-grub.d-20_linux_xen.in-Addmissing-assignment-to.patch

f96e0b
From bd049427e99ec99447426c2264a432f08b156e4c Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Tue, 11 Dec 2012 17:40:35 +0100
f96e0b
Subject: [PATCH 069/482] 	* util/grub.d/20_linux_xen.in: Addmissing
f96e0b
 assignment to machine. 	Reported by: Eriks Latosheks <foresterlv>.
f96e0b
f96e0b
---
f96e0b
 ChangeLog                   | 5 +++++
f96e0b
 util/grub.d/20_linux_xen.in | 2 ++
f96e0b
 2 files changed, 7 insertions(+)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index 04ffaec..9104a46 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,3 +1,8 @@
f96e0b
+2012-12-11  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
+	* util/grub.d/20_linux_xen.in: Addmissing assignment to machine.
f96e0b
+	Reported by: Eriks Latosheks <foresterlv>.
f96e0b
+
f96e0b
 2012-12-10  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
 
f96e0b
 	* docs/grub.texi (Network): Update instructions on generating netboot
f96e0b
diff --git a/util/grub.d/20_linux_xen.in b/util/grub.d/20_linux_xen.in
f96e0b
index d4d0110..ac05ee4 100644
f96e0b
--- a/util/grub.d/20_linux_xen.in
f96e0b
+++ b/util/grub.d/20_linux_xen.in
f96e0b
@@ -174,6 +174,8 @@ boot_device_id=
f96e0b
 
f96e0b
 title_correction_code=
f96e0b
 
f96e0b
+machine=`uname -m`
f96e0b
+
f96e0b
 case "$machine" in
f96e0b
     i?86) GENKERNEL_ARCH="x86" ;;
f96e0b
     mips|mips64) GENKERNEL_ARCH="mips" ;;
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b