Build OpenWRT and flash/upgrade devices

bryan 93a962a008 Use zstd extension for IB too před 1 týdnem
.gitignore 81c16f674c More housekeeping před 1 měsícem
README.md 6f6d92b659 Try to verify output file for stock builds před 1 měsícem
openwrtbuilder 93a962a008 Use zstd extension for IB too před 1 týdnem
profiles dcf9aaee84 Add back partition size desc před 2 týdny

README.md

openwrtbuilder

Sanely build and deploy OpenWRT images using the Image Builder or from source code.

Usage

openwrtbuilder [--option [VALUE]]... -p PROFILE [-p PROFILE]...

Options

--profile,-p PROFILE
--release,-r,--version,-v RELEASE ("snapshot", "22.03.3")
--buildroot,-b PATH (Default: script directory)
--source
  Build image from source, not from Image Builder
  Allows make config options to be passed in profile
--ssh-upgrade HOST
  Example: root@192.168.1.1
--ssh-backup SSH_PATH
  Enabled by default for --ssh-upgrade
--flash,-f DEVICE
  Example: /dev/sdX
--reset
  Cleanup all source and output files
  Can be combined with -p to reset a specific profile
--yes,-y
  Assume yes for all questions (automatic mode)
--debug,-d
--help,-h

Profiles

See ./profiles for example device profile definitions.

Examples

  • ./openwrtbuilder -p r4s -r snapshot --debug
  • ./openwrtbuilder -p ax6000 -r 23.05.5 --source --debug
  • ./openwrtbuilder -p rpi4 -r 23.05.5 --flash /dev/sdX
  • ./openwrtbuilder -p linksys -r snapshot --ssh-upgrade root@192.168.1.1

Additional Info

Did you find openwrtbuilder useful? Buy me a coffee!