summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/packages.rst
diff options
context:
space:
mode:
authorPaul Eggleton <bluelightning@bluelightning.org>2023-04-22 15:19:40 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-22 10:42:53 +0100
commit62031fbfce50c19525f5c7efee955868d5696b57 (patch)
treea4cb1d331dd48c011f7b0b4aae88d6381b6a0e3a /documentation/dev-manual/packages.rst
parent37f0bc37011cc2a4d4da9cad470c1a32a09f5a2d (diff)
downloadpoky-62031fbfce50c19525f5c7efee955868d5696b57.tar.gz
dev/ref-manual: Remove references to INC_PR
This technique is no longer used (nor necessary), let's just remove it to avoid any confusion. (From yocto-docs rev: 8f50d0bf22fea8064c112f52df06dbd6a85a7a83) Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/packages.rst')
-rw-r--r--documentation/dev-manual/packages.rst12
1 files changed, 0 insertions, 12 deletions
diff --git a/documentation/dev-manual/packages.rst b/documentation/dev-manual/packages.rst
index 90c52beb29..79f21d9f34 100644
--- a/documentation/dev-manual/packages.rst
+++ b/documentation/dev-manual/packages.rst
@@ -227,18 +227,6 @@ default value is "r0", the practice of adding it to a new recipe makes
227it harder to forget to bump the variable when you make changes to the 227it harder to forget to bump the variable when you make changes to the
228recipe in future. 228recipe in future.
229 229
230If you are sharing a common ``.inc`` file with multiple recipes, you can
231also use the :term:`INC_PR` variable to ensure that the recipes sharing the
232``.inc`` file are rebuilt when the ``.inc`` file itself is changed. The
233``.inc`` file must set :term:`INC_PR` (initially to "r0"), and all recipes
234referring to it should set :term:`PR` to "${INC_PR}.0" initially,
235incrementing the last number when the recipe is changed. If the ``.inc``
236file is changed then its :term:`INC_PR` should be incremented.
237
238When upgrading the version of a binary package, assuming the :term:`PV`
239changes, the :term:`PR` variable should be reset to "r0" (or "${INC_PR}.0"
240if you are using :term:`INC_PR`).
241
242Usually, version increases occur only to binary packages. However, if 230Usually, version increases occur only to binary packages. However, if
243for some reason :term:`PV` changes but does not increase, you can increase 231for some reason :term:`PV` changes but does not increase, you can increase
244the :term:`PE` variable (Package Epoch). The :term:`PE` variable defaults to 232the :term:`PE` variable (Package Epoch). The :term:`PE` variable defaults to