mirror of https://github.com/armbian/build.git
uefi-x86: customizable UEFI_GRUB_TERMINAL per board
This commit is contained in:
parent
33906869c0
commit
a218d13345
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
# Important: LINUXFAMILY and ARCH are defined _before_ including the common family include
|
||||
[[ "$BUILD_DESKTOP" == yes && "$RELEASE" == jammy ]] && enable_extension "nvidia"
|
||||
declare -g UEFI_GRUB_TERMINAL="gfxterm"
|
||||
declare -g UEFI_GRUB_TERMINAL="${UEFI_GRUB_TERMINAL:-gfxterm}"
|
||||
declare -g LINUXFAMILY="x86"
|
||||
declare -g ARCH="amd64"
|
||||
source "${BASH_SOURCE%/*}/include/uefi_common.inc"
|
||||
|
|
|
@ -218,7 +218,7 @@ pre_umount_final_image__install_grub() {
|
|||
fi
|
||||
|
||||
# Check and warn if the wallpaper was not picked up by grub-mkconfig, if UEFI_GRUB_TERMINAL==gfxterm
|
||||
if [[ "${UEFI_GRUB_TERMINAL}" == "gfxterm" ]]; then
|
||||
if [[ "${UEFI_GRUB_TERMINAL}" =~ "gfxterm" ]]; then
|
||||
if ! grep -q "background_image" "${chroot_target}/boot/grub/grub.cfg"; then
|
||||
display_alert "GRUB mkconfig problem" "no wallpaper detected in generated grub.cfg" "warn"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue