/gist:162cb4cefe5f71a29031 Secret
Last active
August 29, 2015 14:22
lime-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd build | |
git clone --depth 1 git://git.openwrt.org/14.07/openwrt.git | |
cp openwrt/feeds.conf.default openwrt/feeds.conf | |
cd openwrt | |
echo "src-git lime https://github.com/libre-mesh/lime-packages.git;develop" >> feeds.conf | |
echo "src-git libremap git://github.com/libremap/libremap-agent-openwrt.git" >> feeds.conf | |
## Add config file | |
wget -O .config https://gist.githubusercontent.com/encrypt94/cdbc0051b7a5cae4bf41/raw/76e5b20355a1b05a323a53f800fc62c33e54094b/raw | |
## Install feeds | |
make clean | |
git pull | |
rm -rf feeds/lime | |
rm -rf feeds/libremap | |
scripts/feeds update -a | |
scripts/feeds install -a | |
wget -O .config https://gist.githubusercontent.com/encrypt94/cdbc0051b7a5cae4bf41/raw/76e5b20355a1b05a323a53f800fc62c33e54094b/raw | |
## Make config | |
yes "" | make oldconfig | |
make -j 5 V=s | |
cp -R ./bin /build | |
rm -rf /build/openwrt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment