/xiaomi-r3g-openwrt-builder

Image Generator for Xiaomi Router Gen 3G. Daily updated.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Build Status

Latest build

Homepage

Introduction

The OpenWRT project is supporting for the device Xiaomi Router Gen 3G. However, the snapshot build is a minimal version without WebUI and some common components like SAMBA, DLNA, OpenVPN, torrent,... To be updated to the latest build, it takes time to do some of the most boring tasks: flash the update, install my needed components. That's the reason for me to build this repository and make all thing be automated.

Read this if you are interesting:

  • The cheap but very powerful device: Xiaomi Router Gen 3G
  • Minimal OpenWRT Firmware download page
  • Padavan is providing support for this device also, take a look at prometheus if you are looking for another kind of firmware.

The docker image

Name: trinhpham/xiaomi-r3g-openwrt-builder

This is a build-automated docker image that has all needed build tools and libraries installed. This also includes github-release tool for the script build_mir3g.sh to automatic deploy new release files to Github

The Travis-CI build

You can view my automated build at travis-ci.org. This build calls the build script build_mir3g.sh inside a Docker container of Docker image above.

There are two notes if you'd like to fork my build:

  • You must pass the environment variable GITHUB_TOKEN for the github-release
  • Travis-CI.org doesn't support Docker volume mounting (except its Enterprise plan), so you cannot transfer neither source nor ouput files to/from the container. I chose to run all build task inside the Docker container, tell me if you have any better idea :)