* Add wallpaper to grup, set fixed screen size, enable hidpi mode on lightdm * Enable graphics terminal on UEFI x86, ARM64 can't test * Missing folder * Enable `Plymouth` * Add proper HiDpi support and enable intel graphics auto probing Tested on Intel and Nvidia, both works OOB. Plymouth works as expected, no text logs on screen, if OEM vendor logo is present, it picks it up auto, otherwise shows armbian (chip) logo Co-authored-by: hzy <hzyitc@outlook.com>
30 lines
1.3 KiB
PHP
30 lines
1.3 KiB
PHP
enable_extension "grub"
|
|
export SERIALCON="tty1" # Cant reasonably expect UEFI stuff to have a serial console. Customize if otherwise.
|
|
export SKIP_BOOTSPLASH="yes" # No splash.
|
|
export UEFI_GRUB_TIMEOUT=${UEFI_GRUB_TIMEOUT:-3} # Default 3-seconds timeout for GRUB menu.
|
|
export BOARD_FIRMWARE_INSTALL="-full" # Install full firmware for UEFI boards
|
|
case "${BRANCH}" in
|
|
|
|
legacy)
|
|
# This will force `unset KERNELSOURCE` later; no kernel will be built.
|
|
# Instead, the distro's default linux-generic kernel will be installed.
|
|
export DISTRO_GENERIC_KERNEL=yes
|
|
;;
|
|
|
|
current)
|
|
export DISTRO_GENERIC_KERNEL=no
|
|
export LINUXCONFIG="linux-uefi-${LINUXFAMILY}-${BRANCH}"
|
|
export KERNELBRANCH="branch:linux-5.15.y"
|
|
export KERNELPATCHDIR="uefi-${LINUXFAMILY}-${BRANCH}" # Might be empty.
|
|
export KERNELDIR="linux-uefi-${LINUXFAMILY}" # Avoid sharing a source tree with others, until we know it's safe.
|
|
;;
|
|
|
|
edge)
|
|
export DISTRO_GENERIC_KERNEL=no
|
|
export LINUXCONFIG="linux-uefi-${LINUXFAMILY}-${BRANCH}"
|
|
export KERNELBRANCH="branch:linux-5.19.y"
|
|
export KERNELPATCHDIR="uefi-${LINUXFAMILY}-${BRANCH}" # Might be empty.
|
|
export KERNELDIR="linux-uefi-${LINUXFAMILY}" # Avoid sharing a source tree with others, until we know it's safe.
|
|
;;
|
|
esac
|