From 4ae67cc01a5ac05526fe934aa4c8d756200ab5f3 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 7 Mar 2018 12:38:12 -0800 Subject: dev-manual: Review edits to manual upgrades for recipes. (From yocto-docs rev: 05307788395cb16af95e89592bda070be6c1a397) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 29 ++++++++++++++-------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'documentation/dev-manual') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 306ba6d580..e70d62f5c4 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -4541,17 +4541,18 @@ To manually upgrade recipe versions, follow these general steps: - Change the Recipe Name: - Adjust the version (i.e. - PV) - part of the recipe name such that it uses the - new version number. + Change the Version: + Rename the recipe such that the version (i.e. the + PV + part of the recipe name) changes appropriately. + If the version is not part of the recipe name, change + the value as it is set for PV + within the recipe itself. Update SRCREV if Needed: If the source code your recipe builds is fetched from - Git or some other Version Control System (VCS), - update + Git or some other version control system, update SRCREV to point to the commit hash that matches the new version. @@ -4562,13 +4563,19 @@ Typical build failures include the following: - License terms were updated for the new version. - For this case, you need to review the new - terms of the license and update the values of + License statements were updated for the new + version. + For this case, you need to review any changes + to the license and update the values of LICENSE and LIC_FILES_CHKSUM as needed. + + License changes are often inconsequential. + For example, the license text's copyright + year might have changed. + Custom patches carried by the older version of @@ -4592,7 +4599,7 @@ MACHINE variable and rebuilding the software. This optional step is especially important if the - recipe is public. + recipe is to be released publicly. Check the Upstream Change Log or Release Notes: -- cgit v1.2.3-54-g00ecf