From 36194da9b65f492256c91ff95699154b7a23e6bf Mon Sep 17 00:00:00 2001 From: ophub Date: Tue, 23 Nov 2021 09:05:32 +0800 Subject: [PATCH] Adjust the kernel's default compilation source: flippy --- .github/workflows/compile-kernel.yml | 2 +- compile-kernel/README.cn.md | 4 ++-- compile-kernel/README.md | 4 ++-- recompile | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compile-kernel.yml b/.github/workflows/compile-kernel.yml index 252dbb48e5..7e5225f00f 100644 --- a/.github/workflows/compile-kernel.yml +++ b/.github/workflows/compile-kernel.yml @@ -12,7 +12,7 @@ on: kernel_repo: description: 'Source: kernel.org / flippy' required: false - default: 'kernel.org' + default: 'flippy' kernel_ver: description: 'Kernel version: 5.4.160' required: false diff --git a/compile-kernel/README.cn.md b/compile-kernel/README.cn.md index 43af7f1d02..95151b349e 100644 --- a/compile-kernel/README.cn.md +++ b/compile-kernel/README.cn.md @@ -17,9 +17,9 @@ | -k | Kernel | 指定 [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) 名称,如 `-k 5.4.160` . 多个内核使用 `_` 进行连接,如 `-k 5.10.80_5.4.160` | | -a | AutoKernel | 设置是否自动采用同系列最新版本内核。当为 `true` 时,将自动查找在 `-k` 中指定的内核如 `5.4.160` 的 `5.4` 同系列是否有更新的版本,如有 `5.4.160` 之后的最新版本时,将自动更换为最新版。设置为 `false` 时将编译指定版本内核。默认值:`true` | | -n | CustomName | 设置内核自定义签名。默认值为 `-meson64-beta` ,生成的内核名称为 `5.4.160-meson64-beta` 。设置自定义签名时请勿包含空格。 | -| -r | Repo | 指定内核编译源码的下载站。可选项为 [kernel.org](https://www.kernel.org/) 和 [flippy](https://github.com/unifreq) ,默认为 `kernel.org` | +| -r | Repo | 指定内核编译源码的下载站。可选项为 [kernel.org](https://www.kernel.org/) 和 [flippy](https://github.com/unifreq) ,默认为 `flippy` | -💡提示:可以使用 `flippy` 的 [.config](https://github.com/unifreq/arm64-kernel-configs) 模板和源码编译 [5.4](https://github.com/unifreq/linux-5.4.y) / [5.10](https://github.com/unifreq/linux-5.10.y) / [5.12](https://github.com/unifreq/linux-5.12.y) / [5.13](https://github.com/unifreq/linux-5.13.y) / [5.14](https://github.com/unifreq/linux-5.14.y) / [5.15](https://github.com/unifreq/linux-5.15.y) 的 `最新版本` 。`其他版本或历史版本` 可以使用 [kernel.org](https://cdn.kernel.org/pub/linux/kernel/v5.x/) 编译。 +💡提示:可以使用 `flippy` 的 [.config](https://github.com/unifreq/arm64-kernel-configs) 模板和源码编译 [5.4](https://github.com/unifreq/linux-5.4.y) / [5.10](https://github.com/unifreq/linux-5.10.y) / [5.12](https://github.com/unifreq/linux-5.12.y) / [5.13](https://github.com/unifreq/linux-5.13.y) / [5.14](https://github.com/unifreq/linux-5.14.y) / [5.15](https://github.com/unifreq/linux-5.15.y) 的 `最新版本` 。`其他系列或历史版本` 可以使用 [kernel.org](https://cdn.kernel.org/pub/linux/kernel/v5.x/) 编译。 - ### 使用 GitHub Action 进行编译 diff --git a/compile-kernel/README.md b/compile-kernel/README.md index aa9cd0f8b0..60932ef3a6 100644 --- a/compile-kernel/README.md +++ b/compile-kernel/README.md @@ -17,9 +17,9 @@ Compile a custom kernel as needed. This kernel can be used in [Armbian](https:// | -k | Kernel | Specify [kernel](https://cdn.kernel.org/pub/linux/kernel/v5.x/) name, such as `-k 5.4.160`. Multiple kernels use `_` to connect, such as `- k 5.10.80_5.4.160` | | -a | AutoKernel | Set whether to automatically adopt the latest version of the kernel of the same series. When it is `true`, it will automatically find whether there is a newer version of the kernel specified in `-k` such as `5.4.160` of the `5.4` series. If there is the latest version after `5.4.160`, it will be automatically replaced with the latest version . When set to `false`, the specified version of the kernel will be compiled. Default value: `true` | | -n | CustomName | Set the kernel custom signature. The default value is `-meson64-beta` and the generated kernel is `5.4.160-meson64-beta`. Do not include spaces when setting a custom signature. | -| -r | Repo | Specify the download site of the kernel compilation source code. The available options are [kernel.org](https://www.kernel.org/) and [flippy](https://github.com/unifreq), the default is `kernel.org` | +| -r | Repo | Specify the download site of the kernel compilation source code. The available options are [kernel.org](https://www.kernel.org/) and [flippy](https://github.com/unifreq), the default is `flippy` | -💡Tip: You can use the [.config](https://github.com/unifreq/arm64-kernel-configs) template and source code of `flippy` to compile the `latest version` of [5.4](https://github.com/unifreq/linux-5.4.y) / [5.10](https://github.com/unifreq/linux-5.10.y) / [5.12](https://github.com/unifreq/linux-5.12.y) / [5.13](https://github.com/unifreq/linux-5.13.y) / [5.14](https://github.com/unifreq/linux-5.14.y) / [5.15](https://github.com/unifreq/linux-5.15.y). `Other versions or historical versions` can be compiled with [kernel.org](https://cdn.kernel.org/pub/linux/kernel/v5.x/). +💡Tip: You can use the [.config](https://github.com/unifreq/arm64-kernel-configs) template and source code of `flippy` to compile the `latest version` of [5.4](https://github.com/unifreq/linux-5.4.y) / [5.10](https://github.com/unifreq/linux-5.10.y) / [5.12](https://github.com/unifreq/linux-5.12.y) / [5.13](https://github.com/unifreq/linux-5.13.y) / [5.14](https://github.com/unifreq/linux-5.14.y) / [5.15](https://github.com/unifreq/linux-5.15.y). `Other series or historical versions` can be compiled with [kernel.org](https://cdn.kernel.org/pub/linux/kernel/v5.x/). - ### Compile with GitHub Action diff --git a/recompile b/recompile index c77eb64cda..43446c4e0b 100755 --- a/recompile +++ b/recompile @@ -18,12 +18,12 @@ arch_info=$(arch) auto_kernel="true" # Kernel download address and custom name +build_kernel=("5.4.160" "5.10.80") +custom_name="-meson64-beta" kernel_org_repo="https://cdn.kernel.org/pub/linux/kernel/v5.x/" kernel_flippy_repo="unifreq" kernel_flippy_branch="main" -build_kernel=("5.4.160" "5.10.80") -custom_name="-meson64-beta" -repo_url="kernel.org" +repo_url="flippy" # Cross compile use_linuxgun_url="https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel"