public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "Dalamagkidis, Konstantinos" <konstantinos.dalamagkidis@siemens.com>
To: "isar-users@googlegroups.com" <isar-users@googlegroups.com>
Cc: "Dalamagkidis, Konstantinos" <konstantinos.dalamagkidis@siemens.com>
Subject: [PATCH] Add support for specifying package architecture using DPKG_ARCH
Date: Wed, 11 Sep 2019 08:41:14 +0000	[thread overview]
Message-ID: <20190911084104.19625-1-konstantinos.dalamagkidis@siemens.com> (raw)

For some packages we want to be able to specify the "all" architecture.

Signed-off-by: Konstantinos Dalamagkidis <konstantinos.dalamagkidis@siemens.com>
---
 meta/classes/debianize.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/debianize.bbclass b/meta/classes/debianize.bbclass
index ad3a98e..c231b41 100644
--- a/meta/classes/debianize.bbclass
+++ b/meta/classes/debianize.bbclass
@@ -4,6 +4,7 @@
 # SPDX-License-Identifier: MIT
 
 CHANGELOG_V ?= "${PV}"
+DPKG_ARCH ??= "any"
 
 deb_add_changelog() {
 	timestamp=$(find ${S}/ -type f -not -path "${S}/debian/*" -printf "%T@\n"|sort -n -r|head -n 1)
@@ -40,7 +41,7 @@ Maintainer: ${MAINTAINER}
 Build-Depends: debhelper (>= ${compat})
 
 Package: ${PN}
-Architecture: any
+Architecture: ${DPKG_ARCH}
 Depends: ${DEBIAN_DEPENDS}
 Description: ${DESCRIPTION}
 EOF
-- 
2.20.1

             reply	other threads:[~2019-09-11  8:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11  8:41 Dalamagkidis, Konstantinos [this message]
2019-09-30  6:07 ` Jan Kiszka
2019-10-07 10:20   ` Baurzhan Ismagulov
2019-10-07 10:39     ` Baurzhan Ismagulov
2019-10-08 11:25       ` Jan Kiszka
2019-10-07 10:21 ` Baurzhan Ismagulov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190911084104.19625-1-konstantinos.dalamagkidis@siemens.com \
    --to=konstantinos.dalamagkidis@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox