From 4db046100a928a4baa1c3e527535dee9c7b69da5 Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Sun, 30 Aug 2026 22:12:54 -0400 Subject: [PATCH] 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 Link: https://patch.msgid.link/20260831021255.4064163-3-twoerner@gmail.com Signed-off-by: Antonin Godard (cherry picked from commit fc81d055ab85d2d55d440f20f442b552d1374a26) Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/dev-manual/new-recipe.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/dev-manual/new-recipe.rst b/documentation/dev-manual/new-recipe.rst index e539bde995..8221f33dde 100644 --- a/documentation/dev-manual/new-recipe.rst +++ b/documentation/dev-manual/new-recipe.rst @@ -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