1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-20 02:18:37 +00:00

Update genimage to avoid unbootable RPi 5 images when flashed from Windows (#4199)

Update genimage so the images are not mangled (by the primary GPT relocated)
when flashed from Windows. Otherwise, boot media flashed from Windows isn't
compatible with bootloader older than 2024-10-10.

This is a regression of #3437. The Buildroot update in #4027 updated genimage
to v18, yet the downstream patch that was later replaced by a different one in
upstream was not merged to that version yet and the patch was incorrectly
removed. In v19 there's another fix in the offset calculation logic that sets
the first usable LBA again to a value that prevents Windows from mangling the
image.

* buildroot 01604756d2...141bf1f9fa (1):
  > package/genimage: bump version to 19

Fixes #4160
This commit is contained in:
Jan Čermák
2025-08-04 10:03:41 +02:00
committed by GitHub
parent 8fa0cb1b58
commit c39ceed37e