From 8feae1342393dcf1dad5d86df2ebe3727ea40d88 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 15 Nov 2010 08:27:07 -0800 Subject: Poky Reference Manual: Added INC_PR documentation. Added an entry in the glossary for INC_PR. Also updated section "Package Revision Incrementing" to mention the use of INC_PR in conjuntion with the PR and PV variables. Signed-off-by: Scott Rifenbark --- documentation/poky-ref-manual/extendpoky.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'documentation/poky-ref-manual/extendpoky.xml') diff --git a/documentation/poky-ref-manual/extendpoky.xml b/documentation/poky-ref-manual/extendpoky.xml index 03546e6d3f..92f51a56f9 100644 --- a/documentation/poky-ref-manual/extendpoky.xml +++ b/documentation/poky-ref-manual/extendpoky.xml @@ -684,9 +684,13 @@ BBFILE_PRIORITY_emenlow = "6" variable needs to be increased (or 'bumped') as part of that commit. This means that for new recipes you must be sure to add the PR variable and set its initial value equal to "r0". - Not initially defining PR makes it easy to miss when you bump a package. + Failing to define PR makes it easy to miss when you bump a package. Note that you can only use integer values for the PR variable. + + You can also use the INC_PR variable + to keep up with package revisioning. + When upgrading the version of a package the (PV) and PR variables should be reset to "r0". @@ -708,8 +712,8 @@ BBFILE_PRIORITY_emenlow = "6" First, to ensure that when a developer updates and rebuilds, they get all the changes to the repository and don't have to remember to rebuild any sections. Second, to ensure that target users are able to upgrade their - devices using package manager commands such as - opkg upgrade (or similar commands for dpkg/apt or rpm-based systems). + devices using package manager commands such as opkg upgrade + (or similar commands for dpkg/apt or rpm-based systems). The goal is to ensure Poky has upgradeable packages in all cases. -- cgit v1.2.3-54-g00ecf