From: Antonin Godard <antonin.godard@bootlin.com>
To: docs@lists.yoctoproject.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Antonin Godard <antonin.godard@bootlin.com>
Subject: [PATCH 1/2] ref-manual/variables.rst: document the PACKAGE_NO_LOCALE variable
Date: Tue, 18 Aug 2026 11:20:28 +0200 [thread overview]
Message-ID: <20260818-packagefuncs-v1-1-1f26764cbdd3@bootlin.com> (raw)
In-Reply-To: <20260818-packagefuncs-v1-0-1f26764cbdd3@bootlin.com>
Added by commit 4b46c1f6e891 ("Initial population") in OE-Core (2005!).
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
documentation/ref-manual/variables.rst | 47 ++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index fa0dfdfb8..09136803c 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -7166,6 +7166,53 @@ system and gives an overview of their function and contents.
install, the build system does not generate an error. This variable
is generally not user-defined.
+ :term:`PACKAGE_NO_LOCALE`
+ The :term:`PACKAGE_NO_LOCALE` variable can be set to "1" to prevent the
+ :term:`OpenEmbedded Build System` from splitting the locales found in the
+ :term:`PKGD` directory into split packages.
+
+ For example, the ``quilt`` recipe automatically produces split packages
+ after the :ref:`ref-tasks-package` task is run. Taking a look inside the
+ :term:`WORKDIR` directory of ``quilt``:
+
+ .. code-block:: console
+
+ $ ls -1 packages-split/
+ guards
+ guards-doc
+ quilt
+ quilt-dbg
+ quilt-dev
+ quilt-doc
+ quilt-locale-de
+ quilt-locale-fr
+ quilt-locale-ja
+ quilt-locale-ru
+ quilt-ptest
+ quilt-src
+ quilt-staticdev
+
+ We can see the ``quilt-locale-*`` packages were automatically generated.
+ Setting :term:`PACKAGE_NO_LOCALE` to "1" would produce the following
+ packages:
+
+ .. code-block:: console
+
+ $ ls -1 packages-split/
+ guards
+ guards-doc
+ quilt
+ quilt-dbg
+ quilt-dev
+ quilt-doc
+ quilt-locale
+ quilt-ptest
+ quilt-src
+ quilt-staticdev
+
+ The ``quilt-locale`` package contains the merged content of the previous
+ ``quilt-locale-*`` packages.
+
:term:`PACKAGE_PREPROCESS_FUNCS`
Specifies a list of functions run to pre-process the
:term:`PKGD` directory prior to splitting the files out
--
2.55.0
next prev parent reply other threads:[~2026-08-18 9:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 9:20 [PATCH 0/2] Document package related variables Antonin Godard
2026-08-18 9:20 ` Antonin Godard [this message]
2026-08-18 9:20 ` [PATCH 2/2] ref-manual/variables.rst: document the PACKAGEFUNCS variable Antonin Godard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260818-packagefuncs-v1-1-1f26764cbdd3@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.