summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2017-07-27 14:43:56 +0100
committerJonathan Maw <jonathan.maw@codethink.co.uk>2017-07-27 14:43:58 +0100
commita56d9efba5a0095234ee5c26b7bb80c3eaa11958 (patch)
tree606d160733929fba570f3f2ff6f484062a6478d7
parente15ca6cf49bc3f8ef79338322299978620ef6f6d (diff)
downloadbuildstream-a56d9efba5a0095234ee5c26b7bb80c3eaa11958.tar.gz
dpkg_build.yaml: Remove useless debiandir from artifacts
dpkg_build artifacts used to include a DEBIAN/ dir containing a bunch of files which didn't even come from the same package. This commit removes them, to avoid future confusion.
-rw-r--r--buildstream/plugins/elements/dpkg_build.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/dpkg_build.yaml b/buildstream/plugins/elements/dpkg_build.yaml
index 5d7431811..2a164eac1 100644
--- a/buildstream/plugins/elements/dpkg_build.yaml
+++ b/buildstream/plugins/elements/dpkg_build.yaml
@@ -19,6 +19,8 @@ variables:
for pkg in %{packages}; do
cp -a debian/${pkg}/* %{install-root}
done
+ clear-debian: |
+ rm -r %{install-root}/DEBIAN
patch: |
if grep -q "3.0 (quilt)" debian/source/format; then
quilt push -a
@@ -50,6 +52,8 @@ config:
install-commands:
- |
%{install-packages}
+ - |
+ %{clear-debian}
# Commands for stripping debugging information out of
# installed binaries