User Tools

Site Tools


doc:howto:buildroot.exigence

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:howto:buildroot.exigence [2014/03/01 11:19]
brian arch dependencies
doc:howto:buildroot.exigence [2014/11/02 18:08] (current)
bracket Improve openSUSE package instalation example
Line 1: Line 1:
 ====== OpenWrt Buildroot – Installation ====== ====== OpenWrt Buildroot – Installation ======
-[[about:​toolchain|OpenWrt Buildroot]] is the [[wp>​toolchain|buildsystem]] for the OpenWrt Linux distribution. OpenWrt Buildroot works on Linux, ​[[wp>​Comparison of BSD operating systems|~BSD]] ​or MacOSX operating system ​(case-sensitive filesystem required). 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]]).+[[about:​toolchain|OpenWrt Buildroot]] is the [[wp>​toolchain|buildsystem]] for the OpenWrt Linux distribution. OpenWrt Buildroot works on Linux, BSD or MacOSX operating system. A case-sensitive filesystem ​is required.
  
-[[wp>​Cygwin]] will not be supported because of the lack of case sensitiveness in the file system.+It is recommended that you use a Linux distribution ([[wp>​Debian]]),​ either a standalone installation or one running in a virtual environment ([[wp>​VMware]] or [[wp>​Qemu]]). 
 + 
 +[[wp>​Cygwin]](Windows) ​will not be supported because of the lack of case sensitiveness in the file system.
  
  
Line 15: Line 17:
  ​{{tag>​wip}}  ​{{tag>​wip}}
  
- ===== Install procedure on Linux ===== +===== Install procedure on Linux ===== 
-| ->​[[doc:​howto:​buildroot.exigence.bsd|Procedure on ~BSD]] | ->​[[doc:​howto:​buildroot.exigence.macosx|Procedure on Mac OS X]] | +| ->​[[doc:​howto:​buildroot.exigence.bsd|Procedure on ~BSD]] | ->​[[doc:​howto:​buildroot.exigence.macosx|Procedure on Mac OS X]] |
  \\  \\
 | {{:​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\\ 4. Change Ownership other than root user,of the directory where you Download the OpenWrt (sudo chown -R user:user /openwrt/)| | {{:​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\\ 4. Change Ownership other than root user,of the directory where you Download the OpenWrt (sudo chown -R user:user /openwrt/)|
  
-  - 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 +  - Install ''​[[wp>​Git (software)|git]]''​ , 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>​ 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 ​build-essential</​code>​ Some feeds might not available over git but only via ''​[[wp>​Apache Subversion|subversion]]'' ​(short: ''​svn''​). If you want to obtain their source-code,​ you need to install ​svn as well:<​code bash> 
-sudo apt-get install ​git-core</​code>​ +sudo apt-get install ​subversion</​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 build tools see ''​[[man>​make]]''​ and [[http://​packages.debian.org/​wheezy/​build-essential|build-essential]]      * for information about the build tools see ''​[[man>​make]]''​ and [[http://​packages.debian.org/​wheezy/​build-essential|build-essential]]
      * for information about git see ''​[[man>​git(7)]]''​      * for information about git see ''​[[man>​git(7)]]''​
-  ​- Download the OpenWrt bleeding edge with ''​svn''​ (//see [[#​Downloading Sources]] for more options!//​):<​code bash> ​ +     * for information about the subversion tool see ''​[[man>​svn]]''​ and [[http://​svnbook.red-bean.com/​index.en.html|subversion documentation (multiple languages)]] 
-mkdir ~/openwrt +  ​- Download the OpenWrt bleeding edge with ''​git''​ (//see [[#​Downloading Sources]] for more options!//​):<​code bash>
-cd ~/openwrt+
 git clone git://​git.openwrt.org/​openwrt.git git clone git://​git.openwrt.org/​openwrt.git
-</​code>​ <​HTML><​p style="​font-size:​small">​this creates a directory '​openwrt',​ 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>​ <​HTML><​p style="​font-size:​small">​this creates a directory '​openwrt',​ which is the OpenWrt Buildroot build-directory </​br>​the OpenWrt toolchain "​OpenWrt Buildroot"​ is included</​p></​HTML>​
   - (//​optional//​) Download and install all available "​feeds"​ (//see [[#​Downloading and Installing Feeds]] for more options!//​):<​code bash>   - (//​optional//​) Download and install all available "​feeds"​ (//see [[#​Downloading and Installing Feeds]] for more options!//​):<​code bash>
-cd ~/openwrt/openwrt+cd openwrt
 ./​scripts/​feeds update -a ./​scripts/​feeds update -a
-./​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>+./​scripts/​feeds install -a</​code>​
   - Make OpenWrt Buildroot check for missing packages on your build-system using one of the following commands:<​code bash>   - Make OpenWrt Buildroot check for missing packages on your build-system using one of the following commands:<​code bash>
 make defconfig make defconfig
Line 46: Line 46:
 Here's a table with the package name for each prerequisite separated for different GNU/Linux and Unix like distributions. Here's a table with the package name for each prerequisite separated for different GNU/Linux and Unix like distributions.
  
-^ Prerequisite ^ Debian ^ Suse ^ Red Hat ^ OS X (via MacPorts) ^ Fedora ^ NetBSD ^ Arch ^ +^ Prerequisite ^ Debian ^ SUSE ^ Red Hat ^ OS X (via MacPorts) ^ Fedora ^ NetBSD ^ Arch ^ Gentoo ​
-| asciidoc ​        | asciidoc| asciidoc| asciidoc| asciidoc | asciidoc| ?| asciidoc | +| asciidoc ​        | asciidoc| asciidoc| asciidoc| asciidoc | asciidoc| ?| asciidoc | app-text/asciidoc | 
-| [[wp>​Bash (Unix shell)|GNU Bash]] | bash |bash| bash | bash | bash| bash| bash|  +| [[wp>​Bash (Unix shell)|GNU Bash]] | bash |bash| bash | bash | bash| bash| bash| app-shells/bash | 
-| [[wp>​Bc_(programming_language)#​GNU_bc|GNU bc]] | [[http://​packages.debian.org/​jessie/​bc|bc]] | | | | | | bc| +| [[wp>​Bc_(programming_language)#​GNU_bc|GNU bc]] | bc| bc| | | bc| | bcsys-devel/bc | 
-| [[wp>GNU Binutils]] | binutils | binutils| binutils| binutils| binutils| ?| binutils| +| [[wp>GNU Binutils]] | binutils | binutils| binutils| binutils| binutils| ?| binutils| sys-devel/binutils | 
-| [[wp>​bzip2]] ​    | bzip2 | bzip2| bzip2| bzip2| bzip2| ?| bzip2| +| [[wp>​bzip2]] ​    | bzip2 | bzip2| bzip2| bzip2| bzip2| ?| bzip2| app-arch/bzip2 | 
-| fastjar ​         | fastjar|fastjar| libgcj| fastjar| libgcj| ?| fastjar| +| fastjar ​         | fastjar|fastjar| libgcj| fastjar| libgcj| ?| fastjar| app-arch/fastjar | 
-| [[wp>​flex lexical analyser|flex]] ​ | flex|flex| flex | flex| flex| ?| flex| +| [[wp>​flex lexical analyser|flex]] ​ | flex|flex| flex | flex| flex| ?| flex| sys-devel/flex | 
-| [[wp>Git (software)|git]] | git-core| git-core| git | git-core | git | ?| git| +| [[wp>Git (software)|git]] | git-core| git-core| git | git-core | git | ?| git| dev-vcs/git | 
-| [[wp>GNU C++ Compiler]] ​ | g++| gcc-c++| gcc-c++| ?| gcc-c++| ?| gcc | +| [[wp>GNU C++ Compiler]] ​ | g++| gcc-c++| gcc-c++| ?| gcc-c++| ?| gcc | sys-devel/gcc | 
-| [[wp>GNU C Compiler]] ​   | gcc| gcc| gcc| ?| gcc| ?| gcc| +| [[wp>GNU C Compiler]] ​   | gcc| gcc| gcc| ?| gcc| ?| gcc| sys-devel/gcc | 
-| getopt ​          | util-linux | util-linux | util-linux | getopt| util-linux | getopt| util-linux | +| getopt ​          | util-linux | util-linux | util-linux | getopt| util-linux | getopt| ​util-linux | sys-apps/util-linux | 
-| [[wp>GNU awk]]   | gawk| gawk| gawk| gawk| gawk| ?| gawk| +| [[wp>GNU awk]]   | gawk| gawk| gawk| gawk| gawk| ?| gawk| sys-apps/gawk | 
-| gtk2.0-dev ​      | libgtk2.0-dev| ​?| gtk2-devel| gtk2| gtk2-devel| ?| gtk2 | +| gtk2.0-dev ​      | libgtk2.0-dev| ​gtk2-devel| gtk2-devel| gtk2| gtk2-devel| ?| gtk2 | x11-libs/​gtk+ (?) 
-| intltool-update ​ | intltool| intltool| intltool| intltool| intltool| ?| intltool | +| intltool-update ​ | intltool| intltool| intltool| intltool| intltool| ?| intltool | dev-util/intltool | 
-| jikes            | [[http://​packages.debian.org/​jessie/​jikespg|jikespg]] | jikes| ?| jikes| ---| ?| [[https://​aur.archlinux.org/​packages/​jikes/​|aur/​jikes]] | +| jikes            | [[http://​packages.debian.org/​jessie/​jikespg|jikespg]] | jikes| ?| jikes| ---| ?| [[https://​aur.archlinux.org/​packages/​jikes/​|aur/​jikes]] ​| dev-java/​jikes ​
-| libz, libz-dev ​  | zlib1g-dev | zlib-devel| zlib-devel| zlib| zlib-devel| ?| zlib | +| libz, libz-dev ​  | zlib1g-dev | zlib-devel| zlib-devel| zlib| zlib-devel| ?| zlib | sys-libs/​zlib | 
-| make             | make | make| make | gmake| make| gmake| make | +| Mercurial / hg   | | mercurial| | | hg | | | 
-| mkisofs ​         | genisoimage | ?| ?| ?| ?| ?| cdrkit | +| make             | make | make| make | gmake| make| gmake| ​make | sys-devel/make | 
-| [[wp>​ncurses]] ​  | libncurses5-dev| ncurses-devel| ncurses-devel| ncurses| ncurses-devel| ?| ncurses | +| mkisofs ​         | genisoimage | genisoimage| ?| ?| genisoimage| ?| cdrkit ​| app-cdr/​cdrtools ​
-| openssl/​ssl.h ​   | libssl-dev| libopenssl-devel| openssl-devel| openssl| openssl-devel| ?| openssl | +| [[wp>​ncurses]] ​  | libncurses5-dev| ncurses-devel| ncurses-devel| ncurses| ncurses-devel| ?| ncurses | sys-libs/ncurses | 
-| patch| patch     | patch | patch | patchutils| patch| ?| patch | +| openssl/​ssl.h ​   | libssl-dev| libopenssl-devel| openssl-devel| openssl| openssl-devel| ?| openssl | dev-libs/openssl | 
-| perl-ExtUtils-MakeMaker| perl-modules | perl-ExtUtils-MakeMaker| perl-ExtUtils-MakeMaker| p5-extutils-makemaker| perl-ExtUtils-MakeMaker| ?| perl-extutils-makemaker | +| patch| patch     | patch | patch | patchutils| patch| ?| patch | sys-devel/patch | 
-| python2.6-dev ​   | python2.6-dev | python-devel| ?| python26| python-devel | ?| python2 | +| perl-ExtUtils-MakeMaker| perl-modules | perl-ExtUtils-MakeMaker| perl-ExtUtils-MakeMaker| p5-extutils-makemaker| perl-ExtUtils-MakeMaker| ?| perl-extutils-makemaker ​| virtual/​perl-ExtUtils-MakeMaker ​
-| rsync            | rsync| rsync| rsync | rsync| rsync| ?| rsync | +| python2.6-dev ​   | python2.6-dev | python-devel| ?| python26| python-devel | ?| python2 ​| dev-lang/​python ​
-| ruby             | ruby| ruby | ?| ruby| ruby| ?| ruby | +| rsync            | rsync| rsync| rsync | rsync| rsync| ?| rsync | net-misc/rsync | 
-| sdcc             | sdcc| sdcc| sdcc| sdcc| sdcc| ?| sdcc | +| ruby             | ruby| ruby | ?| ruby| ruby| ?| ruby | dev-lang/ruby | 
-| unzip            | unzip| unzip| unzip| unzip| unzip| ?| unzip | +| sdcc             | sdcc| sdcc| sdcc| sdcc| sdcc| ?| sdcc | dev-embedded/​sdcc | 
-| [[wp>GNU Wget]] ​ | wget | wget| wget| wget| wget| ?| wget | +| unzip            | unzip| unzip| unzip| unzip| unzip| ?| unzip | app-arch/unzip | 
-| working-sdcc     +| [[wp>GNU Wget]] ​ | wget | wget| wget| wget| wget| ?| wget | net-misc/​wget ​
-| xgettext ​        | gettext| ​?| gettext | gettext| gettext| ?| gettext | +| xgettext ​        | gettext| ​gettext-tools| gettext | gettext| gettext| ?| gettext | sys-devel/gettext | 
-| xsltproc ​        | xsltproc| libxslt| ?| libxslt| libxslt| ?| libxslt | +| xsltproc ​        | xsltproc| libxslt-tools| ?| libxslt| libxslt| ?| libxslt | dev-libs/libxslt | 
-| zlib, zlib-static| zlib1g-dev| zlib-devel| zlib-devel | zlib-devel| zlib-devel | ?| zlib |+| zlib, zlib-static| zlib1g-dev| zlib-devel| zlib-devel | zlib-devel| zlib-devel | ?| zlib | sys-libs/zlib |
  
 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 ^ Arch ^ +^ Package ^ Prerequisite ^ Debian ^ SUSE ^ Red Hat ^ OS X ^ Fedora ^ NetBSD ^ Arch ^ Gentoo ​
-| boost    | bjam / boost-jam ​  | libboost1.53-dev ​  | | | | boost-jam || boost | +| boost    | bjam / boost-jam ​  | libboost1.53-dev ​  | | | | boost-jam || boost | dev-util/​boost-build ​
-| intltool | [Perl] XML::Parser | libxml-parser-perl | | perl-XML-Parser | | perl-XML-Parser | | intltool | +| intltool | [Perl] XML::Parser | libxml-parser-perl | | perl-XML-Parser | | perl-XML-Parser | | intltool ​| dev-perl/​XML-Parser ​
-| libftdi ​ | libusb-config ​     | libusb-dev | | | | | | libusb | +| libftdi ​ | libusb-config ​     | libusb-dev | | | | libusb-devel ​| | libusb ​| dev-libs/​libusb-compat ​
-| lilo     | as86,​ld86 ​         | bin86 | | | | | | bin86 | +| lilo     | as86,​ld86 ​         | bin86 | | | | dev86 | | bin86 | sys-devel/bin86 | 
-| lilo     | bcc                | bcc | | | | | | [[https://​aur.archlinux.org/​packages/​bcc/​|aur/​bcc]] | +| lilo     | bcc                | bcc | | | | dev86 | | [[https://​aur.archlinux.org/​packages/​bcc/​|aur/​bcc]] ​| sys-devel/​dev86 ​
-| lilo     | uudecode ​          | sharutils | | | | | | sharutils | +| lilo     | uudecode ​          | sharutils | | | | sharutils ​| | sharutils | app-arch/sharutils | 
-| classpath| javac, gcj         | openjdk-7-jdk | | | | | | jdk7-openjdk | +| classpath| javac, gcj         | openjdk-7-jdk | | | | java-1.7.0-openjdk-devel ​| | jdk7-openjdk ​| dev-java/​icedtea-bin,​ dev-java/​oracle-jdk-bin,​ USE="​gcj"​ sys-devel/​gcc ​
-| mac80211 | b43-fwcutter ​      | | | | | | | b43-fwcutter |+| mac80211 | b43-fwcutter ​      | | | | | b43-fwcutter ​| | b43-fwcutter ​| net-wireless/​b43-fwcutter | 
 +| jamvm    | zip                | | | | | zip | | | |
  
 ==== Examples of Package Installations ==== ==== Examples of Package Installations ====
-  * **Debian 5 Lenny:**<​code>​apt-get install ​gawk ncurses-dev unzip zlib1g-dev</​code>​+  * **Arch Linux**<​code>​pacman ​-S --needed subversion asciidoc bash bc binutils bzip2 fastjar flex git gcc util-linux ​gawk intltool zlib make cdrkit ​ncurses ​openssl patch perl-extutils-makemaker rsync sdcc unzip wget gettext libxslt boost libusb bin86 sharutils b43-fwcutter findutils</​code>​
   * **Debian 6 Squeeze:​**<​code>​apt-get install libncurses5-dev zlib1g-dev gawk flex libssl-dev sdcc-nf</​code>​   * **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 7 Wheezy:​**<​code>​apt-get install libncurses5-dev zlib1g-dev gawk</​code>​
-  * **Ubuntu 13.10:**<​code>​sudo apt-get ​install ​build-essential ​subversion git-core ​libncurses5-dev zlib1g-dev gawk flex quilt xsltproc</​code>​+  * **Fedora 20 - 64Bit** (Maybe also for lower versions, some packages seem to be missing above):<​code>​yum install -subversion ​binutils bzip2 gcc gcc-c++ gawk gettext flex ncurses-devel zlib-devel make patch unzip perl-ExtUtils-MakeMaker \ 
 + glibc glibc-devel glibc-static quilt ncurses-lib sed sdcc intltool sharutils bison wget</​code>​ 
 +  * **openSUSE 13.2**<​code>​zypper install asciidoc bash bc binutils bzip2 fastjar flex git-core ​gcc-c++ gcc util-linux gawk gtk2-devel intltool jikes zlib-devel mercurial make genisoimage ncurses-devel libopenssl-devel patch perl-ExtUtils-MakeMaker python-devel rsync ruby sdcc unzip wget gettext-tools libxslt-tools zlib-devel subversion</​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 mercurial bzr ecj cvs unzip</​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 mercurial bzr ecj cvs unzip</​code>​
   * **Ubuntu 64bit:​**<​code>​sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext</​code>​   * **Ubuntu 64bit:​**<​code>​sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext</​code>​
-  * **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</​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 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>​ 
-  * **Fedora 19 - 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 ncurses-devel zlib-devel make patch unzip perl-ExtUtils-MakeMaker \ 
- glibc glibc-devel glibc-static quilt ncurses-lib sed sdcc intltool sharutils bison wget</​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>​ 
-  * **Arch Linux**<​code>​pacman -S --needed asciidoc bash bc binutils bzip2 fastjar flex git gcc util-linux gawk intltool zlib make cdrkit ncurses openssl patch perl-extutils-makemaker rsync sdcc unzip wget gettext libxslt zlib boost libusb bin86 sharutils b43-fwcutter findutils</​code>​ 
  
-===== Downloading Sources ​===== +==== Known variants to be broken ​====
-(see [[https://​dev.openwrt.org/​wiki/​GetSource]]) You can either check out the OpenWrt source code via git or svn.+
  
-==== GIT ==== +  * **alpine linux** uses musl as libc replacement. Some host tools fail to compile (mtd-utils, e2fsprogs). Detection possibly has to be overridden (gcc -dumpmachine outputs a result where some scripts will fail - tools/sed)
-The recommended way of checking out the OpenWrt source code is cloning the Git repository using one of the following commands:+
  
-=== trunk (main development tree) === 
-The development branch (trunk) contains everything from documentation to <color yellow>​**//​experimental//​**</​color>​ <color red>​**//​patches//​**</​color>​. 
-== Main repository == 
  
-<code bash>git clone git://​git.openwrt.org/​openwrt.git</​code>​ +===== Downloading Sources ​=====
- +
-== Packages feed == +
- +
-<code bash>git clone git://​git.openwrt.org/​packages.git</​code>​ +
- +
-=== 12.09 branch (Attitude Adjustment) ​=== +
- +
-== Main repository == +
-<code bash>git clone git://​git.openwrt.org/​12.09/​openwrt.git</​code>​ +
- +
-== Packages feed == +
- +
-<code bash>git clone git://​git.openwrt.org/​12.09/​packages.git</​code>​ +
- +
-=== Check out certain revision === +
-git commits are tagged with SVN ids. +
-<code bash>git log --grep=<​svn id></​code>​+
  
 ==== SVN ==== ==== SVN ====
Line 141: Line 115:
 The development branch (trunk) contains everything from documentation to <color yellow>​**//​experimental//​**</​color>​ <color red>​**//​patches//​**</​color>​. The development branch (trunk) contains everything from documentation to <color yellow>​**//​experimental//​**</​color>​ <color red>​**//​patches//​**</​color>​.
 <code bash>svn co svn://​svn.openwrt.org/​openwrt/​trunk/</​code>​ <code bash>svn co svn://​svn.openwrt.org/​openwrt/​trunk/</​code>​
 +
 +
 +=== 14.07 branch "​Barrier Breaker"​ ===
 +<code bash>svn co svn://​svn.openwrt.org/​openwrt/​branches/​barrier_breaker</​code>​
  
  
Line 172: Line 150:
  
  
 +==== GIT ====
 +cloning the Git repository using one of the following commands:
  
-==== Downloading and Installing Feeds ===== +=== trunk (main development tree) === 
-{{tag>wip} +The development branch (trunk) contains everything from documentation to <color yellow>**//​experimental//​**</color<color red>**//patches//**</color>
-->​[[doc:​devel:​feeds]] +== Main repository ==
-  ​to install only individual packages: ​<code bash>./scripts/feeds install PACKAGENAME</code>+
  
-**Problem downloading and installing feeds ? If yes follow below...**+<code bash>git clone git://git.openwrt.org/openwrt.git</​code>​
  
-1 Open your directory where you have downloaded openwrt source using git or svn ...+== Packages feed ==
  
-2 Edit feeds.conf.default+<code bash>git clone git://git.openwrt.org/​packages.git</​code>​
  
-3 Comment below+=== 14.07 branch (Barrier Breaker) ===
  
-src-svn packages svn://svn.openwrt.org/​openwrt/​branches/​packages_10.03.2 svn://svn.openwrt.org/openwrt/packages+== Main repository == 
 +<code bash>git clone git://git.openwrt.org/​14.07/openwrt.git</code>
  
-src-svn luci http://​svn.luci.subsignal.org/​luci/​branches/​luci-0.10/​contrib/​package+== Packages feed ==
  
-4 Copy Below and Save+<code bash>git clone git://​git.openwrt.org/​14.07/​packages.git</​code>​
  
-src-git packages http://git.openwrt.org/​10.03/​packages.git http://​git.openwrt.org/​packages.git+=== 12.09 branch (Attitude Adjustment) ===
  
-src-git luci http://​git.openwrt.org/​project/luci.git+== Main repository == 
 +<code bash>git clone git://​git.openwrt.org/​12.09/openwrt.git</​code>​
  
-5 ./​scripts/​feeds update -a+== Packages feed ==
  
-./​scripts/​feeds install -a+<code bash>git clone git://​git.openwrt.org/​12.09/​packages.git</​code>​ 
 + 
 +=== Check out certain revision === 
 +git commits are tagged with SVN ids. 
 +<code bash>git log --grep=<​svn id></​code>​ 
 + 
 +==== Downloading and Installing Feeds ===== 
 +{{tag>​wip}} 
 + 
 +See ->​[[doc:​devel:​feeds]] 
 + 
 +  * to install only individual packages: <code bash>​./​scripts/​feeds install PACKAGENAME</​code>​ 
 + 
 +**Problem downloading and installing feeds ? If yes follow below...** 
 + 
 +  - Open your directory where you have downloaded openwrt source using git or svn ... 
 +  - Edit ''​feeds.conf.default''​ 
 +  - Comment below lines\\ <​code>​ 
 +src-svn packages svn://​svn.openwrt.org/​openwrt/​branches/​packages_10.03.2 svn://​svn.openwrt.org/​openwrt/​packages 
 +src-svn luci http://​svn.luci.subsignal.org/​luci/​branches/​luci-0.10/​contrib/​package </​code>​ 
 +  - Copy below lines and save\\ <​code>​ 
 +src-git packages http://​git.openwrt.org/​10.03/​packages.git http://​git.openwrt.org/​packages.git 
 +src-git luci http://​git.openwrt.org/​project/​luci.git</​code>​ 
 +  - ''​./​scripts/​feeds update -a''​ 
 +  - ''​./​scripts/​feeds install -a''​
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
doc/howto/buildroot.exigence.1393669199.txt.bz2 · Last modified: 2014/03/01 11:19 by brian