From b1ff016f3f422c47b5c65a4d3ebfc449f1fd5743 Mon Sep 17 00:00:00 2001 From: Leah Woods Date: Fri, 20 May 2016 03:25:09 +0100 Subject: Don't use SeaVGABIOS on systems that use SeaGRUB --- resources/scripts/helpers/build/config/seabiosmodify | 17 ++++++++++++----- resources/scripts/helpers/build/config/seabiosupdate | 17 ++++++++++++----- 2 files changed, 24 insertions(+), 10 deletions(-) (limited to 'resources/scripts/helpers/build/config') diff --git a/resources/scripts/helpers/build/config/seabiosmodify b/resources/scripts/helpers/build/config/seabiosmodify index 08ec50e4..c6841e41 100755 --- a/resources/scripts/helpers/build/config/seabiosmodify +++ b/resources/scripts/helpers/build/config/seabiosmodify @@ -28,11 +28,18 @@ set -u -e ( cd "seabios/" -if [ -f "../resources/seabios/config/config" ]; then - cp "../resources/seabios/config/config" ".config" -fi +for cfgtype in config config_vga; do -make menuconfig + printf "doing config %s\n" "${cfgtype}" + sleep 2 -mv ".config" "../resources/seabios/config/config" + if [ -f "../resources/seabios/config/${cfgtype}" ]; then + cp "../resources/seabios/config/${cfgtype}" ".config" + fi + + make menuconfig + + mv ".config" "../resources/seabios/config/${cfgtype}" + +done ) diff --git a/resources/scripts/helpers/build/config/seabiosupdate b/resources/scripts/helpers/build/config/seabiosupdate index d15a0636..94dfd1db 100755 --- a/resources/scripts/helpers/build/config/seabiosupdate +++ b/resources/scripts/helpers/build/config/seabiosupdate @@ -28,9 +28,16 @@ set -u -e ( cd seabios/ -if [ -f ../resources/seabios/config/config ]; then - cp ../resources/seabios/config/config .config - make oldconfig - mv .config ../resources/seabios/config/config -fi +for cfgtype in config config_vga; do + + printf "doing config %s\n" "${cfgtype}" + sleep 2 + + if [ -f ../resources/seabios/config/${cfgtype} ]; then + cp ../resources/seabios/config/${cfgtype} .config + make oldconfig + mv .config ../resources/seabios/config/${cfgtype} + fi + +done ) -- cgit v1.2.3-70-g09d2