Skip to content

aparcar/openwrt-rebuilder

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

OpenWrt rebuilder

pipeline status CI

Rebuild and verify binaries released by OpenWrt.org.

Running

Be sure to have all default OpenWrt building dependencies installed. To run the rebuilder simply type the following command:

openwrt-rebuilder

The following env variables are possible to change the rebuilders behavior:

# target to be build
TARGET # default: "ath79/generic"

# version to be build
VERSION # default:  "SNAPSHOT"

# branch to be build
BRANCH # default:  "master"

# where to build OpenWrt
REBUILD_DIR # default:  Path.cwd() / "openwrt"

# where to find the origin builds
ORIGIN_URL # default:  "https://downloads.cdn.openwrt.org"

# where to get the openwrt source git
OPENWRT_GIT # default:  "https://github.com/openwrt/openwrt.git"

# run diffoscope on unreproducible files
USE_DIFFOSCOPE # default:  False

# number of cores to use
j # default:  cpu_count() + 1

# where to store rendered html and diffoscope output
RESULTS_DIR # default:  Path.cwd() / "results"

For Diffoscope results it is possible to run the script within the Docker container aparcar/rebuild-diffoscope or install Diffoscope directly.

The output of the script is a single rbvf.json file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published