drivers available.
Thanks to: Axel Beckert.
+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>
* util/grub-mkfont.c (write_font_pf2): Use appropriate type for data
EOF
else
# Insert all available backends; GRUB will use the most appropriate.
+ have_video=0;
for backend in $(cat "${GRUB_PREFIX}/video.lst"); do
+ have_video=1;
cat <<EOF
insmod ${backend}
EOF
done
+ if [ x$have_video = x0 ]; then
+ echo "true"
+ fi
fi
cat <<EOF
}