From 63e3fc7a4dab13de2731376fa2c1bf2c6606d158 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Sun, 11 Sep 2022 19:26:06 +0200 Subject: [PATCH] dev-manual: common-tasks.rst: describe the newly added layer setup and template config commands (From yocto-docs rev: 3a5af296eb1492492ba60beabe888527d0dda49a) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- documentation/dev-manual/common-tasks.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index ddf0fd5cdd..837824be38 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst @@ -726,8 +726,18 @@ The following list describes the available commands: - ``layerindex-show-depends``: Finds layer dependencies from the layer index. +- ``save-build-conf``: Saves the currently active build configuration + (``conf/local.conf``, ``conf/bblayers.conf``) as a template into a layer. + This template can later be used for setting up builds via :term:``TEMPLATECONF``. + For information about saving and using configuration templates, see + ":ref:`dev-manual/common-tasks:creating a custom template configuration directory`". + - ``create-layer``: Creates a basic layer. +- ``create-layers-setup``: Writes out a configuration file and/or a script that + can replicate the directory structure and revisions of the layers in a current build. + For more information, see ":ref:`dev-manual/common-tasks:saving and restoring the layers setup`". + Creating a General Layer Using the ``bitbake-layers`` Script ------------------------------------------------------------