Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preinit Gitpod workspace #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tasks:
- init: |
source ./findReleaseInfo.sh xiaomi_mi-router-3g stable
docker pull openwrtorg/imagebuilder:${RELEASE_ARCH_SOC}-${RELEASE_VER}
command: echo "Ready for ${RELEASE_ARCH_SOC}-${RELEASE_VER}"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ There are some notes if you'd like to fork my build:
+ `arch_soc.txt` contains your device architecture and System on Chip model
+ `modules.txt` contains list modules you want to pack into this custom build
+ For example, download URL of my device looks like [.../openwrt-21.02.2-ramips-mt7621-xiaomi_mi-router-3g-squashfs-rootfs0.bin](https://downloads.openwrt.org/releases/21.02.2/targets/ramips/mt7621/openwrt-21.02.2-ramips-mt7621-xiaomi_mi-router-3g-squashfs-rootfs0.bin), so its profile is `xiaomi_mi-router-3g`, arch is `ramips` and soc is `mt7621`

# Debug
- This project is ready for [![Open in Gitpod](https://img.shields.io/badge/Gitpod-Open-%230092CF.svg)](https://gitpod.io/#https://github.com/trinhpham/openwrt-custom-image-builder)
- Determine your needed arguments for your build or use command
```bash
source ./findReleaseInfo.sh xiaomi_mi-router-3g release
Expand Down