| Message ID | 20251205090846.256011-1-Quirin.Gylstorff@siemens.com |
|---|---|
| State | Accepted, archived |
| Headers | show |
| Series | classes-recipe/dpkg-raw: Set DPKG_SOURCE_EXTRA_ARGS | expand |
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
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