Skip to content

Instantly share code, notes, and snippets.

@encrypt94
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save encrypt94/162cb4cefe5f71a29031 to your computer and use it in GitHub Desktop.
Save encrypt94/162cb4cefe5f71a29031 to your computer and use it in GitHub Desktop.
lime-build
#!/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