* util/grub.d/10_linux.in: Autoload gzio since it's needed on some

platforms if kernel is compressed.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-05-14 22:47:28 +02:00
parent de04eecfa9
commit 90c571a47f
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub.d/10_linux.in: Autoload gzio since it's needed on some
platforms if kernel is compressed.
2011-05-14 Vladimir Serbinenko <phcoder@gmail.com> 2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of * grub-core/kern/mm.c (grub_memalign): Disable auto-unloadding of

View file

@ -98,6 +98,10 @@ EOF
EOF EOF
fi fi
cat << EOF
insmod gzio
EOF
if [ x$dirname = x/ ]; then if [ x$dirname = x/ ]; then
if [ -z "${prepare_root_cache}" ]; then if [ -z "${prepare_root_cache}" ]; then
prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/")" prepare_root_cache="$(prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/")"