Differences

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

doc:howto:buildroot.exigence [2013/01/05 13:26]
hack2003
doc:howto:buildroot.exigence [2013/06/19 12:47] (current)
lorema
Line 1: Line 1:
====== OpenWrt Buildroot – Installation ====== ====== OpenWrt Buildroot – Installation ======
-[[about:toolchain|OpenWrt Buildroot]] is the preferred [[wp>toolchain]] to build OpenWrt. It is recommended that you use a [[wp>Linux distribution|GNU/Linux Distribution]], either a standalone installation or one running in a virtual environment ([[wp>VMware]] or [[wp>Qemu]]).+[[about:toolchain|OpenWrt Buildroot]] is the preferred [[wp>toolchain]] to build OpenWrt. It is recommended that you use a Linux distribution ([[wp>Debian]] is recommended), either a standalone installation or one running in a virtual environment ([[wp>VMware]] or [[wp>Qemu]]).
-[[wp>Cygwin]] will probably not work correctly, and while it is possible to build OpenWrt images on a [[wp>Comparison of BSD operating systems|~BSD]] or on MacOSX system, success is not guaranteed. Feel free to try and then report back with your results. Don't forget to read [[#Troubleshooting]].+[[wp>Cygwin]] will probably not work correctly, and while it is possible to build OpenWrt images on a [[wp>Comparison of BSD operating systems|~BSD]] or on MacOS X system, success is not guaranteed.
===== Prerequisites ===== ===== Prerequisites =====
-  * 350 MB of hard disk space for the source files to be downloaded+to generate an [[doc:howto:generic.flashing|installable]] OpenWrt firmware image file with a size of e.g. 8MB: 
-  * 3-4 GB of available hard disk space to build (i.e. cross-compile) OpenWrt.+  * ca. 150 MB of hard disk space for OpenWrt Buildroot 
 +  * ca. 350 MB of hard disk space for OpenWrt Buildroot + OpenWrt Feeds 
 +  * ca. 3-4 GB of available hard disk space to build (i.e. cross-compile) OpenWrt and generate the firmware file 
 + 
 + 
 +===== Procedure (on Debian 7 "Wheezy") ===== 
 +| ->[[doc:howto:buildroot.exigence.bsd|Procedure on ~BSD]] | ->[[doc:howto:buildroot.exigence.macosx|Procedure on Mac OS X]]|->[[doc:howto:buildroot.exigence.cygwin|Procedure on Cygwin]] |
