From patchwork Fri Feb 24 14:24:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmidt, Adriaan" X-Patchwork-Id: 2699 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 24 Feb 2023 15:24:42 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f62.google.com (mail-wm1-f62.google.com [209.85.128.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 31OEOf0L025833 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Feb 2023 15:24:41 +0100 Received: by mail-wm1-f62.google.com with SMTP id e22-20020a05600c219600b003e000facbb1sf1275248wme.9; Fri, 24 Feb 2023 06:24:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677248676; cv=pass; d=google.com; s=arc-20160816; b=LQIT/jTd0EcLYuIlfGJYEIWPTD9dgDYiP1J5qZG/E4aLVh3bR+1SlR9pq05pSlJdPR jGGZqoCro4Dhp0aw3qXwbetz7pBBQy67sspV8ByRElu8XTjdG4CZTfiW625nrRZQ+8K7 EqEam3SnCt0gBzUMvsQe+DZQMpEX15AVbMqkAASnbMo5c0RwZRlLlpcMSbn5MaBqRp7i Lmy/L2RKaI0wBY/G4exd/tpLVy0zkbutBjWvTprPaVZkKq820IIk+Ce9EYUYRMuS6Prh O8rPdycEWAd4N96dl36xoRgi2/mq+b0iqZ8xBBbGDlAZLVYwcBxRiDnZYT2zAzN2M/Zv 0M6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:feedback-id:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=z12sUOAC0bjXrtD+/GYRLZhqKxj+GwN8JQhE070dUXw=; b=XsGRT50tVyfwMfNrWFkDaUTMoyapb4/RFoBBaFr+PxC3CLKVlZJnS1JkJgYBA+euQ/ 00dmdUjn6mcYnhW/kWF0yjZLP7ZM+LRUtK2I5COQLHX6UZZNXXLyPfbW92fjogL3SEV8 xweZr28/gG3GvCiPyKyMye7IN0pkqoBAJLZQrQwiXsXudC41E5buMUSWnwEoOkXDSKu9 LEj7+F/+D0lb0qVIQHyq07XbAWLapm1tGPmJroDaoOHPAS1cEDvtLI/4zagoP2mxJg9Z GAWFK3J2tsPshOHDNyeG+7G59qa0wxzYAjsCNmRMHG9Euhctk7HdHHn88rAM22cJQLeP tLiQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=bxE5p6ON; spf=pass (google.com: domain of fm-526363-20230224142434bb5b3b397888bd2639-grydpz@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-526363-20230224142434bb5b3b397888bd2639-gRYDPZ@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:feedback-id:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=z12sUOAC0bjXrtD+/GYRLZhqKxj+GwN8JQhE070dUXw=; b=BH862j3jxdLtEIT1JAR66/oFMNwie4k53WfLhVq+HxKO6PpwIMst0uT1VUFCgB4zyg fEBmgu7Jq4yw/So18sEFmgzwKus5p4dWo1cuj8sSFqrynTa0uL2+hn/ZRAkc19JrpqyJ ATZ9/bAHChw/HCRAyUI6+75EpCUxz/PDLVFqHLyJwTQTQ9r9hxdu28Dpx9DmG8ZwZ1lb wfa422bA/INOLrzZzLggmsWsm/N1BRi3h2dhGWlChFSUGfsMNjS2+7MCYD5R/bDlc6cC RbAJ9u68w9rjAK82r9JLYIdSvnH6efaLXUrAqiI3YpoftZBk0h4+VkQ1Nxe9kAgpw+ES yLmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:feedback-id :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=z12sUOAC0bjXrtD+/GYRLZhqKxj+GwN8JQhE070dUXw=; b=Ep5+lt4Wa0J4MVK0Ir8KbqHEae5dY0LB5d4RbTJ4u88kJ+rmYHIE4iwJQodDNUmbEa v0hrqZb1UHkeWhWf9Pg8J0rr8rb9Z3lc6I8yv6tvPK6WhuxnNZOwTZPKUAFusbG+NJt4 rHpbVA6SFUYaXXySgIrD4gsL+SGMzFtnA6whnJn0a4LqMzWTLSBnLYNKRmDx5vjk/aSg G4qngexcFZ79ltDTLdxCSfO6EPNmBLBENrTicuKSL+7NS0ol2Oeh8Eh1QyJmnvtH+lLn C2RCTk4a5ttR/AVEGzYsphvCsUyAHzoYOs0OzJlO1pNCkDcYo/Bls71KhcI4krK9ZLag VXnA== Sender: isar-users@googlegroups.com X-Gm-Message-State: AO0yUKXpQkFcuyy+BliO7ChSPJWORLv00IyaFk45w7KNq/TKHqsRKh6s iJ72UA09M/58TEYVWOwMvc4= X-Google-Smtp-Source: AK7set8TnGUj2lP6hEaU5CdJi1utVNc05t/tzr+VVfp4RkZqlv+RDpTF4OLoYoT0wBUgnZbn9aso+g== X-Received: by 2002:a05:600c:1c89:b0:3df:d8c9:caa7 with SMTP id k9-20020a05600c1c8900b003dfd8c9caa7mr1332972wms.4.1677248676111; Fri, 24 Feb 2023 06:24:36 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6000:696:b0:2c5:557d:88a3 with SMTP id bo22-20020a056000069600b002c5557d88a3ls755326wrb.3.-pod-prod-gmail; Fri, 24 Feb 2023 06:24:34 -0800 (PST) X-Received: by 2002:a5d:440c:0:b0:2c7:778:5da6 with SMTP id z12-20020a5d440c000000b002c707785da6mr10194865wrq.42.1677248674731; Fri, 24 Feb 2023 06:24:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677248674; cv=none; d=google.com; s=arc-20160816; b=y2pMWJTwqbWd1htvSSixpFHcxae4TUG6oXLp1rQnpnf9/ZWYl+Rle8Casj1KPy6U4m SbhYxwE0qujt0LKd2zaTQQ3cs3+Z4CjmxAOG8yHxqBoN3eMURpYwFGNR6bxCoOPDXxjI ipmvRNPFICRQXSUa3bqbvkMrnuSYGnZwuEFMS90usd1hmDl+hwTI8b+T7MovRrJatXl7 HO0qb8XNwAdm3c1ZOjJaAcEyKc1azVYFkhL4lUJ6LCbCSnY7Xj1/992FZIfewacv99Sf sUxFHfzcp12Z1NvPHn36mrRcwurKOqlgCfd//LKneAik18K7KHpa+BzPJjcYBeoF60u8 TIxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=36Qn3lfVWtLGImPdyY9sq/eoqRcNZ/3FLq2TjYu8Y9A=; b=k8A68JGRj3t33030lKFP7qTI2wwVr1h9WmLlegDhqyEPq8f6IwrZ31+GGqUn67tIVm r++UhlKVoyEiq9THppDaZ59Bbf59yi71TeYW1Eikb2/08LDVgDYPi9x9twzp2KkVyw27 +ntHwfeqCldzWtVVUq/wzleMwNd1BzeLWQB4yvxOqjrYG9evGh6XYeVxpLHK6I/AMVuR PQtfRc4KVxVt5JcMmjmhjnXe43e7rE2p60g8F+LG85o+8ryibT5SpXHGdNZp2FpLZGco B2md971/Vq+C+jJMotMf6s5xy1Tce5YkW8htNrqHCy9pHGkoDmX2kY/o9/8gnGkhDpF2 PqQQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=bxE5p6ON; spf=pass (google.com: domain of fm-526363-20230224142434bb5b3b397888bd2639-grydpz@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-526363-20230224142434bb5b3b397888bd2639-gRYDPZ@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net. [185.136.64.227]) by gmr-mx.google.com with ESMTPS id cc13-20020a5d5c0d000000b002c6eaaaac82si524674wrb.7.2023.02.24.06.24.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Feb 2023 06:24:34 -0800 (PST) Received-SPF: pass (google.com: domain of fm-526363-20230224142434bb5b3b397888bd2639-grydpz@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) client-ip=185.136.64.227; Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 20230224142434bb5b3b397888bd2639 for ; Fri, 24 Feb 2023 15:24:34 +0100 From: Adriaan Schmidt To: isar-users@googlegroups.com Cc: Adriaan Schmidt Subject: [PATCH v3 3/4] remove obsolete compat-arch override Date: Fri, 24 Feb 2023 15:24:31 +0100 Message-Id: <20230224142432.3767746-4-adriaan.schmidt@siemens.com> In-Reply-To: <20230224142432.3767746-1-adriaan.schmidt@siemens.com> References: <20230224142432.3767746-1-adriaan.schmidt@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-526363:519-21489:flowmailer X-Original-Sender: adriaan.schmidt@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=bxE5p6ON; spf=pass (google.com: domain of fm-526363-20230224142434bb5b3b397888bd2639-grydpz@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-526363-20230224142434bb5b3b397888bd2639-gRYDPZ@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_PASS 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= The compat-arch override is no longer needed, as PACKAGE_ARCH is controlled by DEPENDing on -compat. Also change the compat test: adding the compat package now happens via IMAGE_INSTALL in the config. Signed-off-by: Adriaan Schmidt --- meta-isar/recipes-app/hello-isar/hello-isar.bb | 3 --- meta-isar/recipes-app/libhello/libhello.bb | 3 --- meta/conf/bitbake.conf | 3 +-- testsuite/cibuilder.py | 4 ++++ 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/meta-isar/recipes-app/hello-isar/hello-isar.bb b/meta-isar/recipes-app/hello-isar/hello-isar.bb index 39ddecb9..7d9f8322 100644 --- a/meta-isar/recipes-app/hello-isar/hello-isar.bb +++ b/meta-isar/recipes-app/hello-isar/hello-isar.bb @@ -20,7 +20,4 @@ SRC_URI = " \ file://yet-another-change.txt;apply=yes;striplevel=0" SRCREV = "a18c14cc11ce6b003f3469e89223cffb4016861d" -# NOTE: This is just to test 32-bit building on 64-bit archs. -PACKAGE_ARCH:compat-arch = "${COMPAT_DISTRO_ARCH}" - inherit dpkg diff --git a/meta-isar/recipes-app/libhello/libhello.bb b/meta-isar/recipes-app/libhello/libhello.bb index 3770fdb4..8b10842f 100644 --- a/meta-isar/recipes-app/libhello/libhello.bb +++ b/meta-isar/recipes-app/libhello/libhello.bb @@ -13,7 +13,4 @@ PV = "0.1-98f2e41" SRC_URI = "git://github.com/ilbers/libhello.git;protocol=https;branch=master;destsuffix=${P}" SRCREV = "98f2e41e7d05ab8d19b0c5d160b104b725c8fd93" -# NOTE: This is just to test 32-bit building on 64-bit archs. -PACKAGE_ARCH:compat-arch = "${COMPAT_DISTRO_ARCH}" - inherit dpkg diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index dd21319a..0c79a5b6 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -67,9 +67,8 @@ KERNEL_FILE:mipsel ?= "vmlinux" KERNEL_FILE:riscv64 ?= "vmlinux" KERNEL_FILE:arm64 ?= "vmlinux" -OVERRIDES = "${PACKAGE_ARCH}:${COMPAT_OVERRIDE}:${MACHINE}:${DISTRO}:${BASE_DISTRO_CODENAME}:forcevariable" +OVERRIDES = "${PACKAGE_ARCH}:${MACHINE}:${DISTRO}:${BASE_DISTRO_CODENAME}:forcevariable" FILESOVERRIDES = "${PACKAGE_ARCH}:${MACHINE}" -COMPAT_OVERRIDE = "${@'compat-arch' if d.getVar('ISAR_ENABLE_COMPAT_ARCH') == '1' else ''}" # Setting default QEMU_ARCH variables for different DISTRO_ARCH: QEMU_ARCH:amd64 = "x86_64" diff --git a/testsuite/cibuilder.py b/testsuite/cibuilder.py index 72522f4d..89d01531 100755 --- a/testsuite/cibuilder.py +++ b/testsuite/cibuilder.py @@ -96,7 +96,11 @@ class CIBuilder(Test): with open(self.build_dir + '/conf/ci_build.conf', 'w') as f: if compat_arch: f.write('ISAR_ENABLE_COMPAT_ARCH:amd64 = "1"\n') + f.write('IMAGE_INSTALL:remove:amd64 = "hello-isar"\n') + f.write('IMAGE_INSTALL:append:amd64 = " hello-isar-compat"\n') f.write('ISAR_ENABLE_COMPAT_ARCH:arm64 = "1"\n') + f.write('IMAGE_INSTALL:remove:arm64 = "hello-isar"\n') + f.write('IMAGE_INSTALL:append:arm64 = " hello-isar-compat"\n') f.write('IMAGE_INSTALL += "kselftest"\n') if cross: f.write('ISAR_CROSS_COMPILE = "1"\n')