[Howto] Getting the OpenWrt trunk source and build it
Using subverion:
svn checkout https://svn.openwrt.org/openwrt/trunk/ ~/trunk/
cd ~/trunk/
./scripts/feeds update
./scripts/feeds install <pkg_name_1> <pkg_name_2> ... <pkg_name_N> # After installing the package (creates the symlink for you, you can select it in menuconfig)
make menuconfig # Choose your Target System/Subtarget/Target Profile and select packages/features
make world
To update the subversion repos do:
cd ~/trunk/
svn update
./scripts/feeds update
Using git:
At nbd.name there is a fast mirror. At least for me the checkout is faster then from openwrt.org.
git clone git://nbd.name/openwrt.git ~/trunk/
cd ~/trunk/
./scripts/feeds update # You have to change feeds.conf to use the git packages repo. See the patch below.
./scripts/feeds install <pkg_name_1> <pkg_name_2> ... <pkg_name_N> # After installing the package (creates the symlink for you, you can select it in menuconfig)
make menuconfig # Choose your Target System/Subtarget/Target Profile and select packages/features
make world
You also have to change feeds.conf to checkout the official packages repository from nbd.name like this:
diff --git a/feeds.conf b/feeds.conf
index b3103a2..a76c691 100644
--- a/feeds.conf
+++ b/feeds.conf
@@ -1,2 +1,3 @@
-src-svn packages https://svn.openwrt.org/openwrt/packages
+src-git packages git://nbd.name/packages.git
+# src-svn packages https://svn.openwrt.org/openwrt/packages
src-svn xwrt svn://svn.berlios.de/xwrt/trunk/package
To update the git repo do:
cd ~/trunk/
git pull
./scripts/feeds update
(Last edited by forum2008 on 7 Apr 2008, 14:00)