[Share Experiences] 利用github actions自动编译内核
Tofloor
poster avatar
.(柯南)
deepin
2023-06-04 07:44
Author

XXTX-TOP/Linux-kernel_deb_builder (github.com)

这个是我在:debuggerx01/kernel_deb_builder 的基础上进行修改得来的,可以自助编译Linux内核。

image.png

省去了拿自己的电脑慢慢编译的过程,同时可以及时的发布新的内核deb包,我觉得还不错,分享一下。具体的实现看项目的README.md

需要其他版本的内核只需要修改下载处的数字和config即可。

Reply Favorite View the author
All Replies
阿尼樱奈奈
deepin
2023-06-04 07:46
#1

这个必须支持和点赞like

Reply View the author
ThinkYoung
deepin
2023-06-04 07:48
#2

kissing_heart 👍👍👍

github action很帅

期待 未来打包也能如此自动化!pkg_deb_builder......

Reply View the author
donaldsebleung
deepin
2023-06-04 15:53
#3

厉害了,感谢大佬分享kissing_heart

可是个人觉得自行编译内核的乐趣正在于看着电脑 CPU 、内存占用率飙升,听着风扇狂转,等待着内核编译完成joy

Reply View the author
root
deepin
2023-06-04 17:45
#4

缺了openssl包,在配置了要对内核及模块签名的状态下将会出错😁

tail

Reply View the author
Dr Z
deepin
2023-06-05 00:40
#5

我觉得你可以弄个R包 tail

Reply View the author
raspbian
deepin
2023-06-06 01:01
#6

github的自动完成功能怎么把输出的东西直接发布到当前仓库的release上?

Reply View the author
快乐飞翔
deepin
2023-06-30 15:56
#7
能写详细点吗?新手还不大会。
出现如下提示:
error: creating source package requires git repository
make[1]: *** [scripts/Makefile.package:39:check-git] 错误 1
make[1]: *** 正在等待未完成的任务....
./scripts/package/gen-diff-patch: 8: ./scripts/package/gen-diff-patch: git: not found
make: *** [Makefile:1657:deb-pkg] 错误 2
 
Reply View the author
阿尼樱奈奈
deepin
2023-06-30 16:57
#8
快乐飞翔
能写详细点吗?新手还不大会。
出现如下提示:
error: creating source package requires git repository
make[1]: *** [scripts/Makefile.package:39:check-git] 错误 1
make[1]: *** 正在等待未完成的任务....
./scripts/package/gen-diff-patch: 8: ./scripts/package/gen-diff-patch: git: not found
make: *** [Makefile:1657:deb-pkg] 错误 2
 

终端先后执行:

sudo apt install git

git init

git add .

git commit -m "1"

Reply View the author
快乐飞翔
deepin
2023-06-30 17:18
#9
阿尼樱奈奈

终端先后执行:

sudo apt install git

git init

git add .

git commit -m "1"

谢谢!
Reply View the author
快乐飞翔
deepin
2023-07-01 17:21
#10
阿尼樱奈奈

终端先后执行:

sudo apt install git

git init

git add .

git commit -m "1"

还是不行啊,“./scripts/package/gen-diff-patch: 8: ./scripts/package/gen-diff-patch: git: not found”的提示没了,其他的一样

error: creating source package requires git repository
make[1]: *** [scripts/Makefile.package:39:check-git] 错误 1
make[1]: *** 正在等待未完成的任务....
make: *** [Makefile:1657:deb-pkg] 错误 2

Reply View the author
阿尼樱奈奈
deepin
2023-07-01 18:42
#11
快乐飞翔

还是不行啊,“./scripts/package/gen-diff-patch: 8: ./scripts/package/gen-diff-patch: git: not found”的提示没了,其他的一样

error: creating source package requires git repository
make[1]: *** [scripts/Makefile.package:39:check-git] 错误 1
make[1]: *** 正在等待未完成的任务....
make: *** [Makefile:1657:deb-pkg] 错误 2

git clone 试试

Reply View the author
快乐飞翔
deepin
2023-07-14 16:54
#12
阿尼樱奈奈

git clone 试试

Reply View the author
jiutian123
deepin
2023-12-15 05:46
#13
ThinkYoung

kissing_heart 👍👍👍

github action很帅

期待 未来打包也能如此自动化!pkg_deb_builder......

国内有这玩艺么?

Reply View the author