summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@microsoft.com>2021-10-11 13:06:52 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-20 20:20:46 +0100
commit2abbaa3319b5cef9eee6805b7e84b984e4b6dca1 (patch)
treecb929d17e156cc463a95afbca48e11f6f67fa01d /documentation
parentf0428cea44f8f2f0dd6a23b81c6a92283ff33eb8 (diff)
downloadpoky-2abbaa3319b5cef9eee6805b7e84b984e4b6dca1.tar.gz
migration: tweak introduction section
Ensure we have a brief introductory section and tweak the general migration considerations a little. (From yocto-docs rev: c94aa8b9d828f9267a70deee05bdf483dc570101) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/migration-guides/migration-general.rst26
1 files changed, 22 insertions, 4 deletions
diff --git a/documentation/migration-guides/migration-general.rst b/documentation/migration-guides/migration-general.rst
index 182482ec43..9eecf69af8 100644
--- a/documentation/migration-guides/migration-general.rst
+++ b/documentation/migration-guides/migration-general.rst
@@ -1,5 +1,17 @@
1Introduction
2============
3
4This guide provides a list of the backwards-incompatible changes you
5might need to adapt to in your existing Yocto Project configuration
6when upgrading to a new release.
7
8If you are upgrading over multiple releases, you will need to follow
9the sections from the version following the one you were previously
10using up to the new version you are upgrading to.
11
12
1General Migration Considerations 13General Migration Considerations
2================================ 14--------------------------------
3 15
4Some considerations are not tied to a specific Yocto Project release. 16Some considerations are not tied to a specific Yocto Project release.
5This section presents information you should consider when migrating to 17This section presents information you should consider when migrating to
@@ -26,16 +38,17 @@ any new Yocto Project release.
26 38
27 The better solution (where practical) is to use append files 39 The better solution (where practical) is to use append files
28 (``*.bbappend``) to capture any customizations you want to make to a 40 (``*.bbappend``) to capture any customizations you want to make to a
29 recipe. Doing so, isolates your changes from the main recipe making 41 recipe. Doing so isolates your changes from the main recipe, making
30 them much more manageable. However, sometimes it is not practical to 42 them much more manageable. However, sometimes it is not practical to
31 use an append file. A good example of this is when introducing a 43 use an append file. A good example of this is when introducing a
32 newer or older version of a recipe in another layer. 44 newer or older version of a recipe in another layer.
33 45
46
34- *Updating Append Files*: 47- *Updating Append Files*:
35 48
36 Since append files generally only contain 49 Since append (``.bbappend``) files generally only contain
37 your customizations, they often do not need to be adjusted for new 50 your customizations, they often do not need to be adjusted for new
38 releases. However, if the ``.bbappend`` file is specific to a 51 releases. However, if the append file is specific to a
39 particular version of the recipe (i.e. its name does not use the % 52 particular version of the recipe (i.e. its name does not use the %
40 wildcard) and the version of the recipe to which it is appending has 53 wildcard) and the version of the recipe to which it is appending has
41 changed, then you will at a minimum need to rename the append file to 54 changed, then you will at a minimum need to rename the append file to
@@ -50,5 +63,10 @@ any new Yocto Project release.
50 this is the case and assuming the patch is still needed, you must 63 this is the case and assuming the patch is still needed, you must
51 modify the patch file so that it does apply. 64 modify the patch file so that it does apply.
52 65
66 .. tip::
67
68 You can list all append files used in your configuration by running:
69
70 bitbake-layers show-appends
53 71
54 72