public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] classes-recipe/dpkg-raw: Set DPKG_SOURCE_EXTRA_ARGS
@ 2025-12-05  9:07 'Quirin Gylstorff' via isar-users
  2025-12-08 13:20 ` Zhihang Wei
  0 siblings, 1 reply; 2+ messages in thread
From: 'Quirin Gylstorff' via isar-users @ 2025-12-05  9:07 UTC (permalink / raw)
  To: isar-users, felix.moessbauer, christoph.steiger, adriaan.schmidt,
	jan.kiszka, cedric.hombourger

From: Quirin Gylstorff <quirin.gylstorff@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.gylstorff@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

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251205090846.256011-1-Quirin.Gylstorff%40siemens.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] classes-recipe/dpkg-raw: Set DPKG_SOURCE_EXTRA_ARGS
  2025-12-05  9:07 [PATCH] classes-recipe/dpkg-raw: Set DPKG_SOURCE_EXTRA_ARGS 'Quirin Gylstorff' via isar-users
@ 2025-12-08 13:20 ` Zhihang Wei
  0 siblings, 0 replies; 2+ messages in thread
From: Zhihang Wei @ 2025-12-08 13:20 UTC (permalink / raw)
  To: Quirin Gylstorff, isar-users, felix.moessbauer,
	christoph.steiger, adriaan.schmidt, jan.kiszka,
	cedric.hombourger

Applied to next, thanks.

Zhihang

On 12/5/25 10:07, 'Quirin Gylstorff' via isar-users wrote:
> From: Quirin Gylstorff <quirin.gylstorff@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.gylstorff@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

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/0ab898d2-200c-48c1-b865-f78485e06663%40ilbers.de.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-08 13:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-05  9:07 [PATCH] classes-recipe/dpkg-raw: Set DPKG_SOURCE_EXTRA_ARGS 'Quirin Gylstorff' via isar-users
2025-12-08 13:20 ` Zhihang Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox