You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
OpenWrt ImageBuilder
v5
Build and OpenWrt firmware image using Imagebuilder.
Use template repo: openwrt-imagebuilder-action-template
See action.yml from more details.
Parameters
image
: bcm27xx-bcm2711profile
: Defaultopenwrt-version
: 22.03.5packages
: -pppfiles
: test/filesdisabled-services
: dhcp
Outputs
./bin/*
- e.g.
./bin/squashfs-factory.img.gz
- e.g.
An example workflow creating a very basic (packages removed; custom files added) image and then running with Qemu
steps:
- uses: izer-xyz/openwrt-imagebuilder-action@v1
with:
image: bcm27xx-bcm2711
openwrt-version: 22.03.5
packages: -ppp
steps:
- uses: izer-xyz/openwrt-imagebuilder-action@v1
with:
image: bcm27xx-bcm2711
openwrt-version: 22.03.5
files: test/files
The Docker Hub Imagebuilder tags are formatted ${image}-${openwrt-version}
. E.g.
- bcm27xx-bcm2711-22.03.5
image
: bcm27xx-bcm2711openwrt-version
: 22.03.5
-
Run openwrt in Qemu
https://gist.github.com/extremecoders-re/f2c4433d66c1d0864a157242b6d83f67
https://fadeevab.com/how-to-setup-qemu-output-to-console-and-automate-using-shell-script/
The scripts and documentation in this project are released under the MIT License.