* util/grub.d/00_header.in (load_video): Handle the case when no video
drivers available. Thanks to: Axel Beckert.
This commit is contained in:
parent
f8f479dbbb
commit
173b71e9fe
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub.d/00_header.in (load_video): Handle the case when no video
|
||||||
|
drivers available.
|
||||||
|
Thanks to: Axel Beckert.
|
||||||
|
|
||||||
2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-01-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/grub-mkfont.c (write_font_pf2): Use appropriate type for data
|
* util/grub-mkfont.c (write_font_pf2): Use appropriate type for data
|
||||||
|
|
|
@ -84,11 +84,16 @@ if [ -n "${GRUB_VIDEO_BACKEND}" ]; then
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
# Insert all available backends; GRUB will use the most appropriate.
|
# Insert all available backends; GRUB will use the most appropriate.
|
||||||
|
have_video=0;
|
||||||
for backend in $(cat "${GRUB_PREFIX}/video.lst"); do
|
for backend in $(cat "${GRUB_PREFIX}/video.lst"); do
|
||||||
|
have_video=1;
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
insmod ${backend}
|
insmod ${backend}
|
||||||
EOF
|
EOF
|
||||||
done
|
done
|
||||||
|
if [ x$have_video = x0 ]; then
|
||||||
|
echo "true"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue