diff options
author | Adrian Gibanel Lopez <adrian.gibanel@btactic.com> | 2016-03-21 19:44:04 +0100 |
---|---|---|
committer | Adrian Gibanel Lopez <adrian.gibanel@btactic.com> | 2016-07-31 15:09:13 +0200 |
commit | 2d61dcc53cd855d529b97a1a5a5e8a2fdb214bd2 (patch) | |
tree | e7e27a02856aa20d4eb050332848660df8b73210 | |
parent | f811656150ff5f78e55b21702688f082330f78bd (diff) | |
download | vyos-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-x | scripts/build/binary_loopback_cfg | 9 |
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 |