-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c40bf77
commit aff667c
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,16 +9,17 @@ Kernel source tree for AvaotaSBC-provided kernel builds. | |
|
||
In the Kernel repo, we use Github Action to release kernel source code, and provide latest update of kernel | ||
|
||
This GitHub Actions workflow aims to merge different versions of the Linux kernel under specific conditions—either when code is pushed to the main branch or when a pull_request is created with the target branch being main. | ||
This GitHub Actions workflow aims to merge different versions of the Linux kernel under specific conditions—either when code is pushed to the `main` branch or when a `pull_request` is created with the target branch being `main`. | ||
|
||
Here's a breakdown of its purpose: | ||
|
||
When the triggering conditions are met, the workflow starts executing. | ||
It runs on the latest version of Ubuntu. | ||
It uses the actions/checkout@v3 action to fetch the latest version of the code repository. | ||
Git username and email are set to "GitHub Actions" and "[email protected]" respectively. | ||
The init.sh script is executed to merge version 5.15 of the Linux kernel. This script requires parameters specifying the URL for downloading the kernel, the patch file, version number, and branch name. | ||
The ad-m/github-push-action@master action is utilized to push the merged code to a branch named linux-5.15, with the specified directory being kernel/dst/linux-5.15/linux-5.15. | ||
1. When the triggering conditions are met, the workflow starts executing. | ||
2. It runs on the latest version of Ubuntu. | ||
3. It uses the `actions/checkout@v3` action to fetch the latest version of the code repository. | ||
4. Git username and email are set to "GitHub Actions" and "[email protected]" respectively. | ||
5. The `init.sh` script is executed to merge version 5.15 of the Linux kernel. This script requires parameters specifying the URL for downloading the kernel, the patch file, version number, and branch name. | ||
6. The `ad-m/github-push-action@master` action is utilized to push the merged code to a branch named `linux-5.15`, with the specified directory being `kernel/dst/linux-5.15/linux-5.15`. | ||
|
||
In summary, this workflow automates the merging of specified versions of the Linux kernel and pushes the merged code to the corresponding branch, facilitating automated code management and updates. | ||
|
||
## How to use init.sh | ||
|