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