- Download it with wget or curl
- use
chmod a+xon the shell script - run the script
In this version the script only works for the FFNord Community!
| #!/bin/sh | |
| sudo apt-get install -y git make gcc g++ unzip libncurses5-dev zlib1g-dev subversion gawk bzip2 libssl-dev | |
| git clone https://github.com/freifunk-gluon/gluon.git gluon-0.16.5 | |
| cd gluon-0.16.5 | |
| git pull | |
| git checkout v2016.1.x | |
| git clone https://github.com/ffnord/site-nord.git site | |
| cd site | |
| git pull | |
| git checkout v2016.1.5 | |
| cd .. | |
| git clone git://github.com/freifunkhamburg/ffhh-packages.git | |
| mv ffhh-packages/* packages/ | |
| rm -Rf ffhh-packages | |
| make update | |
| OPTIONS="BROKEN=1 DEFAULT_GLUON_RELEASE=0.16.5~ownbuild$(date '+%Y%m%d%H%M') V=s" | |
| CORES=$(lscpu|grep -e '^CPU(s):'|xargs|cut -d" " -f2) | |
| for TARGET in ar71xx-generic ar71xx-nand mpc85xx-generic; do | |
| echo "################# $(date) start building target $TARGET ###########################" | |
| make -j$CORES GLUON_TARGET=$TARGET $OPTIONS || exit 1 | |
| done | |
| cd .. | |
| echo "Images are located in gluon_ownbuild/output/*" |
| #!/bin/sh | |
| sudo apt-get install -y git make gcc g++ unzip libncurses5-dev zlib1g-dev subversion gawk bzip2 libssl-dev | |
| git clone https://github.com/freifunk-gluon/gluon.git | |
| cd gluon | |
| git pull | |
| git checkout v2015.1.x | |
| git clone https://github.com/ffnord/site-nord.git site | |
| cd site | |
| git pull | |
| git checkout master | |
| cd .. | |
| make update | |
| X=$(lscpu|grep -e '^CPU(s):'|xargs|cut -d" " -f2) | |
| make -j$X V=s | |
| cd .. | |
| echo "Images are located in gluon/images/*" |
| #!/bin/sh | |
| sudo apt-get install -y git make gcc g++ unzip libncurses5-dev zlib1g-dev subversion gawk bzip2 libssl-dev | |
| git clone https://github.com/freifunk-gluon/gluon.git gluon-0.8 | |
| cd gluon_exp | |
| git pull | |
| git checkout 2016.1.x | |
| git clone https://github.com/ffnord/site-nord.git site | |
| cd site | |
| git pull | |
| git checkout 2016.1 | |
| cd .. | |
| make update | |
| OPTIONS="BROKEN=1 DEFAULT_GLUON_RELEASE=0.8~exp$(date '+%Y%m%d%H%M') V=s" | |
| CORES=$(lscpu|grep -e '^CPU(s):'|xargs|cut -d" " -f2) | |
| for TARGET in ar71xx-generic ar71xx-nand mpc85xx-generic; do | |
| echo "################# $(date) start building target $TARGET ###########################" | |
| make -j$CORES GLUON_TARGET=$TARGET $OPTIONS || exit 1 | |
| done | |
| cd .. | |
| echo "Images are located in gluon_exp/output/*" |
| #!/bin/sh | |
| sudo apt-get install -y git make gcc g++ unzip libncurses5-dev zlib1g-dev subversion gawk bzip2 libssl-dev | |
| git clone https://github.com/freifunk-gluon/gluon.git lede | |
| cd lede | |
| git pull | |
| git checkout lede | |
| git clone https://github.com/ffnord/site-nord.git site | |
| cd site | |
| git pull | |
| git checkout v2016.1.6 | |
| cd .. | |
| make update | |
| OPTIONS="BROKEN=1 DEFAULT_GLUON_RELEASE=lede~exp$(date '+%Y%m%d%H%M') V=s" | |
| CORES=$(lscpu|grep -e '^CPU(s):'|xargs|cut -d" " -f2) | |
| for TARGET in ar71xx-generic ar71xx-nand mpc85xx-generic; do | |
| echo "################# $(date) start building target $TARGET ###########################" | |
| make -j$CORES GLUON_TARGET=$TARGET $OPTIONS || exit 1 | |
| done | |
| cd .. | |
| echo "Images are located in gluon_exp/output/*" |