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 Apr 23, 2024
1 parent 8605d8f commit 81c4dc6
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 81c4dc6

Please sign in to comment.