From patchwork Tue Jun 17 17:13:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 65162 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id C79CCC7115E for ; Tue, 17 Jun 2025 17:13:43 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.25143.1750180420480226844 for ; Tue, 17 Jun 2025 10:13:40 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1FA5F150C for ; Tue, 17 Jun 2025 10:13:19 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B02F43F673 for ; Tue, 17 Jun 2025 10:13:39 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 2/4] scripts/test-remote-image: remove useless postconfig arguments Date: Tue, 17 Jun 2025 18:13:30 +0100 Message-ID: <20250617171332.3162295-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250617171332.3162295-1-ross.burton@arm.com> References: <20250617171332.3162295-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 17 Jun 2025 17:13:43 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/218911 I can't see a reason for this script to need to use postconfig files to bounce a variable assignment through another, so remove them. Signed-off-by: Ross Burton --- scripts/test-remote-image | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/test-remote-image b/scripts/test-remote-image index d209d228544..1d018992b07 100755 --- a/scripts/test-remote-image +++ b/scripts/test-remote-image @@ -152,8 +152,7 @@ class AutoTargetProfile(BaseTargetProfile): return controller def set_kernel_file(self): - postconfig = "QA_GET_MACHINE = \"${MACHINE}\"" - machine = get_bb_var('QA_GET_MACHINE', postconfig=postconfig) + machine = get_bb_var('MACHINE') self.kernel_file = self.kernel_type + '-' + machine + '.bin' def set_rootfs_file(self): @@ -215,13 +214,11 @@ class PublicAB(BaseRepoProfile): def get_repo_path(self): path = '/machines/' - postconfig = "QA_GET_MACHINE = \"${MACHINE}\"" - machine = get_bb_var('QA_GET_MACHINE', postconfig=postconfig) + machine = get_bb_var('MACHINE') if 'qemu' in machine: path += 'qemu/' - postconfig = "QA_GET_DISTRO = \"${DISTRO}\"" - distro = get_bb_var('QA_GET_DISTRO', postconfig=postconfig) + distro = get_bb_var('DISTRO') path += distro.replace('poky', machine) + '/' return path