Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kfermercer/openwrt-preset
OpenWrt preset schemes.
https://github.com/kfermercer/openwrt-preset
Last synced: 1 day ago
JSON representation
OpenWrt preset schemes.
- Host: GitHub
- URL: https://github.com/kfermercer/openwrt-preset
- Owner: KFERMercer
- License: gpl-3.0
- Created: 2024-05-01T01:45:09.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-06T10:06:58.000Z (6 months ago)
- Last Synced: 2024-05-07T09:58:14.458Z (6 months ago)
- Language: Dockerfile
- Size: 409 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenWrt preset schemes.
- Simple.
- Pro.
- Less is more.## Usage:
### Docker (recommended):
0.
Install and run some Docker-like shit.1.
```shell
docker build -t openwrt-buildbot https://raw.githubusercontent.com/KFERMercer/openwrt-preset/master/buildbot.dockerfile
```2.
```shell
docker run -it --rm \
-e COREUSE="$(nproc)" \
-e OPENWRT_BRANCH="openwrt-23.05" \
-e PRESET_ARCH="x86_64" \
-v /path/to/workdir:/work \
openwrt-buildbot
```
for loongarch64:
```shell
docker run -it --rm \
-e COREUSE="$(nproc)" \
-e OPENWRT_BRANCH="master" \
-e PRESET_ARCH="loongarch64" \
-v /path/to/workdir:/work \
openwrt-buildbot
```### Host (if you're a dirty dog):
0.
[Get dependencies.](https://openwrt.org/docs/guide-developer/toolchain/install-buildsystem)1.
```shell
git clone https://github.com/immortalwrt/immortalwrt.git --depth=1 -b openwrt-23.05 && cd immortalwrt./scripts/feeds update -a
```2.
```shell
git clone https://github.com/KFERMercer/openwrt-preset.git --depth=1
```3.
```shell
for i in $(ls ./openwrt-preset/immortalwrt/openwrt-23.05/patches/); do patch -p1 -N --verbose --reject-file=/dev/null < ./openwrt-preset/immortalwrt/openwrt-23.05/patches/$i; done
```4.
```shell
./scripts/feeds install -a
```5.
```shell
cat ./openwrt-preset/immortalwrt/openwrt-23.05/x86_64.config > ./.configmake defconfig
```6.
```shell
make -j$(nproc) || make -j1 V=s
```