diff options
Diffstat (limited to 'poky/documentation/dev-manual')
-rw-r--r-- | poky/documentation/dev-manual/disk-space.rst | 6 | ||||
-rw-r--r-- | poky/documentation/dev-manual/init-manager.rst | 24 | ||||
-rw-r--r-- | poky/documentation/dev-manual/packages.rst | 12 | ||||
-rw-r--r-- | poky/documentation/dev-manual/securing-images.rst | 2 | ||||
-rw-r--r-- | poky/documentation/dev-manual/start.rst | 2 | ||||
-rw-r--r-- | poky/documentation/dev-manual/wic.rst | 2 |
6 files changed, 15 insertions, 33 deletions
diff --git a/poky/documentation/dev-manual/disk-space.rst b/poky/documentation/dev-manual/disk-space.rst index 3a5d2b7297..c63591cc7a 100644 --- a/poky/documentation/dev-manual/disk-space.rst +++ b/poky/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/poky/documentation/dev-manual/init-manager.rst b/poky/documentation/dev-manual/init-manager.rst index 0617fed516..10c4754e62 100644 --- a/poky/documentation/dev-manual/init-manager.rst +++ b/poky/documentation/dev-manual/init-manager.rst @@ -38,26 +38,14 @@ following sections. Using systemd Exclusively ========================= -Set these variables in your distribution configuration file as follows:: - - DISTRO_FEATURES:append = " systemd" - VIRTUAL-RUNTIME_init_manager = "systemd" - -You can also prevent the SysVinit distribution feature from -being automatically enabled as follows:: - - DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" - -Doing so removes any -redundant SysVinit scripts. - -To remove initscripts from your image altogether, set this variable -also:: +Set the :term:`INIT_MANAGER` variable in your distribution configuration +file as follows:: - VIRTUAL-RUNTIME_initscripts = "" + INIT_MANAGER = "systemd" -For information on the backfill variable, see -:term:`DISTRO_FEATURES_BACKFILL_CONSIDERED`. +This will enable systemd and remove sysvinit components from the image. +See ``meta/conf/distro/include/init-manager-systemd.inc`` for exact +details on what this does. Using systemd for the Main Image and Using SysVinit for the Rescue Image ======================================================================== diff --git a/poky/documentation/dev-manual/packages.rst b/poky/documentation/dev-manual/packages.rst index 90c52beb29..79f21d9f34 100644 --- a/poky/documentation/dev-manual/packages.rst +++ b/poky/documentation/dev-manual/packages.rst @@ -227,18 +227,6 @@ default value is "r0", the practice of adding it to a new recipe makes it harder to forget to bump the variable when you make changes to the recipe in future. -If you are sharing a common ``.inc`` file with multiple recipes, you can -also use the :term:`INC_PR` variable to ensure that the recipes sharing the -``.inc`` file are rebuilt when the ``.inc`` file itself is changed. The -``.inc`` file must set :term:`INC_PR` (initially to "r0"), and all recipes -referring to it should set :term:`PR` to "${INC_PR}.0" initially, -incrementing the last number when the recipe is changed. If the ``.inc`` -file is changed then its :term:`INC_PR` should be incremented. - -When upgrading the version of a binary package, assuming the :term:`PV` -changes, the :term:`PR` variable should be reset to "r0" (or "${INC_PR}.0" -if you are using :term:`INC_PR`). - Usually, version increases occur only to binary packages. However, if for some reason :term:`PV` changes but does not increase, you can increase the :term:`PE` variable (Package Epoch). The :term:`PE` variable defaults to diff --git a/poky/documentation/dev-manual/securing-images.rst b/poky/documentation/dev-manual/securing-images.rst index 6a9223c19c..e5791d3d6d 100644 --- a/poky/documentation/dev-manual/securing-images.rst +++ b/poky/documentation/dev-manual/securing-images.rst @@ -68,7 +68,7 @@ more secure: - Regularly update your version of Poky and OE-Core from their upstream developers, e.g. to apply updates and security fixes from stable - and LTS branches. + and :term:`LTS` branches. - Ensure you remove or disable debugging functionality before producing the final image. For information on how to do this, see the diff --git a/poky/documentation/dev-manual/start.rst b/poky/documentation/dev-manual/start.rst index 498734a04d..27fc0fcd01 100644 --- a/poky/documentation/dev-manual/start.rst +++ b/poky/documentation/dev-manual/start.rst @@ -302,7 +302,7 @@ Project Build Host: as these releases are frequently tested against the Yocto Project and officially supported. For a list of the distributions under validation and their status, see the ":ref:`Supported Linux - Distributions <detailed-supported-distros>`" + Distributions <system-requirements-supported-distros>`" section in the Yocto Project Reference Manual and the wiki page at :yocto_wiki:`Distribution Support </Distribution_Support>`. diff --git a/poky/documentation/dev-manual/wic.rst b/poky/documentation/dev-manual/wic.rst index a8d2f46955..2a4408cdb0 100644 --- a/poky/documentation/dev-manual/wic.rst +++ b/poky/documentation/dev-manual/wic.rst @@ -72,7 +72,7 @@ In order to use the Wic utility with the OpenEmbedded Build system, your system needs to meet the following requirements: - The Linux distribution on your development host must support the - Yocto Project. See the ":ref:`detailed-supported-distros`" + Yocto Project. See the ":ref:`system-requirements-supported-distros`" section in the Yocto Project Reference Manual for the list of distributions that support the Yocto Project. |