summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Gibanel Lopez <adrian.gibanel@btactic.com>2016-03-21 19:44:04 +0100
committerAdrian Gibanel Lopez <adrian.gibanel@btactic.com>2016-07-31 15:09:13 +0200
commit2d61dcc53cd855d529b97a1a5a5e8a2fdb214bd2 (patch)
treee7e27a02856aa20d4eb050332848660df8b73210
parentf811656150ff5f78e55b21702688f082330f78bd (diff)
downloadvyos-live-build-2d61dcc53cd855d529b97a1a5a5e8a2fdb214bd2.tar.gz
vyos-live-build-2d61dcc53cd855d529b97a1a5a5e8a2fdb214bd2.zip
Force the use of insmod all_video in grub.cfg so that we do not boot in blind mode in UEFI mode.
-rwxr-xr-xscripts/build/binary_loopback_cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/binary_loopback_cfg b/scripts/build/binary_loopback_cfg
index 6031a8dcc..6c8712c09 100755
--- a/scripts/build/binary_loopback_cfg
+++ b/scripts/build/binary_loopback_cfg
@@ -87,6 +87,13 @@ Grub_live_autodetect_entry ()
LINUX_LIVE="${LINUX_LIVE}\n}"
}
+Grub_live_video ()
+{
+
+ LINUX_LIVE="${LINUX_LIVE}\ninsmod all_video\n"
+
+}
+
if [ -e "config/bootloaders/grub-pc" ]
then
# Internal local copy
@@ -201,6 +208,8 @@ do
done
IFS="$OLDIFS"
+Grub_live_video
+
if [ -z ${FOUND_SYSLINUX} ]
then