diff options
Diffstat (limited to 'documentation/migration-guides/migration-5.3.rst')
-rw-r--r-- | documentation/migration-guides/migration-5.3.rst | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/documentation/migration-guides/migration-5.3.rst b/documentation/migration-guides/migration-5.3.rst index 22653fc911..09095c7bb2 100644 --- a/documentation/migration-guides/migration-5.3.rst +++ b/documentation/migration-guides/migration-5.3.rst | |||
@@ -59,6 +59,48 @@ Removed classes | |||
59 | 59 | ||
60 | The following classes have been removed in this release: | 60 | The following classes have been removed in this release: |
61 | 61 | ||
62 | - ``kernel-fitimage.bbclass``: the class has been replaced by the | ||
63 | :ref:`ref-classes-kernel-fit-image` class. The new implementation resolves | ||
64 | the long-standing :yocto_bugs:`bug 12912</show_bug.cgi?id=12912>`. | ||
65 | |||
66 | If you are using the kernel FIT image support, you will need to: | ||
67 | |||
68 | #. Make sure to include ``kernel-fit-extra-artifacts`` in your :term:`KERNEL_CLASSES` | ||
69 | variable to ensure the required files are exposed to the :term:`DEPLOY_DIR_IMAGE` | ||
70 | directory:: | ||
71 | |||
72 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" | ||
73 | |||
74 | #. Use the specific FIT image recipe rather than the base kernel recipe. | ||
75 | For example, instead of:: | ||
76 | |||
77 | bitbake linux-yocto | ||
78 | |||
79 | the FIT image is now build by:: | ||
80 | |||
81 | bitbake linux-yocto-fitimage | ||
82 | |||
83 | For custom kernel recipes, creating a corresponding custom FIT image recipe | ||
84 | is usually a good approach. | ||
85 | |||
86 | #. If a FIT image is used as a replacement for the kernel image in the root | ||
87 | filesystem, add the following configuration to your machine configuration | ||
88 | file:: | ||
89 | |||
90 | # Create and deploy the vmlinux artifact which gets included into the FIT image | ||
91 | KERNEL_CLASSES += "kernel-fit-extra-artifacts" | ||
92 | |||
93 | # Do not install the kernel image package | ||
94 | RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" | ||
95 | # Install the FIT image package | ||
96 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "linux-yocto-fitimage" | ||
97 | |||
98 | # Configure the image.bbclass to depend on the FIT image instead of only | ||
99 | # the kernel to ensure the FIT image is built and deployed with the image | ||
100 | KERNEL_DEPLOY_DEPEND = "linux-yocto-fitimage:do_deploy" | ||
101 | |||
102 | See the :ref:`ref-classes-kernel-fit-image` section for more information. | ||
103 | |||
62 | Removed features | 104 | Removed features |
63 | ~~~~~~~~~~~~~~~~ | 105 | ~~~~~~~~~~~~~~~~ |
64 | 106 | ||