diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-07-29 11:56:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-08 23:41:11 +0100 |
commit | 89fd9dd17a6450a1a9250e3f8ba212e9c3afd3f2 (patch) | |
tree | 5615030177498909da83965c1fcb67d046798a95 /documentation/dev-manual/building.rst | |
parent | e9042fee7188021130efed1b2db31eac96c50f5b (diff) | |
download | poky-89fd9dd17a6450a1a9250e3f8ba212e9c3afd3f2.tar.gz |
docs-wide: fix space around equal assignments
Since commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage") in BitBake, a warning is printed when
there are no spaces around an `=` assignment.
Adjust the documentation to show good examples only.
(From yocto-docs rev: 77ce1544dd793036b1135817c02e090138fe6407)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/building.rst')
-rw-r--r-- | documentation/dev-manual/building.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/dev-manual/building.rst b/documentation/dev-manual/building.rst index 32c7aa5da0..04c1500943 100644 --- a/documentation/dev-manual/building.rst +++ b/documentation/dev-manual/building.rst | |||
@@ -243,9 +243,9 @@ Bundling an Initramfs Image From a Separate Multiconfig | |||
243 | 243 | ||
244 | There may be a case where we want to build an :term:`Initramfs` image which does not | 244 | There may be a case where we want to build an :term:`Initramfs` image which does not |
245 | inherit the same distro policy as our main image, for example, we may want | 245 | inherit the same distro policy as our main image, for example, we may want |
246 | our main image to use ``TCLIBC="glibc"``, but to use ``TCLIBC="musl"`` in our :term:`Initramfs` | 246 | our main image to use ``TCLIBC = "glibc"``, but to use ``TCLIBC = "musl"`` in our :term:`Initramfs` |
247 | image to keep a smaller footprint. However, by performing the steps mentioned | 247 | image to keep a smaller footprint. However, by performing the steps mentioned |
248 | above the :term:`Initramfs` image will inherit ``TCLIBC="glibc"`` without allowing us | 248 | above the :term:`Initramfs` image will inherit ``TCLIBC = "glibc"`` without allowing us |
249 | to override it. | 249 | to override it. |
250 | 250 | ||
251 | To achieve this, you need to perform some additional steps: | 251 | To achieve this, you need to perform some additional steps: |
@@ -255,8 +255,8 @@ To achieve this, you need to perform some additional steps: | |||
255 | For the sake of simplicity let's assume such multiconfig is called: ``initramfscfg.conf`` and | 255 | For the sake of simplicity let's assume such multiconfig is called: ``initramfscfg.conf`` and |
256 | contains the variables:: | 256 | contains the variables:: |
257 | 257 | ||
258 | TMPDIR="${TOPDIR}/tmp-initramfscfg" | 258 | TMPDIR = "${TOPDIR}/tmp-initramfscfg" |
259 | TCLIBC="musl" | 259 | TCLIBC = "musl" |
260 | 260 | ||
261 | #. *Set additional Initramfs variables on your main configuration:* | 261 | #. *Set additional Initramfs variables on your main configuration:* |
262 | Additionally, on your main configuration (``local.conf``) you need to set the | 262 | Additionally, on your main configuration (``local.conf``) you need to set the |