Files
Miguel FuertesandClaude Opus 4.6 e89f2c8bfb Replace git patch with portable shell script and parameterize OpenWrt version
- Convert enable_wcn36xx_mac80211.patch to apply_patches.sh (sed + heredoc)
  for cross-version compatibility (old patch moved to TBR/)
- GHA workflows auto-resolve latest OpenWrt 25.12.x tag via git ls-remote
- Unify build.yml and build-all.yml into single workflow with dynamic matrix
- Local dev (Dockerfile/docker-compose) defaults to main (snapshot)
- Remove target-specific APK feed on first boot (msm89xx not on downloads.openwrt.org)
- Make LuCI odhcpd fix conditional
- Update README with new build instructions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-31 16:52:14 +02:00

35 lines
885 B
YAML

services:
chown-fix:
image: alpine:latest
command: >
sh -c "chown -R 1000:1000 /home/builder/openwrt/dl /home/builder/openwrt/bin"
volumes:
- ../bin:/home/builder/openwrt/bin
- dl:/home/builder/openwrt/dl
user: root
restart: "no"
builder:
build:
context: ..
dockerfile: devenv/Dockerfile
args:
OPENWRT_VERSION: ${OPENWRT_VERSION:-main}
container_name: openwrt-builder
working_dir: /home/builder/openwrt
stdin_open: true
tty: true
volumes:
- ..:/repo
- ../packages:/home/builder/openwrt/package/msm8916
- ../msm89xx:/home/builder/openwrt/target/linux/msm89xx
- ../bin:/home/builder/openwrt/bin
- dl:/home/builder/openwrt/dl
command: ["/bin/bash"]
depends_on:
chown-fix:
condition: service_completed_successfully
volumes:
dl:
# build_dir: