pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/RC4ML/kernel_deb_builder

s" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-0b53c3bf3393e2ed.css" /> GitHub - RC4ML/kernel_deb_builder
Skip to content

RC4ML/kernel_deb_builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kernel_deb_builder

利用 GitHub Actions 自动编译 Linux 内核为 deb 包。

如何使用

如果您想要利用我的这个自动化脚本根据自己的需求编译内核,请参考如下步骤:

1. Fork 仓库

访问 https://github.com/debuggerx01/kernel_deb_builder ,点击右上角的 Fork 按钮,并 clone 到本地

2. 更新 config 文件

在本地将您获取的 config 文件替换根目录下的 config,可以从您系统的 /boot/config* 文件复制,或者手动编辑

3. 编写自定义path

首先下载一份需要编译的内核源码,然后cp一份整个源码目录

xz -d linux-5.15.102.tar.xz
tar -xvf linux-5.15.102.tar
cp -r linux-5.15.102 linux-5.15.102-modify

之后在linux-5.15.102-modify中修改后,在上级目录中 生成patch

diff -Nur linux-5.15.102 linux-5.15.102-modify > xxx.patch

应用patch方法

cd linux-5.15.102
path -p1 < /path/to/xxx.path

然后将patch命令加入build_action.sh

4. 推送修改

推送后,action 自动触发,可以在您的仓库页面的 Actions 选项卡查看进度详情。

Enjoy~ 😁

了解更多请看:

利用 GitHub Actions 自动构建 Linux 内核为 deb 包

修改 Linux 内核使系统启动时间缩短约 30 秒

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy