Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 927 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 927 Bytes

build-openwrt

This subproject of easy-build provides a quick and easy way for creating an OpenWrt image.

Building the Docker image

$ cd easy-build/openwrt

Copy your local patches, custom scripts, etc to easy-build/openwrt/build.local, then invoke the build.sh script:

$ ./build.sh

Running the container

You may use the run.sh script which will restart the container if it exists, otherwise it will create and run a new one using the corresponding Docker image:

$ ./run.sh

When logged as root@container

root@029a53d8cd99:/# su - build

then proceed as explained in the OpenWrt documentation.

For a complete example you may refer to the following pages