Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootctl: tweak DOS header magic check
Read the magic first, try reading the full DOS exe header only in case the magic check succeeds. This avoids throwing an header read error on small dummy files as used by test-kernel-install. (cherry picked from commit 78088b8) Related: RHEL-16354
- Loading branch information