mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
dev-manual: quote the values in two recipe examples
Both fail to parse. AI-Generated: codex/claude opus 5 (xhigh) (From yocto-docs rev: 8ce3614d2cc4494b1c8bf88452eeed4d3f1e586c) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Link: https://patch.msgid.link/20260831021255.4064163-3-twoerner@gmail.com Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit fc81d055ab85d2d55d440f20f442b552d1374a26) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bab7cf95b3
commit
4db046100a
@@ -1043,7 +1043,7 @@ correctly trigger an upgrade.
|
||||
In order to ensure the versions compare properly, the recommended
|
||||
convention is to use a tilde (``~``) character as follows::
|
||||
|
||||
PV = 0.8.16~rc1
|
||||
PV = "0.8.16~rc1"
|
||||
|
||||
This way ``0.8.16~rc1`` sorts before ``0.8.16``. See the
|
||||
":ref:`contributor-guide/recipe-style-guide:version policy`" section in the
|
||||
@@ -1626,7 +1626,7 @@ in the BitBake User Manual.
|
||||
You indicate Python code using the ``${@python_code}`` syntax for the
|
||||
variable assignment::
|
||||
|
||||
SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz
|
||||
SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz"
|
||||
|
||||
- *Shell Function Syntax:* Write shell functions as if you were writing
|
||||
a shell script when you describe a list of actions to take. You
|
||||
|
||||
Reference in New Issue
Block a user