Skip to content

Commit 665b878

Browse files
committed
Updated build documentation
1 parent c0f1a91 commit 665b878

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.cn.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,16 +210,16 @@ sudo apt-get install -y $(cat compile-kernel/tools/script/ubuntu2204-build-armbi
210210

211211
## 使用 GitHub Actions 进行编译
212212

213-
1. 关于 Workflows 文件的配置在 [build-armbian-server-image.yml](.github/workflows/build-armbian-server-image.yml) 文件里。
213+
1. 关于 Workflows 文件的配置在 [.github/workflows/](.github/workflows/) 文件里。
214214

215-
2. 全新编译:在 [Actions](https://github.com/ophub/amlogic-s9xxx-armbian/actions) 页面里选择 ***`Build armbian`*** ,根据 Armbian 官方支持的 OS 版本,可以选择 Ubuntu 系列:`jammy`,或者 Debian 系列:`bullseye` 等。点击 ***`Run workflow`*** 按钮即可编译。更多参数的设置方法可以在 [Armbian 官方文档](https://docs.armbian.com/Developer-Guide_Build-Options/) 里查阅
215+
2. 全新编译:在 [Actions](https://github.com/ophub/amlogic-s9xxx-armbian/actions) 页面里选择 ***`Build Armbian server image`*** 即可使用 [build-armbian-server-image.yml](.github/workflows/build-armbian-server-image.yml) 进行编译。可以选择 Ubuntu 系列:`jammy`,或者 Debian 系列:`bullseye` 等。点击 ***`Run workflow`*** 按钮即可编译。
216216

217217
3. 再次编译:如果 [Releases](https://github.com/ophub/amlogic-s9xxx-armbian/releases) 中有已经编译好的 `Armbian_.*-trunk_.*.img.gz` 文件,你只是想再次制作其他不同 board 的盒子,可以跳过 Armbian 源文件的编译,直接使用 [build-armbian-using-releases-files.yml](.github/workflows/build-armbian-using-releases-files.yml) 进行二次制作。
218218

219219
4. 使用其他 Armbian 系统,如 Armbian 官方系统下载网站 [armbian.tnahosting.net](https://armbian.tnahosting.net/dl/) 提供的 [odroidn2](https://armbian.tnahosting.net/dl/odroidn2/archive/) 系统,仅在流程控制文件 [build-armbian-using-official-image.yml](.github/workflows/build-armbian-using-official-image.yml) 中引入本仓库的脚本进行 Armbian 重构,即可适配其他盒子的使用。代码如下:
220220

221221
```yaml
222-
- name: Rebuild Armbian
222+
- name: Build Armbian
223223
uses: ophub/amlogic-s9xxx-armbian@main
224224
with:
225225
build_target: armbian

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,16 +210,16 @@ sudo apt-get install -y $(cat compile-kernel/tools/script/ubuntu2204-build-armbi
210210

211211
## Use GitHub Actions for Compilation
212212

213-
1. The configuration of the Workflows file can be found in the [build-armbian-server-image.yml](.github/workflows/build-armbian-server-image.yml) file.
213+
1. The configuration of the Workflows file can be found in the [.github/workflows/](.github/workflows/) files.
214214

215-
2. Full compile: On the [Actions](https://github.com/ophub/amlogic-s9xxx-armbian/actions) page, select ***`Build armbian`***. According to the OS versions supported by Armbian official, you can choose the Ubuntu series: `jammy`, or the Debian series: `bullseye` etc. Click the ***`Run workflow`*** button to compile. More parameter setting methods can be found in the [Armbian official documentation](https://docs.armbian.com/Developer-Guide_Build-Options/).
215+
2. Fresh Build: On the [Actions](https://github.com/ophub/amlogic-s9xxx-armbian/actions) page, select ***`Build Armbian server image`*** to start the build using the [build-armbian-server-image.yml](.github/workflows/build-armbian-server-image.yml) workflow. You can choose from the Ubuntu series such as `jammy`, or the Debian series such as `bullseye`, etc. Click the ***`Run workflow`*** button to begin the build.
216216

217-
3. Recompile: If there are already compiled `Armbian_.*-trunk_.*.img.gz` files in [Releases](https://github.com/ophub/amlogic-s9xxx-armbian/releases), and you just want to make another box of different boards, you can skip compiling the Armbian source files and directly use [build-armbian-using-releases-files.yml](.github/workflows/build-armbian-using-releases-files.yml) for secondary build.
217+
3. Rebuild: If there are already compiled `Armbian_.*-trunk_.*.img.gz` files in [Releases](https://github.com/ophub/amlogic-s9xxx-armbian/releases), and you just want to make another box of different boards, you can skip compiling the Armbian source files and directly use [build-armbian-using-releases-files.yml](.github/workflows/build-armbian-using-releases-files.yml) for secondary build.
218218

219219
4. Use other Armbian systems, such as the [odroidn2](https://armbian.tnahosting.net/dl/odroidn2/archive/) system provided by the Armbian official system download website [armbian.tnahosting.net](https://armbian.tnahosting.net/dl/), and only introduce the script of this repository in the process control file [build-armbian-using-official-image.yml](.github/workflows/build-armbian-using-official-image.yml) to restructure Armbian. The code is as follows:
220220

221221
```yaml
222-
- name: Rebuild Armbian
222+
- name: Build Armbian
223223
uses: ophub/amlogic-s9xxx-armbian@main
224224
with:
225225
build_target: armbian

0 commit comments

Comments
 (0)