1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

ref-manual: Review comments applied to 2.7 migration section.

(From yocto-docs rev: 81ced4c68631d4d63efec206e5453b00d8fcc786)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2019-05-02 09:47:46 -07:00
committed by Richard Purdie
parent 95f7ae5897
commit aa90b8ca24
+43 -33
View File
@@ -6341,7 +6341,10 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
The following changes have been made to BitBake: The following changes have been made to BitBake:
<itemizedlist> <itemizedlist>
<listitem><para> <listitem><para>
The BBHandler now checks tab indentation for Python code. BitBake now checks anonymous Python functions and pure
Python functions (e.g. <filename>def funcname:</filename>)
in the metadata for tab indentation.
If found, BitBake produces a warning.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
Bitbake now checks Bitbake now checks
@@ -6446,36 +6449,40 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
Debug split: The default debug split has been changed to Debug split: The default debug split has been changed to
create separate source packages. create separate source packages (i.e.
<replaceable>package_name</replaceable><filename>-dbg</filename>
and
<replaceable>package_name</replaceable><filename>-src</filename>).
If you are currently using <filename>dbg-pkgs</filename>
in
<link linkend='var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></link>
to bring in debug symbols and you still need the sources,
you must now also add <filename>src-pkgs</filename> to
<filename>IMAGE_FEATURES</filename>.
Source packages remain in the target portion of the SDK
by default, unless you have set your own value for
<link linkend='var-SDKIMAGE_FEATURES'><filename>SDKIMAGE_FEATURES</filename></link>
that does not include <filename>src-pkgs</filename>.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
<filename>util-linux</filename>: Mount all using <filename>util-linux</filename>:
<itemizedlist> <filename>/etc/default/mountall</filename> has
<listitem><para> moved into the -mount sub-package.
<filename>blkdiscard</filename> has been split out </para></listitem>
into own package. <listitem><para>
</para></listitem> Splitting binaries using <filename>util-linux</filename>:
<listitem><para> <filename>util-linux</filename> now splits each binary into
one package per binary (pt 1: its own package for fine-grained control.
<filename>base_sbindir</filename>) The main <filename>util-linux</filename> package pulls in
</para></listitem> the individual binary packages using the
<listitem><para> <link linkend='var-RRECOMMENDS'><filename>RRECOMMENDS</filename></link>
one package per binary (pt 2: and
<filename>base_bindir</filename>) <link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>
</para></listitem> variables.
<listitem><para> As a result, existing images should not see any changes
one package per binary (pt 3: assuming
<filename>sbindir</filename>) <link linkend='var-NO_RECOMMENDATIONS'><filename>NO_RECOMMENDATIONS</filename></link>
</para></listitem> is not set.
<listitem><para>
one package per binary (pt 4:
<filename>bindir</filename>)
</para></listitem>
<listitem><para>
<filename>/etc/default/mountall</filename> has
moved into the -mount sub-package.
</para></listitem>
</itemizedlist>
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
<filename>netbase/base-files</filename>: <filename>netbase/base-files</filename>:
@@ -6520,9 +6527,9 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
<emphasis>gtk-icon-utils-native</emphasis>: These tools are now provided by gtk+3-native <emphasis>gtk-icon-utils-native</emphasis>: These tools are now provided by gtk+3-native
<emphasis>gcc-cross-initial</emphasis>: No longer needed. gcc-cross/gcc-crosssdk are now used. <emphasis>gcc-cross-initial</emphasis>: No longer needed. gcc-cross/gcc-crosssdk is now used instead.
<emphasis>gcc-crosssdk-initial</emphasis>: No longer needed. gcc-cross/gcc-crosssdk are now used. <emphasis>gcc-crosssdk-initial</emphasis>: No longer needed. gcc-cross/gcc-crosssdk is now used instead.
<emphasis>glibc-initial</emphasis>: Removed because the benefits of having it for site_config are <emphasis>glibc-initial</emphasis>: Removed because the benefits of having it for site_config are
currently outweighed by the cost of building the recipe. currently outweighed by the cost of building the recipe.
@@ -6558,8 +6565,11 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message</ulink>.
<filename>scripts</filename> directory. <filename>scripts</filename> directory.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
Perl added a version that builds recipes using Perl now builds for the target using
<filename>perl-cross</filename> <ulink url='http://arsv.github.io/perl-cross/'><filename>perl-cross</filename></ulink>
for better maintainability and improved build performance.
This change should not present any problems unless you have
heavily customized your Perl recipe.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
<filename>arm-tunes</filename>: Removed the "-march" <filename>arm-tunes</filename>: Removed the "-march"