Build OpenWRT and flash/upgrade devices

bryan 94da35b60e Profiles: reduce custom part sizes to speed up sysupgrade 11 tháng trước cách đây
.vscode bd8a102b4d Refactor 2 năm trước cách đây
.gitignore 80779c9f2d Skip dependency check for lockfile 1 năm trước cách đây
README.md 0e4496d2d4 Regenerate the feed index 1 năm trước cách đây
openwrtbuilder d2f17da948 Disable pager for --yes mode 11 tháng trước cách đây
openwrtbuilder.code-workspace 57f48e89e0 Update workspace settings 2 năm trước cách đây
profiles 94da35b60e Profiles: reduce custom part sizes to speed up sysupgrade 11 tháng trước cách đây

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: location of openwrtbuilder script
--source
    Build image from source, not from Image Builder
    Allows make config options to be passed
--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
--debug,-d
--help,-h

Profiles

See ./profiles for example device profile definitions.

Examples

  • ./openwrtbuilder -p r4s -r snapshot --debug
  • ./openwrtbuilder -p ax6000 -r 22.03.3 --source --debug
  • ./openwrtbuilder -p rpi4 -r 22.03.3 --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!