diff options
Diffstat (limited to 'documentation/ref-manual/migration-2.1.rst')
| -rw-r--r-- | documentation/ref-manual/migration-2.1.rst | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/documentation/ref-manual/migration-2.1.rst b/documentation/ref-manual/migration-2.1.rst index a1fd3ea81d..0220221e01 100644 --- a/documentation/ref-manual/migration-2.1.rst +++ b/documentation/ref-manual/migration-2.1.rst | |||
| @@ -9,7 +9,7 @@ Project 2.1 Release from the prior release. | |||
| 9 | Variable Expansion in Python Functions | 9 | Variable Expansion in Python Functions |
| 10 | -------------------------------------- | 10 | -------------------------------------- |
| 11 | 11 | ||
| 12 | Variable expressions, such as ``${``\ VARNAME\ ``}`` no longer expand | 12 | Variable expressions, such as ``${VARNAME}`` no longer expand |
| 13 | automatically within Python functions. Suppressing expansion was done to | 13 | automatically within Python functions. Suppressing expansion was done to |
| 14 | allow Python functions to construct shell scripts or other code for | 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 | 15 | situations in which you do not want such expressions expanded. For any |
| @@ -125,7 +125,7 @@ Image Generation is Now Split Out from Filesystem Generation | |||
| 125 | Previously, for image recipes the :ref:`ref-tasks-rootfs` | 125 | Previously, for image recipes the :ref:`ref-tasks-rootfs` |
| 126 | task assembled the filesystem and then from that filesystem generated | 126 | task assembled the filesystem and then from that filesystem generated |
| 127 | images. With this Yocto Project release, image generation is split into | 127 | images. With this Yocto Project release, image generation is split into |
| 128 | separate ```do_image_*`` <#ref-tasks-image>`__ tasks for clarity both in | 128 | separate :ref:`ref-tasks-image` tasks for clarity both in |
| 129 | operation and in the code. | 129 | operation and in the code. |
| 130 | 130 | ||
| 131 | For most cases, this change does not present any problems. However, if | 131 | For most cases, this change does not present any problems. However, if |
| @@ -133,7 +133,7 @@ you have made customizations that directly modify the ``do_rootfs`` task | |||
| 133 | or that mention ``do_rootfs``, you might need to update those changes. | 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 | 134 | In particular, if you had added any tasks after ``do_rootfs``, you |
| 135 | should make edits so that those tasks are after the | 135 | should make edits so that those tasks are after the |
| 136 | ```do_image_complete`` <#ref-tasks-image-complete>`__ task rather than | 136 | :ref:`ref-tasks-image-complete` task rather than |
| 137 | after ``do_rootfs`` so that the your added tasks run at the correct | 137 | after ``do_rootfs`` so that the your added tasks run at the correct |
| 138 | time. | 138 | time. |
| 139 | 139 | ||
| @@ -180,7 +180,7 @@ The following recipes have been removed in the 2.1 release: | |||
| 180 | - ``python-pygtk``: Recipe became obsolete. | 180 | - ``python-pygtk``: Recipe became obsolete. |
| 181 | 181 | ||
| 182 | - ``adt-installer``: Recipe became obsolete. See the "`ADT | 182 | - ``adt-installer``: Recipe became obsolete. See the "`ADT |
| 183 | Removed <#migration-2.1-adt-removed>`__" section for more | 183 | Removed <#adt-removed>`__" section for more |
| 184 | information. | 184 | information. |
| 185 | 185 | ||
| 186 | .. _migration-2.1-class-changes: | 186 | .. _migration-2.1-class-changes: |
| @@ -287,7 +287,9 @@ The following changes have been made for the Poky distribution: | |||
| 287 | option specified on the configure command line either because it is | 287 | option specified on the configure command line either because it is |
| 288 | not a supported option for the configure script or because static | 288 | not a supported option for the configure script or because static |
| 289 | libraries are needed should set the following variable: | 289 | libraries are needed should set the following variable: |
| 290 | DISABLE_STATIC = "" | 290 | :: |
| 291 | |||
| 292 | DISABLE_STATIC = "" | ||
| 291 | 293 | ||
| 292 | - The separate ``poky-tiny`` distribution now uses the musl C library | 294 | - The separate ``poky-tiny`` distribution now uses the musl C library |
| 293 | instead of a heavily pared down ``glibc``. Using musl results in a | 295 | instead of a heavily pared down ``glibc``. Using musl results in a |
| @@ -357,10 +359,9 @@ These additional changes exist: | |||
| 357 | 359 | ||
| 358 | - The minimum Git version has been increased to 1.8.3.1. If your host | 360 | - The minimum Git version has been increased to 1.8.3.1. If your host |
| 359 | distribution does not provide a sufficiently recent version, you can | 361 | distribution does not provide a sufficiently recent version, you can |
| 360 | install the buildtools, which will provide it. See the "`Required | 362 | install the buildtools, which will provide it. See the |
| 361 | Git, tar, Python and gcc | 363 | :ref:`ref-manual/ref-system-requirements:required git, tar, python and gcc versions` |
| 362 | Versions <#required-git-tar-python-and-gcc-versions>`__" section for | 364 | section for more information on the buildtools tarball. |
| 363 | more information on the buildtools tarball. | ||
| 364 | 365 | ||
| 365 | - The buggy and incomplete support for the RPM version 4 package | 366 | - The buggy and incomplete support for the RPM version 4 package |
| 366 | manager has been removed. The well-tested and maintained support for | 367 | manager has been removed. The well-tested and maintained support for |
| @@ -376,8 +377,9 @@ These additional changes exist: | |||
| 376 | base-passwd | 377 | base-passwd |
| 377 | shadow | 378 | shadow |
| 378 | update-alternatives | 379 | update-alternatives |
| 380 | run-postinsts | ||
| 379 | 381 | ||
| 380 | run-postinsts With the Yocto Project 2.1 release, these packages are | 382 | With the Yocto Project 2.1 release, these packages are |
| 381 | only removed if "read-only-rootfs" is in ``IMAGE_FEATURES``, since | 383 | only removed if "read-only-rootfs" is in ``IMAGE_FEATURES``, since |
| 382 | they might still be needed for a read-write image even in the absence | 384 | they might still be needed for a read-write image even in the absence |
| 383 | of a package manager (e.g. if users need to be added, modified, or | 385 | of a package manager (e.g. if users need to be added, modified, or |
