diff mbox series

[v2,2/3] manuals: add rm_work disk space data

Message ID 20230317173130.36268-3-michael.opdenacker@bootlin.com
State New
Headers show
Series Update and expand system requirements | expand

Commit Message

Michael Opdenacker March 17, 2023, 5:31 p.m. UTC
From: Michael Opdenacker <michael.opdenacker@bootlin.com>

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
---
 documentation/dev-manual/disk-space.rst | 6 ++++++
 documentation/poky.yaml.in              | 2 ++
 2 files changed, 8 insertions(+)
diff mbox series

Patch

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"