diff options
| author | Paul Eggleton <bluelightning@bluelightning.org> | 2023-11-05 15:15:02 +1300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-06 22:52:32 +0000 |
| commit | a5a10bfec7c9ae3e24e973893a8ce2f510e8e9d1 (patch) | |
| tree | 2e6569a5f595bc68f0b96fd0c74fb2ce9913ef7d | |
| parent | 8292c949a0fcac185a0796c24eadadb93254b9be (diff) | |
| download | poky-a5a10bfec7c9ae3e24e973893a8ce2f510e8e9d1.tar.gz | |
migration-4.3: additional migration items
Add the following:
* Removed recipes
* One removed class
* Output file name changes
* Versioning changes
* tunctl removal
(From yocto-docs rev: 72114088bc9be184aab7b55087ea97a32a65cd6d)
Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/migration-guides/migration-4.3.rst | 77 |
1 files changed, 76 insertions, 1 deletions
diff --git a/documentation/migration-guides/migration-4.3.rst b/documentation/migration-guides/migration-4.3.rst index 17ea4e7127..fc25397d70 100644 --- a/documentation/migration-guides/migration-4.3.rst +++ b/documentation/migration-guides/migration-4.3.rst | |||
| @@ -135,7 +135,15 @@ Removed recipes | |||
| 135 | 135 | ||
| 136 | The following recipes have been removed in this release: | 136 | The following recipes have been removed in this release: |
| 137 | 137 | ||
| 138 | - ``glide``, as explained in :ref:`migration-4.3-go-changes`. | 138 | - ``apmd``: obsolete (``apm`` in :term:`MACHINE_FEATURES` also removed). |
| 139 | - ``cve-update-db-native``: functionally replaced by ``cve-update-nvd2-native`` | ||
| 140 | - ``gcr3``: no longer needed by core recipes, moved to meta-gnome (gcr, i.e. version 4.x, is still provided). | ||
| 141 | - ``glide``: as explained in :ref:`migration-4.3-go-changes`. | ||
| 142 | - ``libdmx``: obsolete | ||
| 143 | - ``linux-yocto`` version 5.15 (versions 6.1 and 6.5 provided instead). | ||
| 144 | - ``python3-async``: obsolete - no longer needed by ``python3-gitdb`` or any other core recipe | ||
| 145 | - ``rust-hello-world``: there are sufficient other Rust recipes and test cases such that this is no longer needed. | ||
| 146 | |||
| 139 | 147 | ||
| 140 | .. _migration-4.3-removed-classes: | 148 | .. _migration-4.3-removed-classes: |
| 141 | 149 | ||
| @@ -144,6 +152,68 @@ Removed classes | |||
| 144 | 152 | ||
| 145 | The following classes have been removed in this release: | 153 | The following classes have been removed in this release: |
| 146 | 154 | ||
| 155 | - ``glide``: as explained in :ref:`migration-4.3-go-changes`. | ||
| 156 | |||
| 157 | |||
| 158 | Output file naming changes | ||
| 159 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 160 | |||
| 161 | In 4.3 there are some minor differences in image and SDK output file names. | ||
| 162 | If you rely on the existing naming (e.g. in external scripts) you may need to | ||
| 163 | either modify configuration or adapt to the new naming. Further details: | ||
| 164 | |||
| 165 | - :term:`IMAGE_NAME` and :term:`IMAGE_LINK_NAME` now include the | ||
| 166 | :term:`IMAGE_NAME_SUFFIX` value directly. In practical terms, this means | ||
| 167 | that ``.rootfs`` will now appear in image output file names. If you do not | ||
| 168 | wish to have the ``.rootfs`` suffix used, you can just set | ||
| 169 | :term:`IMAGE_NAME_SUFFIX` to "" and this will now be consistently respected | ||
| 170 | in both the image file and image file symlink names. As part of this change, | ||
| 171 | support for the ``imgsuffix`` task varflag has been dropped (mostly | ||
| 172 | an internal implementation detail, but if you were implementing a custom | ||
| 173 | image construction with a task in a similar manner to ``do_bootimg`` | ||
| 174 | you may have been using this). | ||
| 175 | |||
| 176 | - :term:`SDK_NAME` now includes the values of :term:`IMAGE_BASENAME` and | ||
| 177 | :term:`MACHINE` so that they are unique when building SDKs for different | ||
| 178 | images and machines. | ||
| 179 | |||
| 180 | |||
| 181 | |||
| 182 | .. _migration-4.3-pr-pe: | ||
| 183 | |||
| 184 | Versioning changes | ||
| 185 | ~~~~~~~~~~~~~~~~~~ | ||
| 186 | |||
| 187 | - :term:`PR` values have been removed from all core recipes - distro maintainers | ||
| 188 | who make use of :term:`PR` values would need to curate these already so the | ||
| 189 | sparsely set base values would not be that useful anymore. If you have been | ||
| 190 | relying on these (i.e. you are maintaining a binary package feed where package | ||
| 191 | versions should only ever increase), double-check the output (perhaps with the | ||
| 192 | help of the :ref:`ref-classes-buildhistory` class) to ensure that package | ||
| 193 | versions are consistent. | ||
| 194 | |||
| 195 | - The :term:`PR` value can no longer be set from the recipe file name - this | ||
| 196 | was rarely used, but in any case is no longer supported. | ||
| 197 | |||
| 198 | - :term:`PE` and :term:`PR` are no longer included in the work directory path | ||
| 199 | (:term:`WORKDIR`). This may break some tool assumptions about directory paths, | ||
| 200 | but those should really be querying paths from the build system (or not poking | ||
| 201 | into :term:`WORKDIR` externally). | ||
| 202 | |||
| 203 | - Source revision information has been moved from :term:`PV` to :term:`PKGV`. | ||
| 204 | The user visible effect of this change is that :term:`PV` will no longer have | ||
| 205 | revision information in it and this will now be appended to the :term:`PV` | ||
| 206 | value through :term:`PKGV` when the packages are written out (as long as "+" | ||
| 207 | is present in the :term:`PKGV` value). Since :term:`PV` is used in | ||
| 208 | :term:`STAMP` and :term:`WORKDIR`, you may notice small directory naming and | ||
| 209 | stamp naming changes. | ||
| 210 | |||
| 211 | - The :term:`SRCPV` variable is no longer needed in :term:`PV`, but since | ||
| 212 | the default :term:`SRCPV` value is now "", using it is effectively now just a | ||
| 213 | null operation - you can remove it (leaving behind the "+") , but it is not | ||
| 214 | yet required to do so. | ||
| 215 | |||
| 216 | |||
| 147 | .. _migration-4.3-qemu-changes: | 217 | .. _migration-4.3-qemu-changes: |
| 148 | 218 | ||
| 149 | QEMU changes | 219 | QEMU changes |
| @@ -162,6 +232,11 @@ QEMU changes | |||
| 162 | This change was made to avoid exceeding two serial ports, which interferes | 232 | This change was made to avoid exceeding two serial ports, which interferes |
| 163 | with automated testing. | 233 | with automated testing. |
| 164 | 234 | ||
| 235 | - ``runqemu`` now uses the ``ip tuntap`` command instead of ``tunctl``, and | ||
| 236 | thus ``tunctl`` is no longer built by the ``qemu-helper-native`` recipe; if | ||
| 237 | for some reason you were calling ``tunctl`` directly from your own scripts | ||
| 238 | you should switch to calling ``ip tuntap`` instead. | ||
| 239 | |||
| 165 | .. _migration-4.3-misc-changes: | 240 | .. _migration-4.3-misc-changes: |
| 166 | 241 | ||
| 167 | Miscellaneous changes | 242 | Miscellaneous changes |
