summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-06 14:49:31 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-01-07 15:35:14 -0500
commit84a3d19e554662613ca700a7e175b9e20af2203e (patch)
tree12b86cf94a491f826486b71945aec116fe491dbb
parent794ed8d424d4de16dcbabc49560fd78673c99bbf (diff)
downloadbuildstream-84a3d19e554662613ca700a7e175b9e20af2203e.tar.gz
manual.yaml: Include strip commands in manual build element
This is a build element and is expected to build something, so lets give it strip power by default.
-rw-r--r--buildstream/plugins/elements/manual.py1
-rw-r--r--buildstream/plugins/elements/manual.yaml4
2 files changed, 4 insertions, 1 deletions
diff --git a/buildstream/plugins/elements/manual.py b/buildstream/plugins/elements/manual.py
index 132883d5f..998394b05 100644
--- a/buildstream/plugins/elements/manual.py
+++ b/buildstream/plugins/elements/manual.py
@@ -25,6 +25,7 @@ add custom build commands to the array understood by the :mod:`BuildElement <bui
The empty configuration is as such:
.. literalinclude:: ../../../buildstream/plugins/elements/manual.yaml
+ :language: yaml
"""
from buildstream import BuildElement
diff --git a/buildstream/plugins/elements/manual.yaml b/buildstream/plugins/elements/manual.yaml
index 6fa28f8dd..38fe7d163 100644
--- a/buildstream/plugins/elements/manual.yaml
+++ b/buildstream/plugins/elements/manual.yaml
@@ -17,4 +17,6 @@ config:
# Commands for stripping installed binaries
#
- strip-commands: []
+ strip-commands:
+ - |
+ %{strip-binaries}