From cc8113fbe87e1b751da247a34a657aca1cbf5fd2 Mon Sep 17 00:00:00 2001 From: Phil Elwell <8911409+pelwell@users.noreply.github.com> Date: Fri, 13 Oct 2023 11:21:53 +0100 Subject: [PATCH] rpi-update: Cope with incorrect Pi 5 kernel names The kernel autobuilds have been building kernel2712.img, not kernel_2712.img. Handle the incorrect name as well. --- rpi-update | 1 + 1 file changed, 1 insertion(+) diff --git a/rpi-update b/rpi-update index 9302dc8..45a1749 100755 --- a/rpi-update +++ b/rpi-update @@ -408,6 +408,7 @@ function update_firmware { fi if [[ ${WANT_PI5} -eq 1 ]]; then [[ -e "${FW_REPOLOCAL}/"kernel_2712.img ]] && cp "${FW_REPOLOCAL}/"kernel_2712.img "${FW_PATH}/" + [[ -e "${FW_REPOLOCAL}/"kernel2712.img ]] && cp "${FW_REPOLOCAL}/"kernel2712.img "${FW_PATH}/"kernel_2712.img fi if [[ -n $(shopt -s nullglob; echo "${FW_REPOLOCAL}/"*.dtb*) ]]; then cp "${FW_REPOLOCAL}/"*.dtb* "${FW_PATH}/"