sdk-manual: Updated "Providing Additional Installable Extensible SDK Content"

The list appears to be not a numbered list.  Fixed that.  Also, provided
better wording around "exposing" the sstate-cache.

(From yocto-docs rev: 15c65db41c9e6eddf7d12e138f6c63755e845beb)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-07-19 14:54:50 -07:00
committed by Richard Purdie
parent c89427bebe
commit 5cdf2e8b2c

View File

@@ -337,27 +337,38 @@
<title>Providing Additional Installable Extensible SDK Content</title> <title>Providing Additional Installable Extensible SDK Content</title>
<para> <para>
If you want the users of the extensible SDK you are building to be If you want the users of an extensible SDK you build to be
able to add items to the SDK without needing to build the able to add items to the SDK without requiring the users to build
items from source, you need to do a number of things: the items from source, you need to do a number of things:
<orderedlist> <itemizedlist>
<listitem><para> <listitem><para>
Ensure the additional items you want the user to be able to Ensure the additional items you want the user to be able to
install are actually built. install are already built:
You can ensure these items are built a number of different <itemizedlist>
ways: 1) Build them explicitly, perhaps using one or more <listitem><para>
"meta" recipes that depend on lists of other recipes to keep Build the items explicitly.
things tidy, or 2) Build the "world" target and set You could use one or more "meta" recipes that depend
<filename>EXCLUDE_FROM_WORLD_pn-</filename><replaceable>recipename</replaceable> on lists of other recipes.
for the recipes you do not want built. </para></listitem>
See the <listitem><para>
<ulink url='&YOCTO_DOCS_REF_URL;#var-EXCLUDE_FROM_WORLD'><filename>EXCLUDE_FROM_WORLD</filename></ulink> Build the "world" target and set
variable for additional information. <filename>EXCLUDE_FROM_WORLD_pn-</filename><replaceable>recipename</replaceable>
for the recipes you do not want built.
See the
<ulink url='&YOCTO_DOCS_REF_URL;#var-EXCLUDE_FROM_WORLD'><filename>EXCLUDE_FROM_WORLD</filename></ulink>
variable for additional information.
</para></listitem>
</itemizedlist>
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
Expose the <filename>sstate-cache</filename> directory Expose the <filename>sstate-cache</filename> directory
produced by the build. produced by the build.
Typically, you expose this directory over HTTP or HTTPS. Typically, you expose this directory by making it available
through an
<ulink url='https://en.wikipedia.org/wiki/Apache_HTTP_Server'>Apache HTTP Server</ulink>
or
<ulink url='https://en.wikipedia.org/wiki/Nginx'>Nginx</ulink>
server.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
Set the appropriate configuration so that the produced SDK Set the appropriate configuration so that the produced SDK
@@ -390,7 +401,7 @@
Alternatively, if you just want to set the Alternatively, if you just want to set the
<filename>SSTATE_MIRRORS</filename> variable's value <filename>SSTATE_MIRRORS</filename> variable's value
for the SDK alone, create a for the SDK alone, create a
<filename>conf/sdk-extra.conf</filename> either in <filename>conf/sdk-extra.conf</filename> file either in
your your
<ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink> <ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>
or within any layer and put your or within any layer and put your
@@ -404,7 +415,7 @@
</para></listitem> </para></listitem>
</itemizedlist> </itemizedlist>
</para></listitem> </para></listitem>
</orderedlist> </itemizedlist>
</para> </para>
</section> </section>
@@ -478,7 +489,7 @@
then providing a shared state mirror is mandatory so that items then providing a shared state mirror is mandatory so that items
can be installed as needed. can be installed as needed.
See the See the
"<link linkend='sdk-providing-additional-installable-extensible-sdk-content'>Providing Additional Installable Extensible SDK Content</link>" "<link linkend='sdk-providing-additional-extensible-sdk-content'>Providing Additional Installable Extensible SDK Content</link>"
section for more information. section for more information.
</note> </note>
</para> </para>