Skip to content

Commit

Permalink
Workaround for firmware extract bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hifiberry committed Apr 16, 2020
1 parent d26c246 commit 6af47f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,14 @@ if [ "$V" -lt 20200416 ]; then
cp /newroot/etc/asound.conf.eq /newroot/etc/asound.conf
fi

if [ "$V" -lt 20200420 ]; then
echo "Version < 20200420, extracting firmware again (due to bug in updater)"
if [ -f /newroot/usr/lib/firmware/rpi/zImage ]; then
echo "Using zImage from new RPI firmware"
cp -rv /newroot/usr/lib/firmware/rpi/* /boot
fi
fi

sync

echo "Upgrading configuration files done"

0 comments on commit 6af47f0

Please sign in to comment.