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:
SuperKali
2026-09-04 18:10:30 +02:00
parent 6eb3f2d3f7
commit c9c888bf88
+5 -2
View File
@@ -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