From 1bb8184143d5240843e7fe994282d824bf1b8360 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Mon, 18 Feb 2019 21:10:45 -0500 Subject: [PATCH] qemu-coreboot board: switch back to generic init in non-FBWhiptail mode --- boards/qemu-coreboot/qemu-coreboot.config | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/boards/qemu-coreboot/qemu-coreboot.config b/boards/qemu-coreboot/qemu-coreboot.config index 23f22c2f..d670dc21 100644 --- a/boards/qemu-coreboot/qemu-coreboot.config +++ b/boards/qemu-coreboot/qemu-coreboot.config @@ -21,8 +21,16 @@ CONFIG_GPG2=y CONFIG_LVM2=y CONFIG_MBEDTLS=y CONFIG_DROPBEAR=y -CONFIG_CAIRO=y -CONFIG_FBWHIPTAIL=y + +#Uncomment only one of the following block +#Required for graphical gui-init (FBWhiptail) +#CONFIG_CAIRO=y +#CONFIG_FBWHIPTAIL=y +# +#text-based init (generic-init and gui-init) +CONFIG_NEWT=y +CONFIG_SLANG=y + endif CONFIG_LINUX_ATA=y @@ -30,7 +38,13 @@ CONFIG_LINUX_AHCI=y CONFIG_LINUX_USB=y CONFIG_LINUX_E1000=y -export CONFIG_BOOTSCRIPT=/bin/gui-init +#Uncomment only one BOOTSCRIPT: +#Whiptail-based init (text-based or FBWhiptail) +#export CONFIG_BOOTSCRIPT=/bin/gui-init +# +#text-based original init: +export CONFIG_BOOTSCRIPT=/bin/generic-init + export CONFIG_TPM=n export CONFIG_BOOT_DEV="/dev/sda1"