[PATCH] classes-recipe/dpkg-raw: Set DPKG_SOURCE_EXTRA_ARGS

0 views
Skip to first unread message

Quirin Gylstorff

unread,
4:09 AM (7 hours ago) 4:09 AM
to isar-...@googlegroups.com, felix.mo...@siemens.com, christop...@siemens.com, adriaan...@siemens.com, jan.k...@siemens.com, cedric.h...@siemens.com
From: Quirin Gylstorff <quirin.g...@siemens.com>

This allows to add normally excluded binaries, e.g. *.so, *.a from
a closed source delivery as dpkg-raw packages to an image.

This was behavior before 4eea5a87(dpkg-raw: add files to source package)
moved to destination dir inside the source package.

Fixes: 4eea5a87 (dpkg-raw: add files to source package)
Signed-off-by: Quirin Gylstorff <quirin.g...@siemens.com>
---
meta/classes-recipe/dpkg-raw.bbclass | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/meta/classes-recipe/dpkg-raw.bbclass b/meta/classes-recipe/dpkg-raw.bbclass
index ba756eef..ac1cfa90 100644
--- a/meta/classes-recipe/dpkg-raw.bbclass
+++ b/meta/classes-recipe/dpkg-raw.bbclass
@@ -5,6 +5,10 @@

inherit dpkg

+# Set DPKG_SOURCE_EXTRA_ARGS to empty to allow
+# adding excluded files, e.g. *.so to a package.
+DPKG_SOURCE_EXTRA_ARGS = ""
+
D = "${S}/image"

# Default to creating a binary-indep package
--
2.51.2

Reply all
Reply to author
Forward
0 new messages