]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: add more space for sections
authorLennart Poettering <lennart@poettering.net>
Tue, 25 Feb 2025 10:54:41 +0000 (11:54 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 25 Feb 2025 15:33:55 +0000 (00:33 +0900)
I ran into the limit with ParticleOS, with 6 profiles, hence I think the
current default value is a bit low. let's bump it 4x, to 120. This is
still a lot lower than 500 or so which Debian uses downstream.

We can look into raising this further should we collide with this again,
but for now, let's try 120 and see how it goes in practice.

meson_options.txt

index c616f23297585de765e1fee3ad71a284b4ba5e58..c71d3bf0533bc104d39f3bbd96d74df1e9341aa0 100644 (file)
@@ -498,7 +498,7 @@ option('efi-color-highlight', type : 'string', value : 'black,lightgray',
        description : 'boot loader color for selected entries')
 option('efi-color-edit', type : 'string', value : 'black,lightgray',
        description : 'boot loader color for option line edit')
-option('efi-stub-extra-sections', type : 'integer', value : 30,
+option('efi-stub-extra-sections', type : 'integer', value : 120,
        description : 'minimum number of sections to keep free in stub PE header')
 option('efi-addon-extra-sections', type : 'integer', value : 15,
        description : 'minimum number of sections to keep free in addon PE header')