diff mbox

[yocto-docs] runtime package management: use oe-core features

Message ID 1383379443-8088-1-git-send-email-trevor.woerner@linaro.org
State New
Headers show

Commit Message

Trevor Woerner Nov. 2, 2013, 8:04 a.m. UTC
[YOCTO #5408]

The reference manual should only refer to functionality which is available in
oe-core. Currently, this passage requires the user to add a package from, and
use facilities of, meta-oe. This fix describes how to use facilities in
oe-core to the same end.

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
---
 .../dev-manual/dev-manual-common-tasks.xml         | 32 +++++++---------------
 1 file changed, 10 insertions(+), 22 deletions(-)

Comments

Robert P. J. Day Nov. 2, 2013, 8:35 a.m. UTC | #1
On Sat, 2 Nov 2013, Trevor Woerner wrote:

> [YOCTO #5408]
>
> The reference manual should only refer to functionality which is available in
> oe-core. Currently, this passage requires the user to add a package from, and
> use facilities of, meta-oe. This fix describes how to use facilities in
> oe-core to the same end.
>
> Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
> ---
>  .../dev-manual/dev-manual-common-tasks.xml         | 32 +++++++---------------
>  1 file changed, 10 insertions(+), 22 deletions(-)

... snip ...

  that's not the reference manual, that's the dev manual.

rday
diff mbox

Patch

diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index cf188aa..5a4ff3c 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -3996,31 +3996,19 @@ 
                     <para>
                         As a way of making it easier to generate and make
                         these IPK configuration files available on your
-                        target, the <filename>meta-oe</filename> layer
-                        provides a recipe called
-                        <filename>distro-feed-configs</filename>, which
-                        provides a package by the same name.
-                        When you include this package into your image, it will
-                        automatically generate and include a set of
-                        <filename>*.conf</filename> files in the image's
-                        <filename>/etc/opkg</filename> directory that will
-                        provide your target's <filename>opkg</filename>
-                        tool with any and all package databases your build will
-                        generate.
-                        The only catch is that this recipe cannot possibly
-                        imagine your server's DNS name/IP address.
-                        Consequently, somewhere in your configuration you need
-                        to set a variable called
-                        <filename>DISTRO_FEED_URI</filename> to point
+                        target, simply define
+                        <filename>FEED_DEPLOYDIR_BASE_URI</filename> to point
                         to your server and the location within the
-                        document-root that contains the databases.
-                        For example: if you are serving your packages over HTTP,
-                        your server's IP address is 192.168.7.1, and your
-                        databases are located in a directory called
+                        document-root which contains the databases.
+                        For example: if you are serving your packages over
+                        HTTP, your server's IP address is 192.168.7.1, and
+                        your databases are located in a directory called
                         <filename>BOARD-dir</filename> underneath your HTTP
                         server's document-root, you need to set
-                        <filename>DISTRO_FEED_URI</filename> to
-                        <filename>http://192.168.7.1/BOARD-dir</filename>.
+                        <filename>FEED_DEPLOYDIR_BASE_URI</filename> to
+                        <filename>http://192.168.7.1/BOARD-dir</filename> and
+                        a set of configuration files will be generated for you
+                        in your target to work with this feed.
                     </para>
 
                     <para>