[v3,01/16] Split up isar-apt into distro-arch specific instances

Message ID 47cc08eb66b2ede076025b1b3a738f967f4c0303.1600788534.git.jan.kiszka@siemens.com
State Accepted, archived
Headers show
Series Complete backlog: SDK, compat arch, assorting fixed and cleanups | expand

Commit Message

Jan Kiszka Sept. 22, 2020, 7:28 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

The split on a per-arch basis is required because bitbake cannot detect
that a generic package (architecture 'all') built by recipes running for
different architectures will produce the same results. The split also
per distro is for consistency reasons only.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/conf/bitbake.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Baurzhan Ismagulov Oct. 5, 2020, 11:29 p.m. UTC | #1
Hello Jan,

On Tue, Sep 22, 2020 at 05:28:39PM +0200, Jan Kiszka wrote:
> The split on a per-arch basis is required because bitbake cannot detect
> that a generic package (architecture 'all') built by recipes running for
> different architectures will produce the same results. The split also
> per distro is for consistency reasons only.

Applied 1-5 to next, thanks.

With kind regards,
Baurzhan.

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index d2834f53..44ded532 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -77,8 +77,8 @@  QEMU_ARCH_riscv64 = "riscv64"
 DEBDISTRONAME ?= "isar"
 
 # Isar apt repository paths
-REPO_ISAR_DIR = "${DEPLOY_DIR}/isar-apt/apt"
-REPO_ISAR_DB_DIR = "${DEPLOY_DIR}/isar-apt/db"
+REPO_ISAR_DIR = "${DEPLOY_DIR}/isar-apt/${DISTRO}-${DISTRO_ARCH}/apt"
+REPO_ISAR_DB_DIR = "${DEPLOY_DIR}/isar-apt/${DISTRO}-${DISTRO_ARCH}/db"
 THIRD_PARTY_APT_KEYRING = "/etc/apt/trusted.gpg.d/third_party.gpg"
 
 # Base apt repository paths