mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Zero-out AppImage magic bytes from the ELF header extended ABI version so binfmt+qemu can be used (e.g. when executed from `docker run --platform …`). Cf.: - https://github.com/AppImage/AppImageKit/issues/1056 - https://github.com/AppImage/AppImageSpec/blob/master/draft.md#type-2-image-format - https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#:~:text=EI_ABIVERSION