From patchwork Tue Jun 18 14:35:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 45313 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 F13CCC27C4F for ; Tue, 18 Jun 2024 14:35:43 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.87890.1718721339026561048 for ; Tue, 18 Jun 2024 07:35:39 -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 4C0F4DA7 for ; Tue, 18 Jun 2024 07:36:03 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 30E253F6A8 for ; Tue, 18 Jun 2024 07:35:38 -0700 (PDT) From: Ross Burton To: meta-arm@lists.yoctoproject.org Subject: [PATCH] documentation/runfvp: use IMAGE_CLASSES instead of INHERIT Date: Tue, 18 Jun 2024 14:35:36 +0000 Message-Id: <20240618143536.453241-1-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 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, 18 Jun 2024 14:35:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/5818 The fvpboot class specifically hooks into the image creation, so it should use IMAGE_CLASSES instead of INHERIT (which is global in scope). Signed-off-by: Ross Burton --- documentation/runfvp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/runfvp.md b/documentation/runfvp.md index ed14d44a..be2d8614 100644 --- a/documentation/runfvp.md +++ b/documentation/runfvp.md @@ -4,10 +4,10 @@ The `runfvp` tool in meta-arm makes it easy to run Yocto Project disk images ins ## Running images with `runfvp` -To build images with the FVP integration, the `fvpboot` class needs to be inherited. If the machine does not do this explicitly it can be done in `local.conf`: +To build images with the FVP integration, the `fvpboot` image class needs to be inherited. If the machine does not do this explicitly it can be done in `local.conf`: ``` -INHERIT += "fvpboot" +IMAGE_CLASSES += "fvpboot" ``` The class will download the correct FVP and write a `.fvpconf` configuration file when an image is built.