Skip to contentSkip to conversation

manuals: update disk space requirements

PATCH Superseded [email protected] 1 participant 2 messages Mar 16, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 manuals: update disk space requirements

From: Michael Opdenacker <[email protected]>

Tests made on Poky master on March 16, 2023.

Add a "Free Disk Space" section to the "System Requirements" document.

---
 documentation/brief-yoctoprojectqs/index.rst     | 2 +-
 documentation/poky.yaml.in                       | 2 ++
 documentation/ref-manual/system-requirements.rst | 9 +++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
documentation/brief-yoctoprojectqs/index.rst +1 -1
index 7b8baf233a..5410036a30 100644
@@ -40,7 +40,7 @@ Compatible Linux Distribution
 Make sure your :term:`Build Host` meets the
 following requirements:
 
--  50 Gbytes of free disk space
+-  &MIN_DISK_SPACE; Gbytes of free disk space
 
 -  Runs a supported Linux distribution (i.e. recent releases of Fedora,
    openSUSE, CentOS, Debian, or Ubuntu). For a list of Linux
documentation/poky.yaml.in +2 -0
index 30e1050824..7810b8d2a5 100644
@@ -41,3 +41,5 @@ MIN_TAR_VERSION : "1.28"
 MIN_GIT_VERSION : "1.8.3.1"
 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"
documentation/ref-manual/system-requirements.rst +9 -0
index 0fbe3f12c8..1add92e85d 100644
@@ -31,6 +31,15 @@ and conceptual information in the :doc:`/overview-manual/index`.
 
 .. _detailed-supported-distros:
 
+Free Disk Space
+===============
+
+To build an image such as ``core-image-sato``, you need a system with at least
+&MIN_DISK_SPACE; Gbytes of free disk space.
+
+If you have a shortage of disk space, see the ":doc:`/dev-manual/disk-space`"
+section of the Development Tasks Manual.
+
 Supported Linux Distributions
 =============================
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 poky.yaml.in, dev-manual/disk-space.rst: add rm_work data

From: Michael Opdenacker <[email protected]>

---
 documentation/dev-manual/disk-space.rst | 6 ++++++
 documentation/poky.yaml.in              | 2 ++
 2 files changed, 8 insertions(+)
documentation/dev-manual/disk-space.rst +6 -0
index 3a5d2b7297..c63591cc7a 100644
@@ -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
 ==========================================
 
documentation/poky.yaml.in +2 -0
index 7810b8d2a5..eefdd3f30d 100644
@@ -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"
Signature · 1 line
2.34.1