1
From b837a9997cb306dc9aaeb3308f05d08cef402456 Mon Sep 17 00:00:00 2001
2
From: Ian Campbell <ijc@debian.org>
3
Date: Sun, 30 Nov 2014 12:12:52 +0000
4
Subject: Arrange to insmod xzio and lzopio when booting a kernel as a Xen
7
This is needed in case the Linux kernel is compiled with CONFIG_KERNEL_XZ or
8
CONFIG_KERNEL_LZO rather than CONFIG_KERNEL_GZ (gzio is already loaded by
11
Signed-off-by: Ian Campbell <ijc@debian.org>
13
Bug-Debian: https://bugs.debian.org/755256
14
Forwarded: http://lists.gnu.org/archive/html/grub-devel/2014-11/msg00091.html
15
Last-Update: 2014-11-30
17
Patch-Name: insmod-xzio-and-lzopio-on-xen.patch
19
util/grub.d/10_linux.in | 1 +
20
1 file changed, 1 insertion(+)
22
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
23
index 79fa03a..86e35f2 100644
24
--- a/util/grub.d/10_linux.in
25
+++ b/util/grub.d/10_linux.in
26
@@ -150,6 +150,7 @@ linux_entry ()
29
echo " insmod gzio" | sed "s/^/$submenu_indentation/"
30
+ echo " if [ x\$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi" | sed "s/^/$submenu_indentation/"
32
if [ x$dirname = x/ ]; then
33
if [ -z "${prepare_root_cache}" ]; then