summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-03-31 17:04:39 +0000
committerMike Gilbert <floppym@gentoo.org>2013-03-31 17:04:39 +0000
commitdae75e391e80cc00e29a318365dfc487a2acc80f (patch)
tree44ca9364a0675e67a85be18956d380974a2aef28 /sys-boot/grub/files
parentStable for x86, wrt bug #462890 (diff)
downloadhistorical-dae75e391e80cc00e29a318365dfc487a2acc80f.tar.gz
historical-dae75e391e80cc00e29a318365dfc487a2acc80f.tar.bz2
historical-dae75e391e80cc00e29a318365dfc487a2acc80f.zip
Fix detection of genkernel initramfs on xen.
Package-Manager: portage-2.2.0_alpha170/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'sys-boot/grub/files')
-rw-r--r--sys-boot/grub/files/grub-2.00-20_linux_xen.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-boot/grub/files/grub-2.00-20_linux_xen.patch b/sys-boot/grub/files/grub-2.00-20_linux_xen.patch
new file mode 100644
index 000000000000..c83f0b04aaa3
--- /dev/null
+++ b/sys-boot/grub/files/grub-2.00-20_linux_xen.patch
@@ -0,0 +1,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" ;;