From patchwork Fri Mar 17 17:31:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Opdenacker X-Patchwork-Id: 21149 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 94753C74A5B for ; Fri, 17 Mar 2023 17:31:59 +0000 (UTC) Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by mx.groups.io with SMTP id smtpd.web11.25836.1679074312846749303 for ; Fri, 17 Mar 2023 10:31:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MwpOjQaZ; spf=pass (domain: bootlin.com, ip: 217.70.183.198, mailfrom: michael.opdenacker@bootlin.com) Received: (Authenticated sender: michael.opdenacker@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D789FC000F; Fri, 17 Mar 2023 17:31:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1679074311; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TxsBzTO2p6xQlKMvO4boQ8jXxX3ND8YC5jwnZ0NLtKA=; b=MwpOjQaZCyocBILdp14mkdlh2XBtVIPocihgWE6ukDJT1G1897b+oBcIxJRHodjbj9k07n A/Q8Gx5iQiswZT+2OzzhTML0BuhBQDF1VCUjEqjosPZfnZrf1fTGjzzlN5l8TpuckvifvA DCcVHPEMyguvzWwVn4D9cFZj47PFAW3PJGpb6v7vscd33TCU+U48S0NYNIQjRGaAQn1/VA ystDqzgDgHELKkRplDR3USB4FLy2K+/pfZ+A2Q3l9OzezRHyAO/YOPpwAXWEh0XRgvwIv9 bvEBihYq+31Ssn07oS7gafe+gTgEw+by2eJ6dF+lhftGENv0jUzhq3bpXgFQpg== From: michael.opdenacker@bootlin.com To: docs@lists.yoctoproject.org Cc: Michael Opdenacker Subject: [PATCH v2 2/3] manuals: add rm_work disk space data Date: Fri, 17 Mar 2023 18:31:29 +0100 Message-Id: <20230317173130.36268-3-michael.opdenacker@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230317173130.36268-1-michael.opdenacker@bootlin.com> References: <174D0151E4C65905.10271@lists.yoctoproject.org> <20230317173130.36268-1-michael.opdenacker@bootlin.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 ; Fri, 17 Mar 2023 17:31:59 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/3806 From: Michael Opdenacker Signed-off-by: Michael Opdenacker --- documentation/dev-manual/disk-space.rst | 6 ++++++ documentation/poky.yaml.in | 2 ++ 2 files changed, 8 insertions(+) diff --git a/documentation/dev-manual/disk-space.rst b/documentation/dev-manual/disk-space.rst index 3a5d2b7297..c63591cc7a 100644 --- a/documentation/dev-manual/disk-space.rst +++ b/documentation/dev-manual/disk-space.rst @@ -17,6 +17,12 @@ building a recipe once the recipe is built. For more information on "rm_work", see the :ref:`ref-classes-rm-work` class in the Yocto Project Reference Manual. +When you inherit this class and build a ``core-image-sato`` image for a +``qemux86-64`` machine from an Ubuntu 22.04 x86-64 system, you end up with a +final disk usage of 22 Gbytes instead of &MIN_DISK_SPACE; Gbytes. However, +&MIN_DISK_SPACE_RM_WORK; Gbytes of initial free disk space are still needed to +create temporary files before they can be deleted. + Purging Duplicate Shared State Cache Files ========================================== diff --git a/documentation/poky.yaml.in b/documentation/poky.yaml.in index 7810b8d2a5..eefdd3f30d 100644 --- a/documentation/poky.yaml.in +++ b/documentation/poky.yaml.in @@ -43,3 +43,5 @@ MIN_GCC_VERSION : "7.5" MIN_MAKE_VERSION : "4.0" # Disk space (Gbytes) needed to generate qemux86-64 core-image-sato on Ubuntu 22.04 (x86-64), rounded up from 87 MIN_DISK_SPACE : "90" +# Disk space (Gbytes) needed to generate qemux86-64 core-image-sato on Ubuntu 22.04 (x86-64) with "rm_work", rounded up from 38 +MIN_DISK_SPACE_RM_WORK : "40"