summaryrefslogtreecommitdiff
path: root/src/kernel-install/90-uki-copy.install
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-01-24 10:28:25 +0100
committerGerd Hoffmann <kraxel@redhat.com>2023-03-07 08:14:46 +0100
commit78088b8f43717a43661cd2c1627a9860904c4794 (patch)
tree16e7d6785ba58ca0512683bee005dec1d0aeb0e4 /src/kernel-install/90-uki-copy.install
parent9200e520adb9acd44e602ee6f80bf21ffed4c969 (diff)
downloadsystemd-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