Manifests and per-manifest configurations for use with for Google's 'repo' tool (from AOSP), and with the help of a custom 'post-sync' hook, setup an OpenWrt development tree for main OpenWrt, packages, luci, and other feeds.
It is automatically added Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca> |
||
|---|---|---|
| customization | ||
| include | ||
| per-manifest | ||
| 25.12-snapshot-bcm27xx-bcm2712.xml | ||
| default.xml | ||
| LICENSE | ||
| README.md | ||
| release-25.12.0-rc4-bcm27xx-bcm2712.xml | ||
| snapshot-bcm27xx-bcm2712.xml | ||
OpenWrt Repo Manifests
Daniel F. Dickinson's manifests and customization files for use with Google repo tool and a post-sync, to setup an OpenWrt development workspace.
Using this repo
Prerequisites
The post-sync hook depends on GitPython and zstandard. On Debian 13 (trixie) these can installed by executing:
apt install python3-git python3-zstandard
Initial checkout
- Create a directory for the workspace (e.g.
snapshot-bcm27xx-bcm2712) - Execute the following to use the default manifest (which is for OpenWrt SNAPSHOT builds for bcm27xx/bcm2712 -- Raspberry Pi 5).
mkdir snapshot-bcm27xx-bcm2712
cd snapshot-bcm27xx-bcm2712
repo init -u https://gitlab.com/dfd-web/firmware/openwrt-mirrors/openwrt-repo-manifest -m default.xml --no-git-lfs
repo sync --verify
For other targets or versions of OpenWrt use the appropriate manifest. They should be clearly labelled.
Sync with changes
- If you want an updated SDK and ImageBuilder, remove
openwrt-sdkandopenwrt-ibdirectories repo sync --verify
Adding targets and versions
If you wish to add more targets of versions of OpenWrt, you need to do the following:
- Update the manifest repo (the one containing this README) by adding
per-manifest/<version>/<target>/<version>-<target>.sdkandper-manifest/<version>/<target>/<version>-<target>.sdkwith URI of the SDK and ImageBuilder, respectively, for the target and version you are adding. - If needed, add openwrt configuration (e.g.
feeds.conf) for the target version to (e.g.)per-manifest/<version>/feeds.conf. - Update this repo https://gitlab.com/dfd-web/firmware/openwrt-mirrors/openwrt-repo-manifest with an appropriately named and modified XML manifest. (Copying and modifying an existing manifest is recommended).