diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2019-05-02 09:47:46 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-18 11:30:37 +0100 |
commit | 5f9e840a35bec738d357f4e681438cc14373d24c (patch) | |
tree | b5d810ba45414193cbd188f00378822d23a0d16b | |
parent | 7b72fb4268c48d2907c2f94d3383c6e9ccd3808b (diff) | |
download | poky-5f9e840a35bec738d357f4e681438cc14373d24c.tar.gz |
ref-manual: Review comments applied to 2.7 migration section.
(From yocto-docs rev: ab4f9a0b882b04976a10dcf6d383188a5c240667)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/migration.xml | 76 |
1 files changed, 43 insertions, 33 deletions
diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml index 53b03a00aa..4f57c1e1d3 100644 --- a/documentation/ref-manual/migration.xml +++ b/documentation/ref-manual/migration.xml | |||
@@ -6341,7 +6341,10 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>. | |||
6341 | The following changes have been made to BitBake: | 6341 | The following changes have been made to BitBake: |
6342 | <itemizedlist> | 6342 | <itemizedlist> |
6343 | <listitem><para> | 6343 | <listitem><para> |
6344 | The BBHandler now checks tab indentation for Python code. | 6344 | BitBake now checks anonymous Python functions and pure |
6345 | Python functions (e.g. <filename>def funcname:</filename>) | ||
6346 | in the metadata for tab indentation. | ||
6347 | If found, BitBake produces a warning. | ||
6345 | </para></listitem> | 6348 | </para></listitem> |
6346 | <listitem><para> | 6349 | <listitem><para> |
6347 | Bitbake now checks | 6350 | Bitbake now checks |
@@ -6446,36 +6449,40 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>. | |||
6446 | </para></listitem> | 6449 | </para></listitem> |
6447 | <listitem><para> | 6450 | <listitem><para> |
6448 | Debug split: The default debug split has been changed to | 6451 | Debug split: The default debug split has been changed to |
6449 | create separate source packages. | 6452 | create separate source packages (i.e. |
6453 | <replaceable>package_name</replaceable><filename>-dbg</filename> | ||
6454 | and | ||
6455 | <replaceable>package_name</replaceable><filename>-src</filename>). | ||
6456 | If you are currently using <filename>dbg-pkgs</filename> | ||
6457 | in | ||
6458 | <link linkend='var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></link> | ||
6459 | to bring in debug symbols and you still need the sources, | ||
6460 | you must now also add <filename>src-pkgs</filename> to | ||
6461 | <filename>IMAGE_FEATURES</filename>. | ||
6462 | Source packages remain in the target portion of the SDK | ||
6463 | by default, unless you have set your own value for | ||
6464 | <link linkend='var-SDKIMAGE_FEATURES'><filename>SDKIMAGE_FEATURES</filename></link> | ||
6465 | that does not include <filename>src-pkgs</filename>. | ||
6450 | </para></listitem> | 6466 | </para></listitem> |
6451 | <listitem><para> | 6467 | <listitem><para> |
6452 | <filename>util-linux</filename>: | 6468 | Mount all using <filename>util-linux</filename>: |
6453 | <itemizedlist> | 6469 | <filename>/etc/default/mountall</filename> has |
6454 | <listitem><para> | 6470 | moved into the -mount sub-package. |
6455 | <filename>blkdiscard</filename> has been split out | 6471 | </para></listitem> |
6456 | into own package. | 6472 | <listitem><para> |
6457 | </para></listitem> | 6473 | Splitting binaries using <filename>util-linux</filename>: |
6458 | <listitem><para> | 6474 | <filename>util-linux</filename> now splits each binary into |
6459 | one package per binary (pt 1: | 6475 | its own package for fine-grained control. |
6460 | <filename>base_sbindir</filename>) | 6476 | The main <filename>util-linux</filename> package pulls in |
6461 | </para></listitem> | 6477 | the individual binary packages using the |
6462 | <listitem><para> | 6478 | <link linkend='var-RRECOMMENDS'><filename>RRECOMMENDS</filename></link> |
6463 | one package per binary (pt 2: | 6479 | and |
6464 | <filename>base_bindir</filename>) | 6480 | <link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link> |
6465 | </para></listitem> | 6481 | variables. |
6466 | <listitem><para> | 6482 | As a result, existing images should not see any changes |
6467 | one package per binary (pt 3: | 6483 | assuming |
6468 | <filename>sbindir</filename>) | 6484 | <link linkend='var-NO_RECOMMENDATIONS'><filename>NO_RECOMMENDATIONS</filename></link> |
6469 | </para></listitem> | 6485 | is not set. |
6470 | <listitem><para> | ||
6471 | one package per binary (pt 4: | ||
6472 | <filename>bindir</filename>) | ||
6473 | </para></listitem> | ||
6474 | <listitem><para> | ||
6475 | <filename>/etc/default/mountall</filename> has | ||
6476 | moved into the -mount sub-package. | ||
6477 | </para></listitem> | ||
6478 | </itemizedlist> | ||
6479 | </para></listitem> | 6486 | </para></listitem> |
6480 | <listitem><para> | 6487 | <listitem><para> |
6481 | <filename>netbase/base-files</filename>: | 6488 | <filename>netbase/base-files</filename>: |
@@ -6520,9 +6527,9 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>. | |||
6520 | 6527 | ||
6521 | <emphasis>gtk-icon-utils-native</emphasis>: These tools are now provided by gtk+3-native | 6528 | <emphasis>gtk-icon-utils-native</emphasis>: These tools are now provided by gtk+3-native |
6522 | 6529 | ||
6523 | <emphasis>gcc-cross-initial</emphasis>: No longer needed. gcc-cross/gcc-crosssdk are now used. | 6530 | <emphasis>gcc-cross-initial</emphasis>: No longer needed. gcc-cross/gcc-crosssdk is now used instead. |
6524 | 6531 | ||
6525 | <emphasis>gcc-crosssdk-initial</emphasis>: No longer needed. gcc-cross/gcc-crosssdk are now used. | 6532 | <emphasis>gcc-crosssdk-initial</emphasis>: No longer needed. gcc-cross/gcc-crosssdk is now used instead. |
6526 | 6533 | ||
6527 | <emphasis>glibc-initial</emphasis>: Removed because the benefits of having it for site_config are | 6534 | <emphasis>glibc-initial</emphasis>: Removed because the benefits of having it for site_config are |
6528 | currently outweighed by the cost of building the recipe. | 6535 | currently outweighed by the cost of building the recipe. |
@@ -6558,8 +6565,11 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>. | |||
6558 | <filename>scripts</filename> directory. | 6565 | <filename>scripts</filename> directory. |
6559 | </para></listitem> | 6566 | </para></listitem> |
6560 | <listitem><para> | 6567 | <listitem><para> |
6561 | Perl added a version that builds recipes using | 6568 | Perl now builds for the target using |
6562 | <filename>perl-cross</filename> | 6569 | <ulink url='http://arsv.github.io/perl-cross/'><filename>perl-cross</filename></ulink> |
6570 | for better maintainability and improved build performance. | ||
6571 | This change should not present any problems unless you have | ||
6572 | heavily customized your Perl recipe. | ||
6563 | </para></listitem> | 6573 | </para></listitem> |
6564 | <listitem><para> | 6574 | <listitem><para> |
6565 | <filename>arm-tunes</filename>: Removed the "-march" | 6575 | <filename>arm-tunes</filename>: Removed the "-march" |