README: 20210408
This commit is contained in:
parent
783894d859
commit
c4113b5b8e
21
README.md
21
README.md
|
@ -3,7 +3,9 @@
|
||||||
![GitHub Stars](https://img.shields.io/github/stars/Hyy2001X/AutoBuild-Actions.svg?style=flat-square&label=Stars&logo=github)
|
![GitHub Stars](https://img.shields.io/github/stars/Hyy2001X/AutoBuild-Actions.svg?style=flat-square&label=Stars&logo=github)
|
||||||
![GitHub Forks](https://img.shields.io/github/forks/Hyy2001X/AutoBuild-Actions.svg?style=flat-square&label=Forks&logo=github)
|
![GitHub Forks](https://img.shields.io/github/forks/Hyy2001X/AutoBuild-Actions.svg?style=flat-square&label=Forks&logo=github)
|
||||||
|
|
||||||
测试通过的设备: `d-team_newifi-d2`、`x86_64(仅支持 img、img.gz 格式)`、以及使用 bin 格式固件的设备
|
测试通过的设备: `d-team_newifi-d2(bin)`、`x86_64(img、img.gz)`
|
||||||
|
|
||||||
|
测试通过的源码: `coolsnowwolf/lede:master`、`immortalwrt/immortalwrt:openwrt-18.06`
|
||||||
|
|
||||||
## Github Actions 部署指南(STEP 1):
|
## Github Actions 部署指南(STEP 1):
|
||||||
|
|
||||||
|
@ -21,8 +23,6 @@
|
||||||
|
|
||||||
其中`Name`项填写`GITHUB_TOKEN`,然后将你的 **Token** 粘贴到`Value`项,完成后点击`Add secert`
|
其中`Name`项填写`GITHUB_TOKEN`,然后将你的 **Token** 粘贴到`Value`项,完成后点击`Add secert`
|
||||||
|
|
||||||
**Github Actions 部署只需操作一次**
|
|
||||||
|
|
||||||
## 客制化固件(STEP 2):
|
## 客制化固件(STEP 2):
|
||||||
|
|
||||||
1. 进入你的`AutoBuild-Actions`仓库,**下方所有操作都将在你的`AutoBuild-Actions`仓库下进行**
|
1. 进入你的`AutoBuild-Actions`仓库,**下方所有操作都将在你的`AutoBuild-Actions`仓库下进行**
|
||||||
|
@ -31,13 +31,13 @@
|
||||||
|
|
||||||
3. 编辑`.github/workflows/*.yml`文件,修改`第 29 行 CONFIG_FILE:`为你上传的 '.config' 名称
|
3. 编辑`.github/workflows/*.yml`文件,修改`第 29 行 CONFIG_FILE:`为你上传的 '.config' 名称
|
||||||
|
|
||||||
|
4. 按照需求编辑`Scripts/AutoBuild_DiyScript.sh`文件的 **Firmware-Diy() 函数**
|
||||||
|
|
||||||
**定时编译** 先删除`第 20-21 行 #`注释,然后按需修改相关参数,[使用方法](https://www.runoob.com/w3cnote/linux-crontab-tasks.html)
|
**定时编译** 先删除`第 20-21 行 #`注释,然后按需修改相关参数,[使用方法](https://www.runoob.com/w3cnote/linux-crontab-tasks.html)
|
||||||
|
|
||||||
**一键编译** 先删除`第 23-24 行 #`注释,单(双)击右上角 **Star** 重新点亮 **Star** 即可一键编译
|
**一键编译** 先删除`第 23-24 行 #`注释,单(双)击右上角 **Star** 重新点亮 **Star** 即可一键编译
|
||||||
|
|
||||||
4. 按照需求编辑`Scripts/AutoBuild_DiyScript.sh`文件的 **Firmware-Diy() 函数**
|
**Diy_Core() 函数中的赋值解释:**
|
||||||
|
|
||||||
**Diy_Core() 函数中的赋值解释:**
|
|
||||||
```
|
```
|
||||||
Author 作者名称,这个名称将在 OpenWrt 首页显示
|
Author 作者名称,这个名称将在 OpenWrt 首页显示
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@
|
||||||
|
|
||||||
INCLUDE_Obsolete_PKG_Compatible 优化 原生 OpenWrt-19.07、21.02 支持[测试特性]
|
INCLUDE_Obsolete_PKG_Compatible 优化 原生 OpenWrt-19.07、21.02 支持[测试特性]
|
||||||
```
|
```
|
||||||
|
|
||||||
**其他指令:** 编辑`Scripts/AutoBuild_DiyScript.sh`,参照下方语法:
|
**其他指令:** 编辑`Scripts/AutoBuild_DiyScript.sh`,参照下方语法:
|
||||||
```
|
```
|
||||||
[使用 git clone 拉取文件] ExtraPackages git 存放位置 软件包名 仓库地址 分支
|
[使用 git clone 拉取文件] ExtraPackages git 存放位置 软件包名 仓库地址 分支
|
||||||
|
@ -72,12 +73,6 @@
|
||||||
|
|
||||||
**注意: 一键更新固件需要在 Diy-Core() 函数中启用`INCLUDE_AutoUpdate`**
|
**注意: 一键更新固件需要在 Diy-Core() 函数中启用`INCLUDE_AutoUpdate`**
|
||||||
|
|
||||||
## 使用一键扩展内部空间\挂载 Samba 共享脚本:
|
|
||||||
|
|
||||||
同上方操作,打开`TTYD 终端`,输入`bash /bin/AutoBuild_Tools.sh`
|
|
||||||
|
|
||||||
**注意: 使用此脚本需要在 Diy-Core() 函数中启用`INCLUDE_AutoBuild_Tools`**
|
|
||||||
|
|
||||||
## 鸣谢
|
## 鸣谢
|
||||||
|
|
||||||
- [Lean's Openwrt Source code](https://github.com/coolsnowwolf/lede)
|
- [Lean's Openwrt Source code](https://github.com/coolsnowwolf/lede)
|
||||||
|
@ -90,4 +85,4 @@
|
||||||
|
|
||||||
- [eSir's workflow](https://github.com/esirplayground/AutoBuild-OpenWrt/blob/master/.github/workflows/Build_OP_x86_64.yml)
|
- [eSir's workflow](https://github.com/esirplayground/AutoBuild-OpenWrt/blob/master/.github/workflows/Build_OP_x86_64.yml)
|
||||||
|
|
||||||
- 测试/建议: [CurssedCoffin](https://github.com/CurssedCoffin) [Licsber](https://github.com/Licsber) [sirliu](https://github.com/sirliu) [teasiu](https://github.com/teasiu)
|
- 测试与建议: [CurssedCoffin](https://github.com/CurssedCoffin) [Licsber](https://github.com/Licsber) [sirliu](https://github.com/sirliu) [teasiu](https://github.com/teasiu)
|
||||||
|
|
Loading…
Reference in New Issue