Changes between Version 8 and Version 9 of OpenWrt/Packages
- Timestamp:
- 07/27/2020 04:37:29 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenWrt/Packages
v8 v9 16 16 17 17 = OpenWrt Package feeds = 18 The opkg application has a configuration file on the target at /etc/opkg.conf(this is the only configuration file) which is used to point to and describe various package feeds. Often it is useful to add a package feed that points to your development host's OpenWrt bin directory with an HTTP server behind it.18 The opkg application has a configuration file on the target at {{{/etc/opkg.conf}}} (this is the only configuration file) which is used to point to and describe various package feeds. Often it is useful to add a package feed that points to your development host's OpenWrt bin directory with an HTTP server behind it. 19 19 20 20 For example, if your OpenWrt development host is at 192.168.1.10 and on the same IP network as your target board you can install something like the 'lightthpd' HTTP server with the following at the end of its config file in /etc/lighttpd/lighttpd.conf: 21 21 {{{ 22 23 22 alias.url += ( 24 23 "/openwrt" => "/home/openwrt/gateworks/trunk/bin", … … 26 25 }}} 27 26 28 Your target board could have an opkg.conf file that looked like (for the laguna family which uses the cns3xxxarchitecture):27 Your target board could have an {{{/etc/opkg.conf}}} file that looked like (for the Newport family which uses the {{{octeontx}}} architecture): 29 28 {{{ 30 src/gz local http://192.168.1.10/openwrt/ cns3xxx/packages29 src/gz local http://192.168.1.10/openwrt/octeontx/packages 31 30 dest root / 32 31 dest ram /tmp … … 35 34 }}} 36 35 37 Another example: 38 39 {{{#!bash 40 41 42 src/gz snapshots http://dev.gateworks.com/openwrt/16.02/imx6/packages/packages/ 36 Another example for {{{imx6}}} based ventana pointing to the package repository at http://dev.gateworks.com: 37 {{{ 38 src/gz snapshots http://dev.gateworks.com/openwrt/20.06/imx6/packages/packages/ 43 39 dest root / 44 40 dest ram /tmp