]> git.ipfire.org Git - thirdparty/systemd.git/commit
stub: Also reserve sections for EFI stub 28595/head
authorJan Janssen <medhefgo@web.de>
Sun, 30 Jul 2023 19:05:24 +0000 (21:05 +0200)
committerJan Janssen <medhefgo@web.de>
Sun, 30 Jul 2023 19:31:38 +0000 (21:31 +0200)
commitd0bbe3248551e6cb02ba62559e7ff87b0a27f789
tree0f2246eaf4000ff573e98547a4bc606ecf9bf17f
parentee91e06a5841c30bc7306260528ef407e0ebbab3
stub: Also reserve sections for EFI stub

The stub image may not have enough sections to cause enough PE header
space to be free for later expansion. Given that the stub is guaranteed
to be expanded we should always reserve enough sections for it.

This also bumps the reservation to 15. It doesn't add more space
compared to current builds but it more closely reflects the amount of
sections that a UKI could have in total if all optional sections are
used.

Fixes: #28593
src/boot/efi/meson.build