a modular framework for creating OpenWrt-based firmwares for wireless mesh nodes
Go to file
2014-01-31 15:33:25 +01:00
include Use site code and release number for image version strings 2014-01-20 02:40:31 +01:00
kernel Update kernel config to 12.09 release 2013-10-08 20:23:15 +02:00
patches packages/routing: alfred: adjust intervals 2014-01-18 21:54:29 +01:00
scripts Add array support to the simple generate script (doesn't work with spaces) 2014-01-21 02:55:02 +01:00
.gitignore Nicer feed specification 2014-01-02 15:16:32 +01:00
LICENSE Move package submodules to packages/ 2013-10-09 19:58:28 +02:00
Makefile Fix generation of feeds.conf for site modules 2014-01-20 21:01:55 +01:00
modules Update gluon packages 2014-01-31 15:33:25 +01:00
README.md README.md: typo 2014-01-29 06:12:38 +01:00
TODO Add TODO file 2013-09-10 19:22:40 +02:00

To build Gluon, after checking out the repository change to the source root directory to perform the following commands:

git clone git://github.com/freifunk-gluon/site-ffhl.git site # Get the Freifunk Lübeck site repository - or use your own!
make update                                                  # Get other repositories used by Gluon
make                                                         # Build Gluon

When calling make, the OpenWRT build environment is prepared/updated. To rebuild the images only, just use:

make images

The built images can be found in the directory images.

For the build reserve 6GB of disk space. The building requires packages for subversion, ncurses headers (libncurses-dev) and zlib headers (libz-dev).`

There are three levels of make clean:

make clean

will only clean the Gluon-specific files;

make cleanall

will also call make clean on the OpenWRT tree, and

make dirclean

will do all this, and call make dirclean on the OpenWRT tree.

Development

Gluon IRC channel: #gluon in hackint

To update the repositories used by Gluon, just adjust the commit IDs in modules and rerun

make update

make update also applies the patches that can be found in the directories found in patches; the resulting branch will be called patched, while the commit specified in modules can be refered to by the branch base.

make unpatch

sets the repositories to the base branch,

make patch

re-applies the patches by resetting the patched branch to base and calling git am for the patch files. Calling make or a similar command after calling make unpatch is generally not a good idea.

After new patches have been commited on top of the patched branch (or existing commits since the base commit have been edited or removed), the patch directories can be regenerated using

make update-patches

If applying a patch fails because you have changed the base commit, the repository will be reset to the old patched branch and you can try rebasing it onto the new base branch yourself and after that call make update-patches to fix the problem.

Always call make update-patches after making changes to a module repository as make update will overwrite your commits, making git reflog the only way to recover them!