public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] debianize: Allow defining additional build dependencies
@ 2020-04-03 16:29 Jan Kiszka
  2020-04-17 16:32 ` Baurzhan Ismagulov
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2020-04-03 16:29 UTC (permalink / raw)
  To: isar-users; +Cc: Henning Schild

From: Jan Kiszka <jan.kiszka@siemens.com>

This avoids the not very uncommon sed patterns after deb_debianize,
injecting additional build dependencies.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 RECIPE-API-CHANGELOG.md        | 5 +++++
 meta/classes/debianize.bbclass | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/RECIPE-API-CHANGELOG.md b/RECIPE-API-CHANGELOG.md
index fc416a4f..a444e32a 100644
--- a/RECIPE-API-CHANGELOG.md
+++ b/RECIPE-API-CHANGELOG.md
@@ -236,3 +236,8 @@ downloads from previous builds for the cache.
 
 DTB_FILES now allows to specify multiple DTBs that should be deployed for
 consumption by imaging classes.
+
+### Add DEBIAN_BUILD_DEPENDS as deb_debianize parameter
+
+Additional build dependencies of auto-debianized packages can now be defined
+by setting DEBIAN_BUILD_DEPENDS.
diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass
index f07a432c..da43a4e2 100644
--- a/meta/classes/debianize.bbclass
+++ b/meta/classes/debianize.bbclass
@@ -5,6 +5,7 @@
 
 CHANGELOG_V ?= "${PV}"
 DPKG_ARCH ??= "any"
+DEBIAN_BUILD_DEPENDS ?= ""
 DEBIAN_DEPENDS ?= ""
 DESCRIPTION ?= "must not be empty"
 MAINTAINER ?= "Unknown maintainer <unknown@example.com>"
@@ -49,7 +50,7 @@ Section: misc
 Priority: optional
 Standards-Version: 3.9.6
 Maintainer: ${MAINTAINER}
-Build-Depends: debhelper (>= ${compat})
+Build-Depends: debhelper (>= ${compat}), ${DEBIAN_BUILD_DEPENDS}
 
 Package: ${PN}
 Architecture: ${DPKG_ARCH}
-- 
2.16.4


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

* Re: [PATCH] debianize: Allow defining additional build dependencies
  2020-04-03 16:29 [PATCH] debianize: Allow defining additional build dependencies Jan Kiszka
@ 2020-04-17 16:32 ` Baurzhan Ismagulov
  0 siblings, 0 replies; 2+ messages in thread
From: Baurzhan Ismagulov @ 2020-04-17 16:32 UTC (permalink / raw)
  To: isar-users

On Fri, Apr 03, 2020 at 06:29:15PM +0200, Jan Kiszka wrote:
> This avoids the not very uncommon sed patterns after deb_debianize,
> injecting additional build dependencies.

Applied to next, thanks.

With kind regards,
Baurzhan.

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

end of thread, other threads:[~2020-04-17 16:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03 16:29 [PATCH] debianize: Allow defining additional build dependencies Jan Kiszka
2020-04-17 16:32 ` Baurzhan Ismagulov

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