From 33ab1b5b7e0d78dc4af89ae5673f03ae7568b2ad Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 25 Feb 2025 11:54:41 +0100 Subject: [PATCH] meson: add more space for sections 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson_options.txt b/meson_options.txt index c616f23297..c71d3bf053 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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')