From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7169469243442855936 X-Received: by 2002:a19:6559:0:b0:4a2:3d2c:d9bc with SMTP id c25-20020a196559000000b004a23d2cd9bcmr13858406lfj.375.1669358176118; Thu, 24 Nov 2022 22:36:16 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:2ac1:0:b0:277:2e6e:e039 with SMTP id q184-20020a2e2ac1000000b002772e6ee039ls567457ljq.9.-pod-prod-gmail; Thu, 24 Nov 2022 22:36:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf6d25qUPGlndZIxmaHlYoIl0zAr8DtXH8N2ffA/Lee7Pv6N2bGy+U5BaMz1C2knH0ew0kCN X-Received: by 2002:a2e:a90a:0:b0:26d:ccb6:1d47 with SMTP id j10-20020a2ea90a000000b0026dccb61d47mr6436110ljq.199.1669358174516; Thu, 24 Nov 2022 22:36:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669358174; cv=none; d=google.com; s=arc-20160816; b=J7NeVHp/Cl1Got3sjEJAN3anAPuALPYpY3/awNMqAc0KujHLxIojq/rxP6AUOUBfwa rOWjOAmfEhHGWgcah9DzroaFRLCx3j+2s8e8M+PN7w+nNRhAsAMAtq23pf4b5axTydJN 8dAgofiyNDs8bHVQWTMhzMuXfeT9PYR0HYO2f5PHYfm8TdIepYQw2bT8iJGlehiLGBQ0 pbQ0BTPtsWalxM84yo7V7H11n0iTWRK485V9jg617c2N/EP9aP7x9C3Ld5x4REUSKPKs N0wgeQURZElve54j+jV1LXvhpYQkPwp/5kYtNOdsKuPDoy3+Wy3FY46IXQXzEB2DSeio 16/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from; bh=gv4xfnLCazRdKcFeOGhBCKESR0Ya3LFMgEuhZF9563k=; b=GilOsHI4TGiv4tkCPMZF5NjtvrsnyanpeCkQ2rnfGCY9JWHsaOZOPjjwoHsBFAgzTN EtSEg4AwWLUvrY6px3nf7DR1fKR9AsW3iFhrI3mZf2ky41Y+Wc3pGrqlOD1CGJrnEQnI kH/NhTDrryayLVZ++ON4X82T1F7jJMJXqHzSCxNKc83KcstDeqUvpMmgziJrrHEjR3PB 8lAOS79v55zSAdr5t8E21HR+hunGi/DGohPTpCwDqvqYqDEhCSz1bTyHLLg8jOXLnMoB bi2qBce/8GpkAe2i4Nhuz+VsACRnn77At/5WT0DzaF71WsJ6QEIjRygokEyAH8YS+qL9 eUKQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id d23-20020a056512369700b004b01b303713si143580lfs.8.2022.11.24.22.36.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Nov 2022 22:36:14 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from baighyz.m.ilbers.de (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 2AP6aCKe014230 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 25 Nov 2022 07:36:13 +0100 From: Uladzimir Bely To: isar-users@googlegroups.com Subject: [PATCH v2 0/3] Fix cross-build from base-apt when custom DISTRO name used Date: Fri, 25 Nov 2022 07:36:09 +0100 Message-Id: <20221125063612.6932-1-ubely@ilbers.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: uJtwYn360wSa Changes since v1: - Support cached cross-build from base-apt for different base distros for host and target (e.g. raspberry). This patchset is mostly intended for downstreams that prefer to rename DISTRO variable (like `meat-iot2050`) and use ISAR_CROSS_COMPILE = "1". This also fixes the case with cross-build or raspberry targets from cached base-apt repo. While it uses separate repositories for host (Debian) and target (Raspbian) distros, base-apt is splittend onto two parts corresponding to original repos. Also, testsuite repro tests were updated to cover crosss-build case and raspberry target is now used in it. Uladzimir Bely (3): Populate base-apt from both DISTRO and HOST_DISTRO download dirs testsuite: Run signed repro test in cross mode testsuite: Replace bananapi with rpi-arm-v7 in signed repro tests meta-isar/conf/distro/raspbian-stretch.conf | 2 + meta-isar/conf/distro/raspios-bullseye.conf | 2 + meta-isar/conf/distro/ubuntu-focal.conf | 2 + meta/conf/distro/debian-common.conf | 2 + .../isar-bootstrap/isar-bootstrap.inc | 9 +++- meta/recipes-devtools/base-apt/base-apt.bb | 47 ++++++++++--------- testsuite/citest.py | 4 +- 7 files changed, 42 insertions(+), 26 deletions(-) -- 2.20.1