summaryrefslogtreecommitdiff
path: root/sys-boot/grub/files/grub-2.00-20_linux_xen.patch
blob: c83f0b04aaa3d89e8bfbc4b5d41fc00990d93921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Fix detection of genkernel initramfs for xen

https://bugs.gentoo.org/show_bug.cgi?id=463992

--- a/util/grub.d/20_linux_xen.in
+++ b/util/grub.d/20_linux_xen.in
@@ -174,6 +174,7 @@
 
 title_correction_code=
 
+machine=`uname -m`
 case "$machine" in
     i?86) GENKERNEL_ARCH="x86" ;;
     mips|mips64) GENKERNEL_ARCH="mips" ;;