mirror of
https://github.com/armbian/build.git
synced 2026-09-08 23:59:54 +08:00
grub: limit i915 force-probe to amd64
Generic GRUB setup adds an Intel-only parameter to arm64 and loong64 images. Restrict it to amd64 while keeping the common Plymouth options. Signed-off-by: SuperKali <hello@superkali.me>
This commit is contained in:
+5
-2
@@ -268,7 +268,7 @@ configure_grub() {
|
|||||||
GRUB_CMDLINE_LINUX_DEFAULT+=" console=${SERIALCON}"
|
GRUB_CMDLINE_LINUX_DEFAULT+=" console=${SERIALCON}"
|
||||||
|
|
||||||
# Kernel cmdline. We always pass the graphical-Plymouth flags
|
# Kernel cmdline. We always pass the graphical-Plymouth flags
|
||||||
# (splash plymouth.ignore-serial-consoles) on UEFI x86,
|
# (splash plymouth.ignore-serial-consoles) on UEFI systems,
|
||||||
# regardless of whether this image is being built as CLI or
|
# regardless of whether this image is being built as CLI or
|
||||||
# desktop. Two reasons:
|
# desktop. Two reasons:
|
||||||
# 1. Users routinely add a desktop later via armbian-config
|
# 1. Users routinely add a desktop later via armbian-config
|
||||||
@@ -289,7 +289,10 @@ configure_grub() {
|
|||||||
# but the messages remain visible underneath so users can see
|
# but the messages remain visible underneath so users can see
|
||||||
# what their system is doing. Press Esc during boot to drop
|
# what their system is doing. Press Esc during boot to drop
|
||||||
# the splash and read the messages directly.
|
# the splash and read the messages directly.
|
||||||
GRUB_CMDLINE_LINUX_DEFAULT+=" splash plymouth.ignore-serial-consoles i915.force_probe=*"
|
GRUB_CMDLINE_LINUX_DEFAULT+=" splash plymouth.ignore-serial-consoles"
|
||||||
|
if [[ "${ARCH}" == "amd64" ]]; then
|
||||||
|
GRUB_CMDLINE_LINUX_DEFAULT+=" i915.force_probe=*"
|
||||||
|
fi
|
||||||
|
|
||||||
# Enable Armbian Wallpaper on GRUB
|
# Enable Armbian Wallpaper on GRUB
|
||||||
if [[ "${VENDOR}" == Armbian ]]; then
|
if [[ "${VENDOR}" == Armbian ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user