2010-11-05 Robert Millan <rmh@gnu.org>
* util/grub-mkconfig.in: Remove gfxterm.mod probe (no longer needed).
This commit is contained in:
parent
b9b3839f6d
commit
6c9e4c0c89
2 changed files with 5 additions and 14 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-11-05 Robert Millan <rmh@gnu.org>
|
||||||
|
|
||||||
|
* util/grub-mkconfig.in: Remove gfxterm.mod probe (no longer
|
||||||
|
needed).
|
||||||
|
|
||||||
2010-11-05 Robert Millan <rmh@gnu.org>
|
2010-11-05 Robert Millan <rmh@gnu.org>
|
||||||
|
|
||||||
On Yeeloong, pass machine type information to Linux.
|
On Yeeloong, pass machine type information to Linux.
|
||||||
|
|
|
@ -168,20 +168,6 @@ fi
|
||||||
|
|
||||||
for x in ${GRUB_TERMINAL_OUTPUT}; do
|
for x in ${GRUB_TERMINAL_OUTPUT}; do
|
||||||
if [ "x${x}" = "xgfxterm" ]; then
|
if [ "x${x}" = "xgfxterm" ]; then
|
||||||
# If this platform supports gfxterm, try to use it.
|
|
||||||
if ! test -e ${GRUB_PREFIX}/gfxterm.mod ; then
|
|
||||||
if [ "x$termoutdefault" != "x1" ]; then
|
|
||||||
echo "gfxterm isn't available on your platform" >&2 ; exit 1
|
|
||||||
fi
|
|
||||||
GRUB_TERMINAL_OUTPUT=
|
|
||||||
break;
|
|
||||||
fi
|
|
||||||
if [ ! -s "${GRUB_PREFIX}/video.lst" ] ; then
|
|
||||||
if [ "x$termoutdefault" != "x1" ]; then
|
|
||||||
echo "No suitable backend could be found for gfxterm." >&2 ; exit 1
|
|
||||||
fi
|
|
||||||
GRUB_TERMINAL_OUTPUT=
|
|
||||||
fi
|
|
||||||
if [ -n "$GRUB_FONT" ] ; then
|
if [ -n "$GRUB_FONT" ] ; then
|
||||||
if is_path_readable_by_grub ${GRUB_FONT} > /dev/null ; then
|
if is_path_readable_by_grub ${GRUB_FONT} > /dev/null ; then
|
||||||
GRUB_FONT_PATH=${GRUB_FONT}
|
GRUB_FONT_PATH=${GRUB_FONT}
|
||||||
|
|
Loading…
Reference in a new issue