Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Strip executables in build_ubuntu.sh
Browse files Browse the repository at this point in the history
lintian reports non-stripped executables as warnings

Signed-off-by: Laurent Bonnans <[email protected]>
  • Loading branch information
lbonn committed Jun 17, 2019
1 parent 5364e7d commit 18cb136
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export TEST_WITH_TESTSUITE=0

# build and copy aktualizr.deb and garage_deploy.deb to $TEST_INSTALL_DESTDIR
mkdir -p "$TEST_INSTALL_DESTDIR"
"$GITREPO_ROOT/scripts/test.sh"
# note: executables are stripped, following common conventions in .deb packages
LDFLAGS="-s" "$GITREPO_ROOT/scripts/test.sh"

# copy provisioning data and scripts
cp -rf "$GITREPO_ROOT/tests/test_data/prov_selfupdate" "$TEST_INSTALL_DESTDIR"
Expand Down

0 comments on commit 18cb136

Please sign in to comment.