diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index cf188aae74..5a4ff3c328 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -3996,31 +3996,19 @@ | |||
3996 | <para> | 3996 | <para> |
3997 | As a way of making it easier to generate and make | 3997 | As a way of making it easier to generate and make |
3998 | these IPK configuration files available on your | 3998 | these IPK configuration files available on your |
3999 | target, the <filename>meta-oe</filename> layer | 3999 | target, simply define |
4000 | provides a recipe called | 4000 | <filename>FEED_DEPLOYDIR_BASE_URI</filename> to point |
4001 | <filename>distro-feed-configs</filename>, which | ||
4002 | provides a package by the same name. | ||
4003 | When you include this package into your image, it will | ||
4004 | automatically generate and include a set of | ||
4005 | <filename>*.conf</filename> files in the image's | ||
4006 | <filename>/etc/opkg</filename> directory that will | ||
4007 | provide your target's <filename>opkg</filename> | ||
4008 | tool with any and all package databases your build will | ||
4009 | generate. | ||
4010 | The only catch is that this recipe cannot possibly | ||
4011 | imagine your server's DNS name/IP address. | ||
4012 | Consequently, somewhere in your configuration you need | ||
4013 | to set a variable called | ||
4014 | <filename>DISTRO_FEED_URI</filename> to point | ||
4015 | to your server and the location within the | 4001 | to your server and the location within the |
4016 | document-root that contains the databases. | 4002 | document-root which contains the databases. |
4017 | For example: if you are serving your packages over HTTP, | 4003 | For example: if you are serving your packages over |
4018 | your server's IP address is 192.168.7.1, and your | 4004 | HTTP, your server's IP address is 192.168.7.1, and |
4019 | databases are located in a directory called | 4005 | your databases are located in a directory called |
4020 | <filename>BOARD-dir</filename> underneath your HTTP | 4006 | <filename>BOARD-dir</filename> underneath your HTTP |
4021 | server's document-root, you need to set | 4007 | server's document-root, you need to set |
4022 | <filename>DISTRO_FEED_URI</filename> to | 4008 | <filename>FEED_DEPLOYDIR_BASE_URI</filename> to |
4023 | <filename>http://192.168.7.1/BOARD-dir</filename>. | 4009 | <filename>http://192.168.7.1/BOARD-dir</filename> and |
4010 | a set of configuration files will be generated for you | ||
4011 | in your target to work with this feed. | ||
4024 | </para> | 4012 | </para> |
4025 | 4013 | ||
4026 | <para> | 4014 | <para> |