-===== Procedure ===== 
| {{:meta:icons:tango:48px-emblem-important.svg.png?nolink}} | 1. Do everything as //non//-root user!\\ 2. Issue all OpenWrt Buildroot commands in the ''<buildsystem root>'' directory, e.g. ''~/openwrt/trunk/''\\ 3. Do not build in a directory that has spaces in its full path | | {{:meta:icons:tango:48px-emblem-important.svg.png?nolink}} | 1. Do everything as //non//-root user!\\ 2. Issue all OpenWrt Buildroot commands in the ''<buildsystem root>'' directory, e.g. ''~/openwrt/trunk/''\\ 3. Do not build in a directory that has spaces in its full path |
-  - Install ''[[wp>Apache Subversion|subversion]]'' (short: ''svn''), to conveniently download the OpenWrt source code, and ''[[wp>GNU build system|build tools]]'' to assist with the compilation process: <code bash>sudo apt-get update +  - Install ''[[wp>Apache Subversion|subversion]]'' (short: ''svn''), to conveniently download the OpenWrt source code, and ''[[wp>GNU build system|build tools]]'' to do the cross-compilation process: <code bash>sudo apt-get update 
-sudo apt-get install subversion build-essential</code>+sudo apt-get install subversion build-essential</code> Some feeds (e.g. LuCI, openwrt-routing and telephony) are not available over svn but only via ''[[wp>Git (software)|git]]''. If you want to obtain their source-code, you need to install git as well:<code bash> 
 +sudo apt-get install git-core</code>
    * for information about the subversion tool see ''[[man>svn]]'' and [[http://svnbook.red-bean.com/index.en.html|subversion documentation (multiple languages)]]     * for information about the subversion tool see ''[[man>svn]]'' and [[http://svnbook.red-bean.com/index.en.html|subversion documentation (multiple languages)]]
-    * for information about the build tools see ''[[man>make]]'' and [[http://packages.debian.org/squeeze/build-essential|build-essential]] +    * for information about the build tools see ''[[man>make]]'' and [[http://packages.debian.org/wheezy/build-essential|build-essential]] 
-  - Download the OpenWrt sources with ''svn''. <code bash> +    * for information about git see ''[[man>git(7)]]'' 
 +  - Download the OpenWrt bleeding edge with ''svn'' (//see [[#Downloading Sources]] for more options!//):<code bash>
mkdir ~/openwrt mkdir ~/openwrt
cd ~/openwrt cd ~/openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/ svn co svn://svn.openwrt.org/openwrt/trunk/
-cd trunk +</code> <HTML><p style="font-size:small">this creates a directory 'trunk', which is the OpenWrt Buildroot build-directory </br>for OpenWrt trunk R27988, it contains 14,382 files with an overall size of 150 MiB</br>the OpenWrt toolchain "OpenWrt Buildroot" is included</p></HTML> 
-</code>  +  - (//optional//) Download and install all available "feeds" (//see [[#Downloading and Installing Feeds]] for more options!//):<code bash> 
-    * this will create a directory 'trunk', which is the main OpenWrt source code dir +cd ~/openwrt/trunk
-    * for trunk rev R27988, there will be 14,382 files with an overall size of 150 MiB +
-    * includes the OpenWrt Buildroot system. +
-    * for more information about [[#Downloading Sources]].  +
-  - Download and install [[doc:devel:feeds]] using feeds script. (//optional//)<code bash>+
./scripts/feeds update -a ./scripts/feeds update -a
-./scripts/feeds install -a</code>  +./scripts/feeds install -a</code> <HTML><p style="font-size:small">after this, Revision 7367, the trunk-dir contained 26,650 files with an overall size of 302 MiB.</p></HTML> 
-    * after this, Revision 7367, the ''trunk''-dir contained **26,650 files** with an overall size of **302 MiB** (to install individual packages: ''./scripts/feeds install PACKAGENAME'') +  - Make OpenWrt Buildroot check for missing packages on your build-system using one of the following commands:<code bash>
-  - Use one of the following commands to check for missing packages on the system you want to build OpenWrt on:<code bash>+
make defconfig make defconfig
make prereq make prereq
-make menuconfig</code>  +make menuconfig</code> <HTML><p style="font-size:small">this will list missing system packages required to successfully build OpenWrt using OpenWrt Buildroot</p></HTML> 
-    * this will list missing system packages needed to successfully build OpenWrt using buildroot. +  - Install the missing packages. On a fresh //Debian 7 Wheezy 32/64Bit// these are:<code bash>sudo apt-get install libncurses5-dev zlib1g-dev gawk</code> 
-  - Install the missing packages using [[https://wiki.archlinux.org/index.php/Pacman_Rosetta|package management commands]]. See the examples and table below for more details. +  - Proceed with [[build]] (i.e. cross-compile the downloaded sources to binaries)<HTML><p style="font-size:small">After the cross-compilation process the ''trunk''-directory contained 244,451 files with a total size of 3.2GiB!</p></HTML> 
-  - Proceed with [[build]] or [[https://forum.openwrt.org/viewtopic.php?id=34676|Build OpenWrt on Mac OS X 10.7 Lion]] + 
-:!: After configuring and running make (as described [[doc:howto:build|here]]), ''trunk''-dir contained 244,451 files with a total size of 3.2GiB!+
===== Table of known prerequisites and their corresponding packages ===== ===== Table of known prerequisites and their corresponding packages =====
Line 42: Line 44:
^ Prerequisite ^ Debian ^ Suse ^ Red Hat ^ OS X (via MacPorts) ^ Fedora ^ NetBSD ^ ^ Prerequisite ^ Debian ^ Suse ^ Red Hat ^ OS X (via MacPorts) ^ Fedora ^ NetBSD ^
-| asciidoc| asciidoc| asciidoc| asciidoc| asciidoc | asciidoc| ?| +| asciidoc         | asciidoc| asciidoc| asciidoc| asciidoc | asciidoc| ?| 
-| bash| bash |bash| ?| bash | ?| bash|  +| [[wp>Bash (Unix shell)|GNU Bash]] | bash |bash| ?| bash | bash| bash|  
-| binutils| binutils | binutils| binutils| binutils| binutils| ?| +| [[wp>GNU Binutils]] | binutils | binutils| binutils| binutils| binutils| ?| 
-| bzip2| bzip2 | bzip2| bzip2| bzip2| bzip2| ?|  +| [[wp>bzip2]]    | bzip2 | bzip2| bzip2| bzip2| bzip2| ?|  
-| fastjar| fastjar|fastjar| libgcj| fastjar| libgcj| ?|  +| fastjar         | fastjar|fastjar| libgcj| fastjar| libgcj| ?|  
-| flex| flex|flex| ?| flex| flex| ?|  +| [[wp>flex lexical analyser|flex]]  | flex|flex| ?| flex| flex| ?|  
-| git| git-core| git-core| ?| ?| ?| ?| +| [[wp>Git (software)|git]] | git-core| git-core| ?| ?| git | ?| 
-| g++| g++| gcc-c++| gcc-c++| ?| gcc-c++| ?|  +| [[wp>GNU C++ Compiler]]  | g++| gcc-c++| gcc-c++| ?| gcc-c++| ?|  
-| gcc| gcc| gcc| gcc| ?| gcc| ?|  +| [[wp>GNU C Compiler]]    | gcc| gcc| gcc| ?| gcc| ?|  
-| getopt| util-linux | util-linux | ?| getopt| ?| getopt|  +| getopt           | util-linux | util-linux | ?| getopt| util-linux | getopt|  
-| GNU awk| gawk| gawk| gawk| gawk| gawk| ?|  +| [[wp>GNU awk]]  | gawk| gawk| gawk| gawk| gawk| ?|  
-| gtk2.0-dev| libgtk2.0-dev| ?| gtk2-devel| gtk2| gtk2-devel| ?|  +| gtk2.0-dev       | libgtk2.0-dev| ?| gtk2-devel| gtk2| gtk2-devel| ?|  
-| intltool-update| intltool| intltool| intltool| intltool| intltool| ?|  +| intltool-update | intltool| intltool| intltool| intltool| intltool| ?|  
-| jikes| ---| jikes| ?| jikes| ---| ?|  +| jikes           | ---| jikes| ?| jikes| ---| ?|  
-| libz, libz-dev| zlib1g-dev | zlib-devel| zlib-devel| zlib| zlib-devel| ?|  +| libz, libz-dev   | zlib1g-dev | zlib-devel| zlib-devel| zlib| zlib-devel| ?|  
-| make| make | make| ?| gmake| make| gmake|  +| make             | make | make| ?| gmake| make| gmake|  
-| ncurses| libncurses5-dev| ncurses-devel| ncurses-devel| ncurses| ncurses-devel| ?|  +| [[wp>ncurses]]  | libncurses5-dev| ncurses-devel| ncurses-devel| ncurses| ncurses-devel| ?|  
-| openssl/ssl.h| libssl-dev| libopenssl-devel| openssl-devel| openssl| openssl-devel| ?|  +| openssl/ssl.h   | libssl-dev| libopenssl-devel| openssl-devel| openssl| openssl-devel| ?|  
-| patch| patch | patch| ?| patchutils| patch| ?| +| patch| patch     | patch | patch | patchutils| patch| ?|
| perl-ExtUtils-MakeMaker| perl-modules | perl-ExtUtils-MakeMaker| perl-ExtUtils-MakeMaker| p5-extutils-makemaker| perl-ExtUtils-MakeMaker| ?| | perl-ExtUtils-MakeMaker| perl-modules | perl-ExtUtils-MakeMaker| perl-ExtUtils-MakeMaker| p5-extutils-makemaker| perl-ExtUtils-MakeMaker| ?|
-| python2.6-dev| python2.6-dev | python-devel| ?| python26| ?| ?|  +| python2.6-dev   | python2.6-dev | python-devel| ?| python26| python-devel | ?|  
-| rsync| rsync| rsync| ?| rsync| rsync| ?|  +| rsync           | rsync| rsync| ?| rsync| rsync| ?|  
-| ruby| ruby| ruby | ?| ruby| ruby| ?|  +| ruby             | ruby| ruby | ?| ruby| ruby| ?|  
-| sdcc| sdcc| sdcc| sdcc| sdcc| sdcc| ?|  +| sdcc             | sdcc| sdcc| sdcc| sdcc| sdcc| ?|  
-| unzip| unzip| unzip| ?| unzip| unzip| ?|  +| unzip           | unzip| unzip| unzip| unzip| unzip| ?|  
-| wget| wget | wget| wget| wget| wget| ?|  +| [[wp>GNU Wget]]  | wget | wget| wget| wget| wget| ?|  
-| working-sdcc| --- | ?| ?| ?| ---| ?|  +| working-sdcc     | --- | ?| ?| ?| ---| ?|  
-| xgettext| gettext| ?| ?| gettext| gettext| ?|  +| xgettext         | gettext| ?| ?| gettext| gettext| ?|  
-| xsltproc| xsltproc| libxslt| ?| libxslt| libxslt| ?|  +| xsltproc         | xsltproc| libxslt| ?| libxslt| libxslt| ?|  
-| zlib, zlib-static| zlib1g-dev| zlib-devel| ?| ?| ?| ?|+| zlib, zlib-static| zlib1g-dev| zlib-devel| ?| zlib-devel| zlib-devel | ?|
Unfortunately not all dependencies are checked by ''make config'': Unfortunately not all dependencies are checked by ''make config'':
^ Package ^ Prerequisite ^ Debian ^ Suse ^ Red Hat ^ OS X ^ Fedora ^ NetBSD ^ ^ Package ^ Prerequisite ^ Debian ^ Suse ^ Red Hat ^ OS X ^ Fedora ^ NetBSD ^
-| intltool | [Perl] XML::Parser | libxml-parser-perl | ? | perl-XML-Parser | ? | ? | ?| +| intltool | [Perl] XML::Parser | libxml-parser-perl | ? | perl-XML-Parser | ? | perl-XML-Parser | ?|
-===== Examples ===== +==== Examples of Package Installations ==== 
-Debian 5.0 Lenny: + * **Debian 5 Lenny:**<code>apt-get install gawk ncurses-dev unzip zlib1g-dev</code> 
-| ''**# aptitude install** gawk ncurses-dev unzip zlib1g-dev'' | + * **Debian 6 Squeeze:**<code>apt-get install libncurses5-dev zlib1g-dev gawk flex libssl-dev sdcc-nf</code> 
- + * **Debian 7 Wheezy:**<code>apt-get install libncurses5-dev zlib1g-dev gawk</code> 
-Debian 6.0 Squeeze: +  * **Ubuntu 9.10:**<code>sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib bison autoconf screen gcc g++ binutils patch bzip2 flex make gettext unzip libc6 git-core</code> 
-| ''**# aptitude install** libncurses5-dev zlib1g-dev gawk flex libssl-dev sdcc-nf '' | +  * **Ubuntu 11.10:**<code>sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt</code> 
- +  * **Ubuntu 12.04LTS:**<code>sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl</code> 
-Fedora 17: + * **Ubuntu 64bit:**<code>sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext</code> 
-| ''yum install -y subversion binutils bzip2 gcc gcc-c++ gawk gettext flex libz-dev flex ncurses-devel zlib-devel make patch unzip  perl-ExtUtils-MakeMaker+ * **Fedora 17:**<code>yum install -y subversion binutils bzip2 gcc gcc-c++ gawk gettext flex libz-dev flex ncurses-devel zlib-devel make patch unzip  perl-ExtUtils-MakeMaker
mkdir ~/openwrt mkdir ~/openwrt
cd openwrt cd openwrt
Line 92: Line 94:
./scripts/feeds update -a ./scripts/feeds update -a
./scripts/feeds install -a ./scripts/feeds install -a
-make defconfig 
make prereq make prereq
make menuconfig make menuconfig
-ionice -c 3 nice -n 20 make -j 2 #for quad-core CPU put -j 3'' |+ionice -c 3 nice -n 20 make -j 3 #always put nproc +1 </code> 
 +  * **Fedora 18 - 64Bit** (Maybe also for lower versions, some packages seem to be missing above):<code>yum install -y subversion binutils bzip2 gcc gcc-c++ gawk gettext flex flex ncurses-devel zlib-devel make patch unzip perl-ExtUtils-MakeMaker \ 
 + glibc glibc-devel glibc-static quilt ncurses-lib sed sdcc intltool sharutils bison</code><code>#Maybe you need glibc.i686 glibc-static.i686 glibc-devel.i686 libgcc.i686 too</code> 
 +  * **openSuSE 11.1**<code>zypper install binutils bzip2 gawk gcc gcc-c++ gettext make ncurses-devel patch unzip wget zlib-devel flex git-core</code>In openSuSE some packages require additional repositories. Search on http://packages.opensuse-community.org and add repositories like that: <code>zypper ar "http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.1/devel:languages:perl.repo"</code>
-Fedora 18 - 64Bit (Maybe also for lower versions, some packages seem to be missing above)+===== Downloading Sources ===== 
-| ''yum install -y subversion binutils bzip2 gcc gcc-c++ gawk gettext flex flex ncurses-devel zlib-devel make patch unzip perl-ExtUtils-MakeMaker \ +(see [[https://dev.openwrt.org/wiki/GetSource]]) You can either check out the OpenWrt source code via git or svn.
- glibc glibc-devel glibc-static quilt ncurses-lib sed sdcc intltool sharutils bison+
-Maybe you need glibc.i686 glibc-static.i686 glibc-devel.i686 libgcc.i686 too '' |+==== GIT ==== 
 +The recommended way of checking out the OpenWrt source code is cloning the Git repository using one of the following commands:
-openSuSE 11.1 +=== trunk (main development tree) === 
-| ''**# zypper install** binutils bzip2 gawk gcc gcc-c++ gettext make ncurses-devel patch unzip wget zlib-devel flex git-core'' |+The development branch (trunk) contains everything from documentation to <color yellow>**//experimental//**</color> <color red>**//patches//**</color>. 
 +== Main repository ==
-Ubuntu: +<code bash>git clone git://git.openwrt.org/openwrt.git</code>
-| ''**$ sudo apt-get install** build-essential subversion libncurses5-dev zlib1g-dev gawk flex'' |+
-Ubuntu 9.10, I needed also these (30-03-2011): +== Packages feed ==
-| ''**$ sudo apt-get install** gcc-multilib bison autoconf screen gcc g++ binutils patch bzip2 flex make gettext unzip libc6 git-core'' |+
-Ubuntu 11.10: +<code bash>git clone git://git.openwrt.org/packages.git</code>
-| ''**$ sudo apt-get install** build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt'' |+
-Ubuntu 12.04LTS: +=== 12.09 branch (Attitude Adjustment) ===
-| ''**$ sudo apt-get install** build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl'' |+
-Ubuntu 64bit: +== Main repository == 
-| ''**$ sudo apt-get install** build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext'' |+<code bash>git clone git://git.openwrt.org/12.09/openwrt.git</code>
 +== Packages feed ==
-Mac OS X (tested on 64-bit Lion): +<code bash>git clone git://git.openwrt.org/12.09/packages.git</code>
-  - Download [[http://www.macports.org/install.php#pkg|MacPorts .pkg Installer]], and install (horizontal scroll for entire second command): +
-  - <code>sudo port -v selfupdate</code> +
-  - <code>sudo port install coreutils asciidoc bzip2 fastjar flex getopt gtk2 intltool jikes zlib openssl p5-extutils-makemaker python26 rsync ruby sdcc unzip gettext libxslt bison gawk autoconf wget gmake ncurses e2fsprogs ossp-uuid</code> +
-  - **Required for 64-bit OS X**: After checking out the source tree via svn above, we need to edit **trunk/tools/Makefile** +
-  * On line 17, erase the instance of "e2fsprogs" but leave the rest of the line +
-  * Comment out line 22, line 50, line 52, line 58 with the hash symbol, by putting # at the beginning of each line. They are the lines that issue qemu to be built, followed by the build dependancies for mtd-utils (dep: e2fsprogs), qemu (dep: e2fsprogs), and e2fsprogs respectively. +
-  * Then copy the required headers and libraries to compile tools/mtd-utils <code>cd trunk; +
-mkdir -p staging_dir/host/include/e2fsprogs; +
-cp -R /opt/local/include/ossp staging_dir/host/include/e2fsprogs/; +
-cp /opt/local/lib/libuuid* staging_dir/host/lib </code> +
-See thread: [[https://forum.openwrt.org/viewtopic.php?id=34676|[HOWTO] Build OpenWRT Trunk from svn on Mac OS X 10.7 Lion]] for more details+
 +==== SVN ====
 +You can checkout the source from the OpenWrt Subversion repository using one of the following commands:
-Notes: +=== trunk (main development tree) === 
-   * In Debian or Ubuntu use <code>apt-cache search &quot;&quot;</code> to find prerequisite packages. Naming is sometimes different +The development branch (trunk) contains everything from documentation to <color yellow>**//experimental//**</color> &lt;color red&gt;**//patches//**</color>. 
-   * In openSuSE some packages require additional repositories. Search on http://packages.opensuse-community.org and add repositories like that: <code>zypper ar "http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.1/devel:languages:perl.repo"</code> +<code bash>svn co svn://svn.openwrt.org/openwrt/trunk/</code>
-  * To build your images on a Mac OS X Machine all you need is the package "fileutils" from the //fink project//. (Tested on Leopard 10.5.3)+
-===== Downloading Sources ===== +=== 12.09 branch "Attitude Adjustment" === 
-Short version: [[https://dev.openwrt.org/wiki/GetSource]]\\ +&lt;code bash&gt;svn co svn://svn.openwrt.org/openwrt/branches/attitude_adjustment</code>
-You have two choices:  +
-  * Download the latest stable release, or  +
-  * Download the bleeding edge development snapshot (currently named "Barrier Breaker", but often called &quot;trunk&quot;). +
-The official repository is in svn but you can also choose to use git if you're building trunk. Refer to the [[https://dev.openwrt.org/wiki/GetSource|GetSource]] for the URLs and amend the following commands appropriately.+
-==== Using Release Sources (stable) ==== 
-As of this writing, the latest stable release is OpenWrt 10.03 "Backfire". There is a Backfire branch in SVN repository, which is still slowly being updated with verified patches. Using it will most likely produce a stable and working OpenWrt installation, but all the newest features and patches might not be there. As an example, this will check out the source code that the backfire release is built from (plus the latest backported fixes from trunk): 
-<code> +=== 10.03 branch "Backfire" === 
-svn checkout svn://svn.openwrt.org/openwrt/branches/backfire +<code bash>svn co svn://svn.openwrt.org/openwrt/branches/backfire</code>
-</code>+
 +
 +=== 8.09 branch "Kamikaze" ===
 +<code bash>svn co svn://svn.openwrt.org/openwrt/branches/8.09</code>
 +
 +
 +=== 7.09 branch "Kamikaze" ===
 +<code bash>svn co svn://svn.openwrt.org/openwrt/tags/kamikaze_7.09</code>
 +
 +
 +=== Tagged ===
You could alternatively download a 'tagged' version of the backfire sources. For instance, if you insist on using the pristine release sources (no backported fixes applied after the last release), you could use: You could alternatively download a 'tagged' version of the backfire sources. For instance, if you insist on using the pristine release sources (no backported fixes applied after the last release), you could use:
 +<code bash>svn co svn://svn.openwrt.org/openwrt/tags/backfire_10.03</code>
-<code> +=== Check out a certain revisions === 
-svn checkout svn://svn.openwrt.org/openwrt/tags/backfire_10.03 +== Main repository == 
-</code>+<code bash>svn co --revision=24045 svn://svn.openwrt.org/openwrt/branches/backfire/ ./build_dir</code>
-You can check out a certain revision+== Package feeds == 
-<code> +Create a copy of the file ''./build-directory/feeds.conf.default'' named ''./build-directory/feeds.conf'', edit ''feeds.conf'' and add "@24045" at the end of the line that checks out the package feed
-svn checkout --revision=24045 svn://svn.openwrt.org/openwrt/branches/backfire/ ./build_dir +<code bash>src-svn packages svn://svn.openwrt.org/openwrt/packages@24045</code>
-</code>+
-As for the packages copy ''feeds.conf.default'' in ./build_dir to feeds.conf and add "@24045" at the end of the line that checks out the package feed: 
-<code> 
-src-svn packages svn://svn.openwrt.org/openwrt/packages@24045 
-</code> 
-==== Using Development Sources (bleeding edge) ==== +==== Downloading and Installing Feeds ===== 
-The development branch (trunk) contains everything from documentation to <color yellow>**//experimental//**</color> <color red>**//patches//**</color>. +->[[doc:devel:feeds]] 
-  * get latest<code> +  * to install only individual packages: <code bash>./scripts/feeds install PACKAGENAME</code> 
-svn checkout svn://svn.openwrt.org/openwrt/trunk/ + 
-</code> +
- * get certain revision<code> +
-svn co svn://svn.openwrt.org/openwrt/trunk/@<rev#> +
-</code>+
===== Troubleshooting ===== ===== Troubleshooting =====

Back to top

doc/howto/buildroot.exigence.1357388788.txt.bz2 · Last modified: 2013/01/05 13:26 by hack2003