update
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# openwrt-stable
|
||||
|
||||
## 介绍
|
||||
|
||||
openwrt-stable 是基于 openwrt 官方源码构建的固件,适用于 x86、arm、mipsel、mips、ppc、ppc64、aarch64、sparc、sparc64 等架构。
|
||||
|
||||
## 准备工作
|
||||
|
||||
创建 bin 文件夹
|
||||
|
||||
```bash
|
||||
mkdir ./bin
|
||||
|
||||
chmod 777 ./bin
|
||||
```
|
||||
|
||||
## 编译固件
|
||||
|
||||
开始编译固件
|
||||
|
||||
```bash
|
||||
bash docker-build.sh
|
||||
```
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
PACKAGES=""
|
||||
PACKAGES="$PACKAGES -dnsmasq"
|
||||
PACKAGES="$PACKAGES dnsmasq-full"
|
||||
PACKAGES="$PACKAGES curl"
|
||||
PACKAGES="$PACKAGES luci"
|
||||
PACKAGES="$PACKAGES luci-i18n-base-zh-cn"
|
||||
PACKAGES="$PACKAGES luci-i18n-firewall-zh-cn"
|
||||
PACKAGES="$PACKAGES luci-i18n-opkg-zh-cn"
|
||||
|
||||
make image PACKAGES="$PACKAGES" ROOTFS_PARTSIZE="512"
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --rm -it \
|
||||
-v ./bin:/builder/bin \
|
||||
-v ./files:/builder/files \
|
||||
-v ./build.sh:/builder/build.sh \
|
||||
openwrt/imagebuilder:x86-64-23.05.5 /builder/build.sh
|
||||
Reference in New Issue
Block a user