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