check kernel8 image in /boot/firmware/ (#4528)

This commit is contained in:
openoms 2024-04-06 09:51:44 +02:00 committed by GitHub
parent 81a2a013c8
commit 8f7f08cea9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -448,7 +448,7 @@ if [ "${baseimage}" = "raspios_arm64" ]; then
echo "# Raspiblitz" | tee -a $configFile
# ensure that kernel8.img is used to set PAGE_SIZE to 4K
# https://github.com/raspiblitz/raspiblitz/issues/4346
if [ -f /boot/kernel8.img ]; then
if [ -f /boot/firmware/kernel8.img ]; then
echo 'kernel=kernel8.img' | tee -a $configFile
fi
echo "max_usb_current=1" | tee -a $configFile