mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-22 06:17:52 +00:00
22a8d6f603
Since fbwhiptail allows us to customize the background colors, we should colorize warnings and error messages to provide a user with an additional subtle cue that there might be a problem. I have added two additional configuration options: CONFIG_WARNING_BG_COLOR CONFIG_ERROR_BG_COLOR and in the librem13v2.config file you can see an example for how to set them to be yellow and red gradients, respectively. I've also updated the main two scripts that use whiptail to include those background colors. If you decide to use regular whiptail, just don't set these config options and it should behave as expected.
36 lines
914 B
Plaintext
36 lines
914 B
Plaintext
# Configuration for a librem13v2
|
|
CONFIG_LINUX_CONFIG=config/linux-librem13v2.config
|
|
CONFIG_COREBOOT_CONFIG=config/coreboot-librem13v2.config
|
|
|
|
CONFIG_COREBOOT=y
|
|
CONFIG_CRYPTSETUP=y
|
|
CONFIG_FLASHROM=y
|
|
CONFIG_GPG=y
|
|
CONFIG_KEXEC=y
|
|
CONFIG_UTIL_LINUX=y
|
|
CONFIG_LVM2=y
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_PCIUTILS=y
|
|
CONFIG_POPT=y
|
|
CONFIG_QRENCODE=y
|
|
CONFIG_TPMTOTP=y
|
|
|
|
#CONFIG_SLANG=y
|
|
#CONFIG_NEWT=y
|
|
CONFIG_CAIRO=y
|
|
CONFIG_FBWHIPTAIL=y
|
|
|
|
CONFIG_LINUX_USB=y
|
|
|
|
export CONFIG_TPM=y
|
|
export CONFIG_BOOTSCRIPT=/bin/gui-init
|
|
export CONFIG_BOOT_REQ_HASH=n
|
|
export CONFIG_BOOT_REQ_ROLLBACK=n
|
|
export CONFIG_BOOT_KERNEL_ADD="iommu=pt"
|
|
export CONFIG_BOOT_KERNEL_REMOVE=""
|
|
export CONFIG_BOOT_DEV="/dev/sda1"
|
|
export CONFIG_BOOT_GUI_MENU_NAME="Purism Librem 13v2 Heads Boot Menu"
|
|
export CONFIG_USB_BOOT_DEV="/dev/sdb1"
|
|
export CONFIG_WARNING_BG_COLOR="--background-gradient 0 0 0 150 125 0"
|
|
export CONFIG_ERROR_BG_COLOR="--background-gradient 0 0 0 150 0 0"
|