Skip to content

Instantly share code, notes, and snippets.

@elecnix
Created October 18, 2014 17:39
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 elecnix/7d148a072c4738df2166 to your computer and use it in GitHub Desktop.
Save elecnix/7d148a072c4738df2166 to your computer and use it in GitHub Desktop.
OpenWrt 12.09 / ramips / rt305x ImageBuilder with reseaulibre-feed/reseaulibre-mesh/files output to /var/www/rlbuild/
# Get the R-L custom scripts
#git clone https://git.gitorious.org/reseau-libre-openwrt/reseaulibre-feed.git
cd reseaulibre-feed
git pull
cd ..
# Update the list of ethers from the wiki
wget -O - http://wiki.reseaulibre.ca/documentation/ethers/ | grep -E [0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2} > reseaulibre-feed/reseaulibre-mesh/files/etc/ethers
# wget http://downloads.openwrt.org/attitude_adjustment/12.09/ramips/rt305x/OpenWrt-ImageBuilder-ramips_rt305x-for-linux-i486.tar.bz2
wget --continue --quiet http://localhost/OpenWrt-ImageBuilder-ramips_rt305x-for-linux-i486.tar.bz2
tar -jxf OpenWrt-ImageBuilder-ramips_rt305x-for-linux-i486.tar.bz2
cd OpenWrt-ImageBuilder-ramips_rt305x-for-linux-i486
#make image PROFILE=Default PACKAGES="kmod-ipv6 ip radvd tcpdump ip6tables iperf babeld tinc wireless-tools luci luci-theme-bootstrap" FILES="../reseaulibre-feed/reseaulibre-mesh/files/"
make image PROFILE=Default PACKAGES="kmod-ipv6 ip radvd tcpdump-mini ip6tables iperf babeld tinc wireless-tools luci" FILES="../reseaulibre-feed/reseaulibre-mesh/files/"
rsync --partial -r bin/ramips /var/www/rlbuild/
rsync --partial -r packages /var/www/rlbuild/ramips/
cat ../reseaulibre-feed/.git/refs/heads/master > /var/www/rlbuild/ramips/reseaulibre-feed.commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment