- x86_64 platform
- ubuntu or other linux
- You need to install necessary software
$ sudo apt-get update
$ sudo apt-get install subversion build-essential git-core libncurses5-dev
zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial
bzr ecj cvs unzip git wget
$ git clone https://github.com/gl-inet/lede-imagebuilder-ramips-mt7628.git
$ cd lede-imagebuilder-ramips-mt7628
You can change images.json file to install or remove packages for your
preference. Note that "-pkgname" in the package list means remove "pkgname"
from the package list.
We can use gl_image utility to create image quickly. You can issue
gl_image --help
for help.
Stoke firmware:
$ ./gl_image
Clean firmware with files directory and custom packages:
$ ./gl_image -t clean -p '-wpad-mini wpad' -f ./files
Available image or profile is listed in images.json.