Merge ~alfonsosanchezbeato/snappy-hwe-snaps/+git/network-manager:strip-binaries into ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:master

Proposed by Alfonso Sanchez-Beato
Status: Merged
Merged at revision: a2f8548e50bf41aa893bf98c9977108f5fe0ccea
Proposed branch: ~alfonsosanchezbeato/snappy-hwe-snaps/+git/network-manager:strip-binaries
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:master
Diff against target: 14 lines (+3/-0)
1 file modified
snapcraft.yaml (+3/-0)
Reviewer Review Type Date Requested Status
System Enablement Bot continuous-integration Approve
Konrad Zapałowicz (community) Approve
Review via email: mp+354491@code.launchpad.net

Description of the change

Strip binaries for a smaller snap

To post a comment you must log in.
Revision history for this message
Konrad Zapałowicz (kzapalowicz) :
review: Approve
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :

PASSED: Successfully build documentation, rev: 42a4c6e2a27a0a9cf6dac38354d4d23eef83017f

Generated documentation is available at https://jenkins.canonical.com/system-enablement/job/snappy-hwe-snaps-snap-docs/1110/

Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :

PASSED: Successfully build documentation, rev: 080f54145a71f70e4f95d4b3c25c7b56f0cf122e

Generated documentation is available at https://jenkins.canonical.com/system-enablement/job/snappy-hwe-snaps-snap-docs/1112/

Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/snapcraft.yaml b/snapcraft.yaml
2index 2c8c9a5..2f93ee7 100644
3--- a/snapcraft.yaml
4+++ b/snapcraft.yaml
5@@ -146,6 +146,9 @@ parts:
6 install: |
7 # Run all tests NetworkManager ships by default
8 make check
9+ # Strip binaries
10+ find ../install -executable -type f | xargs file -Ni |
11+ grep 'application/x-executable\|application/x-sharedlib' | cut -d: -f1 | xargs strip
12
13 # Filter files pulled in by stage-packages so they aren't
14 # included in the final snap. We only need them to build

Subscribers

People subscribed via source and target branches