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/0057ab693ae8929eac08 to your computer and use it in GitHub Desktop.
Save elecnix/0057ab693ae8929eac08 to your computer and use it in GitHub Desktop.
OpenWrt Trunk (Barrier Breaker) / ramips / rt305x ImageBuilder PROFILE=XDXRN502J 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/snapshots/trunk/ramips/OpenWrt-ImageBuilder-ramips_rt305x-for-linux-x86_64.tar.bz2
#wget --continue --quiet http://localhost/downloads.openwrt.org/snapshots/trunk/ramips/OpenWrt-ImageBuilder-ramips_rt305x-for-linux-x86_64.tar.bz2
#tar -jxf OpenWrt-ImageBuilder-ramips_rt305x-for-linux-x86_64.tar.bz2
cd OpenWrt-ImageBuilder-ramips_rt305x-for-linux-x86_64
#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=XDXRN502J PACKAGES="kmod-ipv6 ip radvd tcpdump-mini ip6tables iperf babeld tinc wireless-tools luci -kmod-rt2800-pci" FILES="../reseaulibre-feed/reseaulibre-mesh/files/"
rsync --partial -r bin/ramips /var/www/rlbuild/bb/
rsync --partial -r packages /var/www/rlbuild/bb/ramips/
cat ../reseaulibre-feed/.git/refs/heads/master > /var/www/rlbuild/bb/ramips/reseaulibre-feed.commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment