From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6735330247834599424 X-Received: by 2002:a05:600c:2:: with SMTP id g2mr15661356wmc.111.1569823649937; Sun, 29 Sep 2019 23:07:29 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:d18d:: with SMTP id i135ls2185776wmg.4.canary-gmail; Sun, 29 Sep 2019 23:07:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvNMeKW7hE6AtrXPf+yPSJgoxeExMUUDX7IEJnkvwdsZ9KJYwPoT0L5TxjE+A3osoYRQN5 X-Received: by 2002:a1c:c104:: with SMTP id r4mr16770740wmf.64.1569823649364; Sun, 29 Sep 2019 23:07:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569823649; cv=none; d=google.com; s=arc-20160816; b=PeK3muCGRF2na4a88Klarua0lhQDVzCs2J46MWhvN322IvWMf5a+XziG5OMHgGEoSt w+K5jBmEtAk1xs9qAlNM4LbYNEUh4zNZRnFpo936ndavZL+kMSpWFA++fNzwopwtu8Db Uzo8rOCxeaX82VMUO5x6j0FgBa8MjEveVumz93QTYpzFDrwj+e3gAh9lX+tCc9Dyt5jI GmX0owXPxik09jt9s85gjfAMV8DftAw6HavfC6TWjsXKDziPC5Gul4aYSFpVZF1fJJyL r3G37Wn8+XgbEU7gqhIGuKBja1TM9aoBGU+sZ6wkcx7ZIH1PFvvCLJdci6uH4+SuTlKT LX0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=fAU2ZM7w+yWLw/AFRHLsK8ORKctvLaf7pYNWE+ZiSkg=; b=arm9C54A3suUlCRaltYNPFMyQtcFioxeHQ25OhAnmTb1WSe0rQra13U7+G1U2JaMc5 NR/a8eqGHHf4LwYP/ramzlMrv74aDuPjDN6cC/sd10v8Dcl7Tri9ed11FjcGmsm0BIyi r6/DAFLAkPN4FdaowzZE3o7NW4iHClyZGbYJXPX6cTVnYF9yoi5GGfXDPuEmiFV1Xzw3 H7FerM8b7NKk8ztqHTBgUT/vUv/hO6Cyv1A86FLQz5U6JUtHznVSUTRFlP1a4s9kK40a UtNx4YD7dt5CgPestajK8WViYwAuCXqLMiRl9a1dt47cOJ/NjVlPnBISZoc98jRvfEPY 0nhw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id m1si631290wrs.0.2019.09.29.23.07.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Sep 2019 23:07:29 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id x8U67TKQ015204 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 30 Sep 2019 08:07:29 +0200 Received: from [167.87.40.9] ([167.87.40.9]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x8U67Q0R001013; Mon, 30 Sep 2019 08:07:26 +0200 Subject: Re: [PATCH] Add support for specifying package architecture using DPKG_ARCH To: "[ext] Dalamagkidis, Konstantinos" , "isar-users@googlegroups.com" References: <20190911084104.19625-1-konstantinos.dalamagkidis@siemens.com> From: Jan Kiszka Message-ID: <6c7eeaaa-5f26-0836-e80e-e130d1f54347@siemens.com> Date: Mon, 30 Sep 2019 08:07:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190911084104.19625-1-konstantinos.dalamagkidis@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: Bidrv3YG7uR6 On 11.09.19 10:41, [ext] Dalamagkidis, Konstantinos wrote: > For some packages we want to be able to specify the "all" architecture. > > Signed-off-by: Konstantinos Dalamagkidis > --- > 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 > Thinking about this again: I guess we need more to enable "all" packages cleanly. Currently, we will build them multiple times, namely once per DISTRO/DISTRO_ARCH, rather than just one per DISTRO. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux