Updated translations for the website and templates. (#1513)

Mainly updates in traditional Chinese, but also fixes a typo in
simplified Chinese.
This commit is contained in:
sus
2024-03-23 19:44:02 +08:00
committed by GitHub
parent 998664402d
commit 9403c8f606
9 changed files with 176 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
# 如何建置 KernelSU?
# 如何建置 KernelSU? {#how-to-build-kernelsu}
首先,您需要閱讀核心建置的 Android 官方文件:
@@ -9,9 +9,9 @@
此文件適用於 GKI 裝置,如果您是舊版核心,請參閱[如何為非 GKI 裝置整合 KernelSU](how-to-integrate-for-non-gki)
:::
## 建置核心
## 建置核心 {#build-kernel}
### 同步核心原始碼
### 同步核心原始碼 {#sync-the-kernel-source-code}
```sh
repo init -u https://android.googlesource.com/kernel/manifest
@@ -22,7 +22,7 @@ repo sync
`<kernel_manifest.xml>` 是一個可以唯一確定組建的資訊清單檔案,您可以使用這個資訊清單進行可重新預測的組建。您需要從[標準核心映像 (GKI) 發行組建](https://source.android.com/docs/core/architecture/kernel/gki-release-builds) 下載資訊清單檔案
### 建置
### 建置 {#build}
請先查看[官方文件](https://source.android.com/docs/setup/build/building-kernels)。
@@ -48,7 +48,7 @@ rm common/android/abi_gki_protected_exports_*
```
:::
## 使用 KernelSU 建置核心
## KernelSU 一起建置核心 {#build-kernel-with-kernelsu}
如果您可以成功建置核心,那麼建置 KernelSU 就會非常輕鬆,依自己的需求在核心原始碼根目錄中執行以下任一命令: