ref-manual: Review edits to do_populate_sysroot and SYSROOT_DIRS_NATIVE

Fixes [YOCTO #10377]

Some minor wordsmithing.  Also added a new note to the
SYSROOT_DIRS_NATIVE variable.

(From yocto-docs rev: 459666b01b8d6d8212a59c877ea6c324511a5883)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2016-10-05 11:05:47 -07:00 committed by Richard Purdie
parent 6be52ddd9a
commit cda7141ad1
2 changed files with 11 additions and 4 deletions

View File

@ -463,10 +463,10 @@
Stages (copies) a subset of the files installed by the Stages (copies) a subset of the files installed by the
<link linkend='ref-tasks-install'><filename>do_install</filename></link> <link linkend='ref-tasks-install'><filename>do_install</filename></link>
task into the appropriate sysroot. task into the appropriate sysroot.
For information on how to make these files available to other For information on how to access these files from other recipes,
recipes, see the see the
<link linkend='var-STAGING_DIR_HOST'><filename>STAGING_DIR_HOST</filename></link> <link linkend='var-STAGING_DIR_HOST'><filename>STAGING_DIR*</filename></link>
variable. variables.
Directories that would typically not be needed by other recipes at Directories that would typically not be needed by other recipes at
build time (e.g. <filename>/etc</filename>) are not copied by build time (e.g. <filename>/etc</filename>) are not copied by
default. default.

View File

@ -13210,6 +13210,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
${localstatedir} \ ${localstatedir} \
" "
</literallayout> </literallayout>
<note>
Programs built by <filename>-native</filename> recipes
run directly from the sysroot
(<filename>STAGING_DIR_NATIVE</filename>), which is
why additional directories containing program
executables and supporting files need to be staged.
</note>
</para> </para>
</glossdef> </glossdef>
</glossentry> </glossentry>