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

This commit is contained in:
openoms 2024-04-06 09:51:44 +02:00 committed by openoms
parent c8feef9063
commit ce80eb5939
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

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