Differences

This shows you the differences between two versions of the page.

doc:devel:feeds [2013/05/09 01:41]
orca
doc:devel:feeds [2014/03/29 11:28] (current)
tmomas numbered list corrected
Line 1: Line 1:
====== OpenWrt Feeds ====== ====== OpenWrt Feeds ======
-A feed in OpenWrt is a collection of [[doc:devel:packages]] which share a common location.  Feeds may reside on a remote server, in a version control system, on the local filesystem, or in any other location addressable by a single name (path/URL) over a protocol with a supported feed method.+In OpenWrt, a "feed" is a collection of [[doc:devel:packages]] which share a common location.  Feeds may reside on a remote server, in a version control system, on the local filesystem, or in any other location addressable by a single name (path/URL) over a protocol with a supported feed method.
Feeds are additional predefined package build recipes for OpenWrt Buildroot. Feeds are additional predefined package build recipes for OpenWrt Buildroot.
Line 99: Line 99:
  - You create your current project dir ''project''.   - You create your current project dir ''project''.
- 
  - Then while in ''/home/user/openwrt/project''   - Then while in ''/home/user/openwrt/project''
- +    - ''svn co svn://svn.openwrt.org/openwrt/trunk openwrt'' (for the OpenWRT base system) 
-  - ''svn co svn://svn.openwrt.org/openwrt/trunk openwrt'' (for the OpenWRT base system) +   - ''svn co svn://svn.openwrt.org/openwrt/packages packages'' (for the packages feed)
- - ''svn co svn://svn.openwrt.org/openwrt/packages packages'' (for the packages feed) +
  - Add your package in the appropriate subdirectory under ''/home/user/openwrt/project/packages''   - Add your package in the appropriate subdirectory under ''/home/user/openwrt/project/packages''
=== Creating your own feed === === Creating your own feed ===
- 
  - Create your project dir and get trunk, as above   - Create your project dir and get trunk, as above
  - Create your package dir and copy your package into it (e.g. ''cp packagedir /home/user/openwrt/project/customfeed/''), so that your package is under (in this example) ''/home/user/openwrt/project/customfeed/packagedir''   - Create your package dir and copy your package into it (e.g. ''cp packagedir /home/user/openwrt/project/customfeed/''), so that your package is under (in this example) ''/home/user/openwrt/project/customfeed/packagedir''
==== Using the feed ==== ==== Using the feed ====
- 
  - Edit your ''feeds.conf'' (i.e. ''/home/user/openwrt/project/openwrt/feeds.conf'')   - Edit your ''feeds.conf'' (i.e. ''/home/user/openwrt/project/openwrt/feeds.conf'')
  - Add a new line to access the feed (and in the case of adding to the packages feed comment out the normal packages feed.)   - Add a new line to access the feed (and in the case of adding to the packages feed comment out the normal packages feed.)
Line 130: Line 125:
===== Explanations ===== ===== Explanations =====
- 
The downloaded sources (referenced in package Makefiles) are not there... The downloaded sources (referenced in package Makefiles) are not there...
The downloads go first to <buildroot>/dl as gzipped .gz files. And there they are stored and then they get unzipped to /build_dir. See e.g. <buildroot>/build_dir/target-*/ and below it you will find subdirectories for each package's sources. The downloads go first to <buildroot>/dl as gzipped .gz files. And there they are stored and then they get unzipped to /build_dir. See e.g. <buildroot>/build_dir/target-*/ and below it you will find subdirectories for each package's sources.
 +
 +==== Documentation ====
 +  - [[about:toolchain|OpenWrt Buildroot – About]]
 +  - [[doc:howto:buildroot.exigence|OpenWrt Buildroot – Installation]]
 +  - [[doc:howto:build|OpenWrt Buildroot – Usage]]
 +  - OpenWrt Buildroot – Feeds
 +  - [[doc:techref:buildroot|OpenWrt Buildroot – Technical Reference]] {{:meta:icons:tango:48px-construction.svg.png?nolink&16}} this article needs //your// attention.
 +
 +
 +===== Link dump =====
 +  * https://forum.openwrt.org/viewtopic.php?id=45293 exFAT support

Back to top

doc/devel/feeds.1368056480.txt.bz2 · Last modified: 2013/05/09 01:41 by orca