Andrew Geissler | 3b8a17c | 2021-04-15 15:55:55 -0500 | [diff] [blame] | 1 | Moving to the Yocto Project 2.1 Release (krogoth) |
| 2 | ================================================= |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 3 | |
| 4 | This section provides migration information for moving to the Yocto |
Andrew Geissler | 3b8a17c | 2021-04-15 15:55:55 -0500 | [diff] [blame] | 5 | Project 2.1 Release (codename "krogoth") from the prior release. |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 6 | |
| 7 | .. _migration-2.1-variable-expansion-in-python-functions: |
| 8 | |
| 9 | Variable Expansion in Python Functions |
| 10 | -------------------------------------- |
| 11 | |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 12 | Variable expressions, such as ``${VARNAME}`` no longer expand |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 13 | automatically within Python functions. Suppressing expansion was done to |
| 14 | allow Python functions to construct shell scripts or other code for |
| 15 | situations in which you do not want such expressions expanded. For any |
| 16 | existing code that relies on these expansions, you need to change the |
| 17 | expansions to expand the value of individual variables through |
| 18 | ``d.getVar()``. To alternatively expand more complex expressions, use |
| 19 | ``d.expand()``. |
| 20 | |
| 21 | .. _migration-2.1-overrides-must-now-be-lower-case: |
| 22 | |
| 23 | Overrides Must Now be Lower-Case |
| 24 | -------------------------------- |
| 25 | |
| 26 | The convention for overrides has always been for them to be lower-case |
| 27 | characters. This practice is now a requirement as BitBake's datastore |
| 28 | now assumes lower-case characters in order to give a slight performance |
| 29 | boost during parsing. In practical terms, this requirement means that |
| 30 | anything that ends up in :term:`OVERRIDES` must now |
| 31 | appear in lower-case characters (e.g. values for ``MACHINE``, |
| 32 | ``TARGET_ARCH``, ``DISTRO``, and also recipe names if |
| 33 | ``_pn-``\ recipename overrides are to be effective). |
| 34 | |
| 35 | .. _migration-2.1-expand-parameter-to-getvar-and-getvarflag-now-mandatory: |
| 36 | |
| 37 | Expand Parameter to ``getVar()`` and ``getVarFlag()`` is Now Mandatory |
| 38 | ---------------------------------------------------------------------- |
| 39 | |
| 40 | The expand parameter to ``getVar()`` and ``getVarFlag()`` previously |
| 41 | defaulted to False if not specified. Now, however, no default exists so |
| 42 | one must be specified. You must change any ``getVar()`` calls that do |
| 43 | not specify the final expand parameter to calls that do specify the |
| 44 | parameter. You can run the following ``sed`` command at the base of a |
| 45 | layer to make this change: |
| 46 | :: |
| 47 | |
| 48 | sed -e 's:\(\.getVar([^,()]*\)):\1, False):g' -i `grep -ril getVar *` |
| 49 | sed -e 's:\(\.getVarFlag([^,()]*,[^,()]*\)):\1, False):g' -i `grep -ril getVarFlag *` |
| 50 | |
| 51 | .. note:: |
| 52 | |
| 53 | The reason for this change is that it prepares the way for changing |
| 54 | the default to True in a future Yocto Project release. This future |
| 55 | change is a much more sensible default than False. However, the |
| 56 | change needs to be made gradually as a sudden change of the default |
| 57 | would potentially cause side-effects that would be difficult to |
| 58 | detect. |
| 59 | |
| 60 | .. _migration-2.1-makefile-environment-changes: |
| 61 | |
| 62 | Makefile Environment Changes |
| 63 | ---------------------------- |
| 64 | |
| 65 | :term:`EXTRA_OEMAKE` now defaults to "" instead of |
| 66 | "-e MAKEFLAGS=". Setting ``EXTRA_OEMAKE`` to "-e MAKEFLAGS=" by default |
| 67 | was a historical accident that has required many classes (e.g. |
| 68 | ``autotools``, ``module``) and recipes to override this default in order |
| 69 | to work with sensible build systems. When upgrading to the release, you |
| 70 | must edit any recipe that relies upon this old default by either setting |
| 71 | ``EXTRA_OEMAKE`` back to "-e MAKEFLAGS=" or by explicitly setting any |
| 72 | required variable value overrides using ``EXTRA_OEMAKE``, which is |
| 73 | typically only needed when a Makefile sets a default value for a |
| 74 | variable that is inappropriate for cross-compilation using the "=" |
| 75 | operator rather than the "?=" operator. |
| 76 | |
| 77 | .. _migration-2.1-libexecdir-reverted-to-prefix-libexec: |
| 78 | |
| 79 | ``libexecdir`` Reverted to ``${prefix}/libexec`` |
| 80 | ------------------------------------------------ |
| 81 | |
| 82 | The use of ``${libdir}/${BPN}`` as ``libexecdir`` is different as |
| 83 | compared to all other mainstream distributions, which either uses |
| 84 | ``${prefix}/libexec`` or ``${libdir}``. The use is also contrary to the |
| 85 | GNU Coding Standards (i.e. |
| 86 | https://www.gnu.org/prep/standards/html_node/Directory-Variables.html) |
| 87 | that suggest ``${prefix}/libexec`` and also notes that any |
| 88 | package-specific nesting should be done by the package itself. Finally, |
| 89 | having ``libexecdir`` change between recipes makes it very difficult for |
| 90 | different recipes to invoke binaries that have been installed into |
| 91 | ``libexecdir``. The Filesystem Hierarchy Standard (i.e. |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 92 | https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html) now |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 93 | recognizes the use of ``${prefix}/libexec/``, giving distributions the |
| 94 | choice between ``${prefix}/lib`` or ``${prefix}/libexec`` without |
| 95 | breaking FHS. |
| 96 | |
| 97 | .. _migration-2.1-ac-cv-sizeof-off-t-no-longer-cached-in-site-files: |
| 98 | |
| 99 | ``ac_cv_sizeof_off_t`` is No Longer Cached in Site Files |
| 100 | -------------------------------------------------------- |
| 101 | |
| 102 | For recipes inheriting the :ref:`autotools <ref-classes-autotools>` |
| 103 | class, ``ac_cv_sizeof_off_t`` is no longer cached in the site files for |
| 104 | ``autoconf``. The reason for this change is because the |
| 105 | ``ac_cv_sizeof_off_t`` value is not necessarily static per architecture |
| 106 | as was previously assumed. Rather, the value changes based on whether |
| 107 | large file support is enabled. For most software that uses ``autoconf``, |
| 108 | this change should not be a problem. However, if you have a recipe that |
| 109 | bypasses the standard :ref:`ref-tasks-configure` task |
| 110 | from the ``autotools`` class and the software the recipe is building |
| 111 | uses a very old version of ``autoconf``, the recipe might be incapable |
| 112 | of determining the correct size of ``off_t`` during ``do_configure``. |
| 113 | |
| 114 | The best course of action is to patch the software as necessary to allow |
| 115 | the default implementation from the ``autotools`` class to work such |
| 116 | that ``autoreconf`` succeeds and produces a working configure script, |
| 117 | and to remove the overridden ``do_configure`` task such that the default |
| 118 | implementation does get used. |
| 119 | |
| 120 | .. _migration-2.1-image-generation-split-out-from-filesystem-generation: |
| 121 | |
| 122 | Image Generation is Now Split Out from Filesystem Generation |
| 123 | ------------------------------------------------------------ |
| 124 | |
| 125 | Previously, for image recipes the :ref:`ref-tasks-rootfs` |
| 126 | task assembled the filesystem and then from that filesystem generated |
| 127 | images. With this Yocto Project release, image generation is split into |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 128 | separate :ref:`ref-tasks-image` tasks for clarity both in |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 129 | operation and in the code. |
| 130 | |
| 131 | For most cases, this change does not present any problems. However, if |
| 132 | you have made customizations that directly modify the ``do_rootfs`` task |
| 133 | or that mention ``do_rootfs``, you might need to update those changes. |
| 134 | In particular, if you had added any tasks after ``do_rootfs``, you |
| 135 | should make edits so that those tasks are after the |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 136 | :ref:`ref-tasks-image-complete` task rather than |
Andrew Geissler | 3b8a17c | 2021-04-15 15:55:55 -0500 | [diff] [blame] | 137 | after ``do_rootfs`` so that your added tasks run at the correct |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 138 | time. |
| 139 | |
| 140 | A minor part of this restructuring is that the post-processing |
| 141 | definitions and functions have been moved from the |
| 142 | :ref:`image <ref-classes-image>` class to the |
| 143 | :ref:`rootfs-postcommands <ref-classes-rootfs*>` class. Functionally, |
| 144 | however, they remain unchanged. |
| 145 | |
| 146 | .. _migration-2.1-removed-recipes: |
| 147 | |
| 148 | Removed Recipes |
| 149 | --------------- |
| 150 | |
| 151 | The following recipes have been removed in the 2.1 release: |
| 152 | |
| 153 | - ``gcc`` version 4.8: Versions 4.9 and 5.3 remain. |
| 154 | |
| 155 | - ``qt4``: All support for Qt 4.x has been moved out to a separate |
| 156 | ``meta-qt4`` layer because Qt 4 is no longer supported upstream. |
| 157 | |
| 158 | - ``x11vnc``: Moved to the ``meta-oe`` layer. |
| 159 | |
| 160 | - ``linux-yocto-3.14``: No longer supported. |
| 161 | |
| 162 | - ``linux-yocto-3.19``: No longer supported. |
| 163 | |
| 164 | - ``libjpeg``: Replaced by the ``libjpeg-turbo`` recipe. |
| 165 | |
| 166 | - ``pth``: Became obsolete. |
| 167 | |
| 168 | - ``liboil``: Recipe is no longer needed and has been moved to the |
| 169 | ``meta-multimedia`` layer. |
| 170 | |
| 171 | - ``gtk-theme-torturer``: Recipe is no longer needed and has been moved |
| 172 | to the ``meta-gnome`` layer. |
| 173 | |
| 174 | - ``gnome-mime-data``: Recipe is no longer needed and has been moved to |
| 175 | the ``meta-gnome`` layer. |
| 176 | |
| 177 | - ``udev``: Replaced by the ``eudev`` recipe for compatibility when |
| 178 | using ``sysvinit`` with newer kernels. |
| 179 | |
| 180 | - ``python-pygtk``: Recipe became obsolete. |
| 181 | |
Andrew Geissler | 3b8a17c | 2021-04-15 15:55:55 -0500 | [diff] [blame] | 182 | - ``adt-installer``: Recipe became obsolete. See the |
| 183 | ":ref:`ref-manual/migration-2.1:adt removed`" section for more information. |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 184 | |
| 185 | .. _migration-2.1-class-changes: |
| 186 | |
| 187 | Class Changes |
| 188 | ------------- |
| 189 | |
| 190 | The following classes have changed: |
| 191 | |
| 192 | - ``autotools_stage``: Removed because the |
| 193 | :ref:`autotools <ref-classes-autotools>` class now provides its |
| 194 | functionality. Recipes that inherited from ``autotools_stage`` should |
| 195 | now inherit from ``autotools`` instead. |
| 196 | |
| 197 | - ``boot-directdisk``: Merged into the ``image-vm`` class. The |
| 198 | ``boot-directdisk`` class was rarely directly used. Consequently, |
| 199 | this change should not cause any issues. |
| 200 | |
| 201 | - ``bootimg``: Merged into the |
| 202 | :ref:`image-live <ref-classes-image-live>` class. The ``bootimg`` |
| 203 | class was rarely directly used. Consequently, this change should not |
| 204 | cause any issues. |
| 205 | |
| 206 | - ``packageinfo``: Removed due to its limited use by the Hob UI, which |
| 207 | has itself been removed. |
| 208 | |
| 209 | .. _migration-2.1-build-system-ui-changes: |
| 210 | |
| 211 | Build System User Interface Changes |
| 212 | ----------------------------------- |
| 213 | |
| 214 | The following changes have been made to the build system user interface: |
| 215 | |
| 216 | - *Hob GTK+-based UI*: Removed because it is unmaintained and based on |
| 217 | the outdated GTK+ 2 library. The Toaster web-based UI is much more |
| 218 | capable and is actively maintained. See the |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 219 | ":ref:`toaster-manual/setup-and-use:using the toaster web interface`" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 220 | section in the Toaster User Manual for more information on this |
| 221 | interface. |
| 222 | |
| 223 | - *"puccho" BitBake UI*: Removed because is unmaintained and no longer |
| 224 | useful. |
| 225 | |
| 226 | .. _migration-2.1-adt-removed: |
| 227 | |
| 228 | ADT Removed |
| 229 | ----------- |
| 230 | |
| 231 | The Application Development Toolkit (ADT) has been removed because its |
| 232 | functionality almost completely overlapped with the :ref:`standard |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 233 | SDK <sdk-manual/using:using the standard sdk>` and the |
| 234 | :ref:`extensible SDK <sdk-manual/extensible:using the extensible sdk>`. For |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 235 | information on these SDKs and how to build and use them, see the |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 236 | :doc:`/sdk-manual/index` manual. |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 237 | |
| 238 | .. note:: |
| 239 | |
| 240 | The Yocto Project Eclipse IDE Plug-in is still supported and is not |
| 241 | affected by this change. |
| 242 | |
| 243 | .. _migration-2.1-poky-reference-distribution-changes: |
| 244 | |
| 245 | Poky Reference Distribution Changes |
| 246 | ----------------------------------- |
| 247 | |
| 248 | The following changes have been made for the Poky distribution: |
| 249 | |
| 250 | - The ``meta-yocto`` layer has been renamed to ``meta-poky`` to better |
| 251 | match its purpose, which is to provide the Poky reference |
| 252 | distribution. The ``meta-yocto-bsp`` layer retains its original name |
| 253 | since it provides reference machines for the Yocto Project and it is |
| 254 | otherwise unrelated to Poky. References to ``meta-yocto`` in your |
| 255 | ``conf/bblayers.conf`` should automatically be updated, so you should |
| 256 | not need to change anything unless you are relying on this naming |
| 257 | elsewhere. |
| 258 | |
| 259 | - The :ref:`uninative <ref-classes-uninative>` class is now enabled |
| 260 | by default in Poky. This class attempts to isolate the build system |
| 261 | from the host distribution's C library and makes re-use of native |
| 262 | shared state artifacts across different host distributions practical. |
| 263 | With this class enabled, a tarball containing a pre-built C library |
| 264 | is downloaded at the start of the build. |
| 265 | |
| 266 | The ``uninative`` class is enabled through the |
| 267 | ``meta/conf/distro/include/yocto-uninative.inc`` file, which for |
| 268 | those not using the Poky distribution, can include to easily enable |
| 269 | the same functionality. |
| 270 | |
| 271 | Alternatively, if you wish to build your own ``uninative`` tarball, |
| 272 | you can do so by building the ``uninative-tarball`` recipe, making it |
| 273 | available to your build machines (e.g. over HTTP/HTTPS) and setting a |
| 274 | similar configuration as the one set by ``yocto-uninative.inc``. |
| 275 | |
| 276 | - Static library generation, for most cases, is now disabled by default |
| 277 | in the Poky distribution. Disabling this generation saves some build |
| 278 | time as well as the size used for build output artifacts. |
| 279 | |
| 280 | Disabling this library generation is accomplished through a |
| 281 | ``meta/conf/distro/include/no-static-libs.inc``, which for those not |
| 282 | using the Poky distribution can easily include to enable the same |
| 283 | functionality. |
| 284 | |
| 285 | Any recipe that needs to opt-out of having the "--disable-static" |
| 286 | option specified on the configure command line either because it is |
| 287 | not a supported option for the configure script or because static |
| 288 | libraries are needed should set the following variable: |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 289 | :: |
| 290 | |
| 291 | DISABLE_STATIC = "" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 292 | |
| 293 | - The separate ``poky-tiny`` distribution now uses the musl C library |
| 294 | instead of a heavily pared down ``glibc``. Using musl results in a |
| 295 | smaller distribution and facilitates much greater maintainability |
| 296 | because musl is designed to have a small footprint. |
| 297 | |
| 298 | If you have used ``poky-tiny`` and have customized the ``glibc`` |
| 299 | configuration you will need to redo those customizations with musl |
| 300 | when upgrading to the new release. |
| 301 | |
| 302 | .. _migration-2.1-packaging-changes: |
| 303 | |
| 304 | Packaging Changes |
| 305 | ----------------- |
| 306 | |
| 307 | The following changes have been made to packaging: |
| 308 | |
| 309 | - The ``runuser`` and ``mountpoint`` binaries, which were previously in |
| 310 | the main ``util-linux`` package, have been split out into the |
| 311 | ``util-linux-runuser`` and ``util-linux-mountpoint`` packages, |
| 312 | respectively. |
| 313 | |
| 314 | - The ``python-elementtree`` package has been merged into the |
| 315 | ``python-xml`` package. |
| 316 | |
| 317 | .. _migration-2.1-tuning-file-changes: |
| 318 | |
| 319 | Tuning File Changes |
| 320 | ------------------- |
| 321 | |
| 322 | The following changes have been made to the tuning files: |
| 323 | |
| 324 | - The "no-thumb-interwork" tuning feature has been dropped from the ARM |
| 325 | tune include files. Because interworking is required for ARM EABI, |
| 326 | attempting to disable it through a tuning feature no longer makes |
| 327 | sense. |
| 328 | |
| 329 | .. note:: |
| 330 | |
| 331 | Support for ARM OABI was deprecated in gcc 4.7. |
| 332 | |
| 333 | - The ``tune-cortexm*.inc`` and ``tune-cortexr4.inc`` files have been |
| 334 | removed because they are poorly tested. Until the OpenEmbedded build |
| 335 | system officially gains support for CPUs without an MMU, these tuning |
| 336 | files would probably be better maintained in a separate layer if |
| 337 | needed. |
| 338 | |
| 339 | .. _migration-2.1-supporting-gobject-introspection: |
| 340 | |
| 341 | Supporting GObject Introspection |
| 342 | -------------------------------- |
| 343 | |
| 344 | This release supports generation of GLib Introspective Repository (GIR) |
| 345 | files through GObject introspection, which is the standard mechanism for |
| 346 | accessing GObject-based software from runtime environments. You can |
| 347 | enable, disable, and test the generation of this data. See the |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 348 | ":ref:`dev-manual/common-tasks:enabling gobject introspection support`" |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 349 | section in the Yocto Project Development Tasks Manual for more |
| 350 | information. |
| 351 | |
| 352 | .. _migration-2.1-miscellaneous-changes: |
| 353 | |
| 354 | Miscellaneous Changes |
| 355 | --------------------- |
| 356 | |
| 357 | These additional changes exist: |
| 358 | |
| 359 | - The minimum Git version has been increased to 1.8.3.1. If your host |
| 360 | distribution does not provide a sufficiently recent version, you can |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 361 | install the buildtools, which will provide it. See the |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 362 | :ref:`ref-manual/system-requirements:required git, tar, python and gcc versions` |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 363 | section for more information on the buildtools tarball. |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 364 | |
| 365 | - The buggy and incomplete support for the RPM version 4 package |
| 366 | manager has been removed. The well-tested and maintained support for |
| 367 | RPM version 5 remains. |
| 368 | |
| 369 | - Previously, the following list of packages were removed if |
| 370 | package-management was not in |
| 371 | :term:`IMAGE_FEATURES`, regardless of any |
| 372 | dependencies: |
| 373 | :: |
| 374 | |
| 375 | update-rc.d |
| 376 | base-passwd |
| 377 | shadow |
| 378 | update-alternatives |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 379 | run-postinsts |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 380 | |
Andrew Geissler | 4c19ea1 | 2020-10-27 13:52:24 -0500 | [diff] [blame] | 381 | With the Yocto Project 2.1 release, these packages are |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 382 | only removed if "read-only-rootfs" is in ``IMAGE_FEATURES``, since |
| 383 | they might still be needed for a read-write image even in the absence |
| 384 | of a package manager (e.g. if users need to be added, modified, or |
| 385 | removed at runtime). |
| 386 | |
| 387 | - The |
Andrew Geissler | 09209ee | 2020-12-13 08:44:15 -0600 | [diff] [blame] | 388 | :ref:`devtool modify <sdk-manual/extensible:use \`\`devtool modify\`\` to modify the source of an existing component>` |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame] | 389 | command now defaults to extracting the source since that is most |
| 390 | commonly expected. The "-x" or "--extract" options are now no-ops. If |
| 391 | you wish to provide your own existing source tree, you will now need |
| 392 | to specify either the "-n" or "--no-extract" options when running |
| 393 | ``devtool modify``. |
| 394 | |
| 395 | - If the formfactor for a machine is either not supplied or does not |
| 396 | specify whether a keyboard is attached, then the default is to assume |
| 397 | a keyboard is attached rather than assume no keyboard. This change |
| 398 | primarily affects the Sato UI. |
| 399 | |
| 400 | - The ``.debug`` directory packaging is now automatic. If your recipe |
| 401 | builds software that installs binaries into directories other than |
| 402 | the standard ones, you no longer need to take care of setting |
| 403 | ``FILES_${PN}-dbg`` to pick up the resulting ``.debug`` directories |
| 404 | as these directories are automatically found and added. |
| 405 | |
| 406 | - Inaccurate disk and CPU percentage data has been dropped from |
| 407 | ``buildstats`` output. This data has been replaced with |
| 408 | ``getrusage()`` data and corrected IO statistics. You will probably |
| 409 | need to update any custom code that reads the ``buildstats`` data. |
| 410 | |
| 411 | - The ``meta/conf/distro/include/package_regex.inc`` is now deprecated. |
| 412 | The contents of this file have been moved to individual recipes. |
| 413 | |
| 414 | .. note:: |
| 415 | |
| 416 | Because this file will likely be removed in a future Yocto Project |
| 417 | release, it is suggested that you remove any references to the |
| 418 | file that might be in your configuration. |
| 419 | |
| 420 | - The ``v86d/uvesafb`` has been removed from the ``genericx86`` and |
| 421 | ``genericx86-64`` reference machines, which are provided by the |
| 422 | ``meta-yocto-bsp`` layer. Most modern x86 boards do not rely on this |
| 423 | file and it only adds kernel error messages during startup. If you do |
| 424 | still need to support ``uvesafb``, you can simply add ``v86d`` to |
| 425 | your image. |
| 426 | |
| 427 | - Build sysroot paths are now removed from debug symbol files. Removing |
| 428 | these paths means that remote GDB using an unstripped build system |
| 429 | sysroot will no longer work (although this was never documented to |
| 430 | work). The supported method to accomplish something similar is to set |
| 431 | ``IMAGE_GEN_DEBUGFS`` to "1", which will generate a companion debug |
| 432 | image containing unstripped binaries and associated debug sources |
| 433 | alongside the image. |
| 434 | |
| 435 | |