diff --git a/.github/workflows/Build Kernel OnePlus.yml b/.github/workflows/Build Kernel OnePlus.yml index 31e5cebe1..7e01bf455 100644 --- a/.github/workflows/Build Kernel OnePlus.yml +++ b/.github/workflows/Build Kernel OnePlus.yml @@ -4,7 +4,7 @@ on: inputs: FILE: type: choice - description: "配置文件" + description: "配置文件//Configuration file" required: true default: oneplus_ace2_pro_b options: @@ -18,7 +18,6 @@ on: - oneplus_11r_b - oneplus_ace2_b - oneplus_pad_lite_b - - oneplus_pad_lite_Canary_b - oneplus_pad_mt6983_b - oneplus_ace_2v_b - oneplus_ace_pro_v @@ -56,22 +55,15 @@ on: - oneplus_turbo_6 - oneplus_nord_6 - oneplus_ace_6t - - oneplus_ace_6t_Canary - oneplus_15r - - oneplus_15r_Canary - oneplus_15 - - oneplus_15_Canary - oneplus_15t - - oneplus_15t_Canary - oneplus_pad_3_pro - - oneplus_pad_3_pro_Canary - oneplus_pad_4 - - oneplus_pad_4_Canary - oneplus_ace6_ultra - - oneplus_ace6_ultra_Canary MANAGER_SOURCE: type: choice - description: "管理器调用方向" + description: "管理器调用方向//Manager download source" required: true default: MD3 options: @@ -79,7 +71,7 @@ on: - MD3_SPOOF SUSFS_CI: type: choice - description: "SUSFS模块下载调用方向" + description: "SUSFS模块下载调用方向//SUSFS module branch" required: true default: N/A options: @@ -88,7 +80,7 @@ on: - N/A KPM: type: choice - description: "内核模块实现方式" + description: "内核模块实现方式//Kernel module implementation method" required: true default: N/A options: @@ -97,96 +89,96 @@ on: - N/A SUSFS_META: type: string - description: "回退SUSFS(输入哈希或次数或-1关闭)" + description: "回退SUSFS(输入哈希或次数或-1关闭)//Rollback SUSFS (Enter commit hash, count, or -1 to disable)" required: false default: "" DYNAMIC_REPO: type: string - description: "动态清单仓库所有者" + description: "动态清单仓库所有者//Manifest repository owner" required: true default: "Numbersf" BUILD_TIME: type: string - description: "自定义构建时间(输入F使用UTCT或-1关闭)" + description: "自定义构建时间(输入F使用UTCT或-1关闭)//Custom build time (Enter F to use UTCT, or -1 to disable)" required: false default: "Fri Dec 12 11:37:03 UTC 2025" KSU_META: type: string - description: "分支名(必填)/自定义版本标识(留空不修改)/回退分支提交哈希版本(留空不修改)" + description: "分支名(必填)/自定义版本标识(留空不修改)/回退分支提交哈希版本(留空不修改)//Branch name (Required) / Custom version identifier (Leave blank to not modify) / Rollback branch commit hash version (Leave blank to not modify)" required: false default: "main/Numbersf/" LZ4_UPDATE: type: boolean - description: "是否升级LZ4到上游最新?" + description: "是否升级LZ4到上游最新?//Upgrade LZ4 to the latest upstream?" required: true default: false ZRAM: type: string - description: "ZRAM(0关闭1开启)/算法名/大小" + description: "ZRAM(0关闭1开启)/算法名/大小//ZRAM (0: disable, 1: enable) / Algorithm name / Size" required: true default: "0/lz4kd/8589934592" SUFFIX: type: string - description: "自定义内核后缀(不输入使用RAND_STR或-1关闭)" + description: "自定义内核后缀(不输入使用RAND_STR或-1关闭)//Custom kernel suffix (Leave blank to use RAND_STR, or -1 to disable)" required: false default: "" RESUBLEVEL: - description: "自定义内核等级欺骗(SUBLEVEL)" + description: "自定义内核等级欺骗(SUBLEVEL)//Custom kernel SUBLEVEL spoofing" required: false default: "" FAST_BUILD: type: boolean - description: "是否启用极速构建?" + description: "是否启用极速构建?//Enable ultra-fast build?" required: true default: true LSM_BBG: type: boolean - description: "是否启用关键分区写入保护模块(BBG)?" + description: "是否启用关键分区写入保护模块(BBG)?//Enable critical partition write protection module (BBG)?" required: true default: true NETFILTER: type: boolean - description: "是否启用网络功能拓展(NETFILTER)?" + description: "是否启用网络功能拓展(NETFILTER)?//Enable network feature extensions (NETFILTER)?" required: true default: true CCM: type: boolean - description: "是否启用网络拥塞控制与管理机制(BBR+ECN)?" + description: "是否启用网络拥塞控制与管理机制(BBR+ECN)?//Enable network congestion control and management mechanism (BBR+ECN)?" required: true default: true UNICODE_BYPASS: type: boolean - description: "是否添加Unicode不可见字码点绕过读取漏洞修复?" + description: "是否添加Unicode不可见字码点绕过读取漏洞修复?//Add patch for Unicode invisible code point read bypass vulnerability?" required: true default: false SCHED_HMBIRD: type: boolean - description: "是否添加风驰驱动1.0?" + description: "是否添加风驰驱动1.0?//Add Fengchi (HMBIRD) Driver 1.0?" required: true default: false DROID_SPACES: type: boolean - description: "是否添加轻量级Linux容器支持(DroidSpaces)?" + description: "是否添加轻量级Linux容器支持(DroidSpaces)?//Add lightweight Linux container support (DroidSpaces)?" required: true default: false RE_KERNEL: type: boolean - description: "是否添加Re-Kernel?" + description: "是否添加Re-Kernel?//Add Re-Kernel?" required: true default: false SUSFS_DEV: type: boolean - description: "是否拉取SUSFS-DEV分支?" + description: "是否拉取SUSFS-DEV分支?//Pull the SUSFS-DEV branch?" required: true default: false SPACE_NOCLEAN: type: boolean - description: "是否停用空间清扫?" + description: "是否停用空间清扫?//Disable workspace cleaning?" required: true default: false BUILD_NOCACHE: type: boolean - description: "是否停用此次缓存?" + description: "是否停用此次缓存?//Disable caching for this build?" required: true default: false @@ -546,6 +538,7 @@ jobs: echo "使用$MANIFEST_REPO/$MANIFEST_REPO_NAME($MANIFEST_BRANCH)初始化仓库..." repo init -u "$BASE_URL" -b "$MANIFEST_BRANCH" -m "${FILE}.xml" --depth=1 --no-clone-bundle --no-tags + sed -i -e '/prebuilts\/asuite"/{/ks-kernel\.lnx\.5\.0\.r3-rel/d}' -e '/tools\/tradefederation\/prebuilts"/{/ks-kernel\.lnx\.5\.0\.r3-rel/d}' ".repo/manifests/${FILE}.xml" repo sync -c -j$(nproc) --no-clone-bundle --no-tags --force-sync KERNEL_REPOS="" @@ -1035,8 +1028,7 @@ jobs: sed -i '/endmenu/i source "drivers/rekernel/Kconfig"' drivers/Kconfig sed -i '$a \#Re-Kernel Support\nobj-$(CONFIG_REKERNEL) += rekernel/' drivers/Makefile mkdir -p drivers/rekernel - cp ${RE_DIR}/rekernel.c ${RE_DIR}/rekernel.h ${RE_DIR}/Makefile ${RE_DIR}/Kconfig drivers/rekernel/ - sed -i "s|^\s*//\s*#define KERNEL_${KERNEL_SHORT_PATCH_VERSION}|\#define KERNEL_${KERNEL_SHORT_PATCH_VERSION}|" drivers/rekernel/rekernel.h + cp -r "${RE_DIR}"/* drivers/rekernel/ - name: Apply DROID_SPACES env: diff --git a/README-en.md b/README-en.md index 001d11ad5..e43adcfef 100644 --- a/README-en.md +++ b/README-en.md @@ -10,7 +10,7 @@ # Action-Build - + Prohibit the promotion of forked repositories with **no modifications**; see [LICENSE](LICENSE)
diff --git a/README.md b/README.md index 917d31565..8a70e31ff 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ # Action-Build - + 禁止宣传**没有任何修改**的`fork`仓库,详见[LICENSE](LICENSE)