From patchwork Tue Feb 28 14:41:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowtham Suresh Kumar X-Patchwork-Id: 20278 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 39A0AC7EE31 for ; Tue, 28 Feb 2023 14:42:29 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.25000.1677595344235522330 for ; Tue, 28 Feb 2023 06:42:24 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: gowtham.sureshkumar@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 12322FEC; Tue, 28 Feb 2023 06:43:07 -0800 (PST) Received: from e126345.cambridge.arm.com (e126345.cambridge.arm.com [10.1.32.131]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1F6E43F67D; Tue, 28 Feb 2023 06:42:23 -0800 (PST) From: gowtham.sureshkumar@arm.com To: meta-arm@lists.yoctoproject.org, Ross.Burton@arm.com Cc: nd@arm.com, Gowtham Suresh Kumar Subject: [PATCH langdale 6/6] arm-bsp/uefi_capsule: Move UEFI capsule to IMGDEPLOYDIR Date: Tue, 28 Feb 2023 14:41:52 +0000 Message-Id: <20230228144152.17041-7-gowtham.sureshkumar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230228144152.17041-1-gowtham.sureshkumar@arm.com> References: <20230228144152.17041-1-gowtham.sureshkumar@arm.com> 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, 28 Feb 2023 14:42:29 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/4464 From: Gowtham Suresh Kumar The UEFI capsule generated is in the incorrect build directory. This patch copies it to IMGDEPLOYDIR. Signed-off-by: Gowtham Suresh Kumar --- meta-arm/classes/uefi_capsule.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm/classes/uefi_capsule.bbclass b/meta-arm/classes/uefi_capsule.bbclass index cf708412..690e7af4 100644 --- a/meta-arm/classes/uefi_capsule.bbclass +++ b/meta-arm/classes/uefi_capsule.bbclass @@ -43,7 +43,7 @@ IMAGE_CMD:uefi_capsule(){ envsubst < ${UEFI_CAPSULE_CONFIG} > ./${MACHINE}-capsule-update-image.json ${STAGING_DIR_NATIVE}/usr/bin/edk2-BaseTools/BinWrappers/PosixLike/GenerateCapsule \ - -e -o ${UEFI_FIRMWARE_BINARY}.${CAPSULE_EXTENSION} -j \ + -e -o ${IMGDEPLOYDIR}/${UEFI_FIRMWARE_BINARY}.${CAPSULE_EXTENSION} -j \ ${MACHINE}-capsule-update-image.json # Remove the firmware to avoid contamination of IMGDEPLOYDIR