Build OpenWRT and flash/upgrade devices

bryan d22d21148c Implement per-profile modes 1 день назад
.gitignore 4b66de068b Refactor worktree code 2 дней назад
README.md 1e88f1b912 Revert to serial debug 2 дней назад
openwrtbuilder d22d21148c Implement per-profile modes 1 день назад
profiles d22d21148c Implement per-profile modes 1 день назад

README.md

openwrtbuilder

Build and deploy OpenWRT images using convenient shell-style device profiles.

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
  Uses git worktree for multi-profile deduplication
--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
--depends
  Force dependency installation
  Ignores .dependencies files
--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

Find openwrtbuilder useful? Paypal me a coffee!

↓ ↓ ↓ Bitcoin ↓ ↓ ↓

Bitcoin