Skip to content

Commit

Permalink
prevent automatic stripping of ELF binaries after installation
Browse files Browse the repository at this point in the history
Stripping of ELF binaries after installation might invalidate signatures
that are generated during the installation. Prevent this by stripping
binaries during the build and before the installation.
  • Loading branch information
christianrauch committed Nov 25, 2023
1 parent ed462ae commit 8073c5d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bloom/generators/debian/templates/meson/rules.em
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ override_dh_auto_configure:
--prefix="@(InstallationPrefix)" \
--cmake-prefix-path="@(InstallationPrefix)" \
--libdir=lib \
--libexecdir=lib
--libexecdir=lib \
--strip

override_dh_auto_build:
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
Expand All @@ -50,3 +51,7 @@ override_dh_shlibdeps:
override_dh_auto_install:
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi && \
dh_auto_install

# do not strip ELF binaries
override_dh_strip:
true

0 comments on commit 8073c5d

Please sign in to comment.