diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2023-01-24 10:28:25 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2023-03-07 08:14:46 +0100 |
commit | 78088b8f43717a43661cd2c1627a9860904c4794 (patch) | |
tree | 16e7d6785ba58ca0512683bee005dec1d0aeb0e4 /src/kernel-install/90-uki-copy.install | |
parent | 9200e520adb9acd44e602ee6f80bf21ffed4c969 (diff) | |
download | systemd-78088b8f43717a43661cd2c1627a9860904c4794.tar.gz |
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.
Diffstat (limited to 'src/kernel-install/90-uki-copy.install')
0 files changed, 0 insertions, 0 deletions