summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-04-18 16:17:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-29 07:48:22 +0100
commit01df6a7c772ca5432a75f8f686a4d7dc085351bd (patch)
tree0d28cc1142a8c497223764ed017fdecbecbb0ad2
parent15a93e9a39d36cddd02473c3e14c50e55aabb7c8 (diff)
downloadpoky-01df6a7c772ca5432a75f8f686a4d7dc085351bd.tar.gz
ref-manual: Applied review edit comments to the 2.1 migration section.
(From yocto-docs rev: 50eb2e0bcd4afaa2c097b4fa121051920cf21053) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/migration.xml33
1 files changed, 18 insertions, 15 deletions
diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml
index e6c0aa36b8..70c89aa631 100644
--- a/documentation/ref-manual/migration.xml
+++ b/documentation/ref-manual/migration.xml
@@ -2447,8 +2447,8 @@
2447 </literallayout> 2447 </literallayout>
2448 </para></listitem> 2448 </para></listitem>
2449 <listitem><para> 2449 <listitem><para>
2450 <filename>d.delVar('</filename><replaceable>varname</replaceable><filename>')</filename> and 2450 <filename>d.delVar('</filename><replaceable>VARNAME</replaceable><filename>')</filename> and
2451 <filename>d.setVar('</filename><replaceable>varname</replaceable><filename>', None)</filename> 2451 <filename>d.setVar('</filename><replaceable>VARNAME</replaceable><filename>', None)</filename>
2452 result in the variable and all of its overrides being 2452 result in the variable and all of its overrides being
2453 cleared out. 2453 cleared out.
2454 Before the change, only the non-overridden values 2454 Before the change, only the non-overridden values
@@ -2740,13 +2740,13 @@
2740 2740
2741 <para> 2741 <para>
2742 Variable expressions, such as 2742 Variable expressions, such as
2743 <filename>${</filename><replaceable>varname</replaceable><filename>}</filename> 2743 <filename>${</filename><replaceable>VARNAME</replaceable><filename>}</filename>
2744 no longer expand automatically within Python functions. 2744 no longer expand automatically within Python functions.
2745 Suppressing expansion was done to allow Python functions to 2745 Suppressing expansion was done to allow Python functions to
2746 construct shell scripts or other code for situations in which you 2746 construct shell scripts or other code for situations in which you
2747 do not want such expressions expanded. 2747 do not want such expressions expanded.
2748 For any existing code that relies on these expansions, you need to 2748 For any existing code that relies on these expansions, you need to
2749 change the expansions to either expand the value of individual 2749 change the expansions to expand the value of individual
2750 variables through <filename>d.getVar()</filename>. 2750 variables through <filename>d.getVar()</filename>.
2751 To alternatively expand more complex expressions, 2751 To alternatively expand more complex expressions,
2752 use <filename>d.expand()</filename>. 2752 use <filename>d.expand()</filename>.
@@ -2880,7 +2880,7 @@
2880 to allow the default implementation from the 2880 to allow the default implementation from the
2881 <filename>autotools</filename> class to work such that 2881 <filename>autotools</filename> class to work such that
2882 <filename>autoreconf</filename> succeeds and produces a working 2882 <filename>autoreconf</filename> succeeds and produces a working
2883 configure script), and to remove the 2883 configure script, and to remove the
2884 overridden <filename>do_configure</filename> task such that the 2884 overridden <filename>do_configure</filename> task such that the
2885 default implementation does get used. 2885 default implementation does get used.
2886 </para> 2886 </para>
@@ -2910,7 +2910,8 @@
2910 <filename>do_rootfs</filename>, you should make edits so that 2910 <filename>do_rootfs</filename>, you should make edits so that
2911 those tasks are after the 2911 those tasks are after the
2912 <link linkend='ref-tasks-image-complete'><filename>do_image_complete</filename></link> 2912 <link linkend='ref-tasks-image-complete'><filename>do_image_complete</filename></link>
2913 task rather than before the task so that the your added tasks 2913 task rather than after <filename>do_rootfs</filename>
2914 so that the your added tasks
2914 run at the correct time. 2915 run at the correct time.
2915 </para> 2916 </para>
2916 2917
@@ -3128,7 +3129,7 @@
3128 The separate <filename>poky-tiny</filename> distribution 3129 The separate <filename>poky-tiny</filename> distribution
3129 now uses the musl C library instead of a heavily pared 3130 now uses the musl C library instead of a heavily pared
3130 down <filename>glibc</filename>. 3131 down <filename>glibc</filename>.
3131 Using <filename>glibc</filename> results in a smaller 3132 Using musl results in a smaller
3132 distribution and facilitates much greater maintainability 3133 distribution and facilitates much greater maintainability
3133 because musl is designed to have a small footprint.</para> 3134 because musl is designed to have a small footprint.</para>
3134 3135
@@ -3205,6 +3206,9 @@
3205 If your host distribution does not provide a sufficiently 3206 If your host distribution does not provide a sufficiently
3206 recent version, you can install the buildtools, which 3207 recent version, you can install the buildtools, which
3207 will provide it. 3208 will provide it.
3209 See the
3210 "<link linkend='required-git-tar-and-python-versions'>Required Git, tar, and Python Versions</link>"
3211 section for more information on the buildtools tarball.
3208 </para></listitem> 3212 </para></listitem>
3209 <listitem><para> 3213 <listitem><para>
3210 The buggy and incomplete support for the RPM version 4 3214 The buggy and incomplete support for the RPM version 4
@@ -3228,10 +3232,8 @@
3228 or does not specify whether a keyboard is attached, then 3232 or does not specify whether a keyboard is attached, then
3229 the default is to assume a keyboard is attached rather 3233 the default is to assume a keyboard is attached rather
3230 than assume no keyboard. 3234 than assume no keyboard.
3231 <note> 3235 This change primarily affects the Sato UI.
3232 This change primarily affects the Sato UI. 3236 </para></listitem>
3233 </note>
3234 </para></listitem>
3235 <listitem><para> 3237 <listitem><para>
3236 The <filename>.debug</filename> directory packaging is 3238 The <filename>.debug</filename> directory packaging is
3237 now automatic. 3239 now automatic.
@@ -3248,8 +3250,8 @@
3248 This data has been replaced with 3250 This data has been replaced with
3249 <filename>getrusage()</filename> data and corrected IO 3251 <filename>getrusage()</filename> data and corrected IO
3250 statistics. 3252 statistics.
3251 You will probably need to update code that reads the 3253 You will probably need to update any custom code that reads
3252 <filename>buildstats</filename> data. 3254 the <filename>buildstats</filename> data.
3253 </para></listitem> 3255 </para></listitem>
3254 <listitem><para> 3256 <listitem><para>
3255 The 3257 The
@@ -3272,8 +3274,9 @@
3272 <filename>meta-yocto-bsp</filename> layer. 3274 <filename>meta-yocto-bsp</filename> layer.
3273 Most modern x86 boards do not rely on this file and it only 3275 Most modern x86 boards do not rely on this file and it only
3274 adds kernel error messages during startup. 3276 adds kernel error messages during startup.
3275 If you do still need the file, you can simply add 3277 If you do still need to support
3276 <filename>v86d</filename> to your image. 3278 <filename>uvesafb</filename>, you can
3279 simply add <filename>v86d</filename> to your image.
3277 </para></listitem> 3280 </para></listitem>
3278 </itemizedlist> 3281 </itemizedlist>
3279 </para> 3282 </para>