Detect a Pi 5 for its kernel instead of a per-host flag

`pi_standard_setup_install_pi5_kernel` now defaults to "auto": the Pi 5 kernel is
installed when the device tree says Raspberry Pi 5, which covers a card moved over from
a Pi 4 and is a no-op on current images that ship it. true/false still force it, and
musicdolphin no longer needs its own override.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 23:14:18 +02:00
parent a6d4180b2b
commit e3722d2648
3 changed files with 12 additions and 6 deletions

View File

@@ -17,8 +17,7 @@ mediapi_ir_control: irserver
# work there. Needs a libgpiod-based replacement before this goes back to true.
mediapi_has_dhtsensor: false
# Raspberry Pi 5. The SD card came from a Pi 4, whose image has no Pi 5 kernel.
pi_standard_setup_install_pi5_kernel: true
# Raspberry Pi 5 (detected from the device tree; the Pi 5 kernel is installed as needed).
# The Pi is fed 5V through the HiFiBerry board's GPIO header, not USB-C, so it cannot
# negotiate a 5A supply and would cap USB current at 600mA.
hifiberry_powers_pi: true