[UOS] 脑洞大开:在docker容器里编译安装新内核的可行性讨论
Tofloor
poster avatar
raspbian
deepin
2024-02-08 23:49
Author

前几天看了大神的帖子之后,终于找到一个正规流程的内核编译方法

但是整个编译过程需要多次重启电脑验证

出差错懒得溯源就直接花时间重装

感觉不太优雅

有没有什么方法可以把uos做成docker image

然后在这个环境里编译deb

提取出来给其他人用?

Reply Favorite View the author
All Replies
neko
deepin
Ecological co-builder
2024-02-08 23:50
#1

不行哦,docker本身就是用的系统内核。它不是虚拟机

Reply View the author
raspbian
deepin
2024-02-09 00:03
#2
neko

不行哦,docker本身就是用的系统内核。它不是虚拟机

那用装有另一个Linux发行版的物理机器编译uos可用的内核 这样行得通吧?

Reply View the author
神末shenmo
deepin
Spark-App
2024-02-09 02:31
#3
raspbian

那用装有另一个Linux发行版的物理机器编译uos可用的内核 这样行得通吧?

用VM

Reply View the author
青稚
Moderator
2024-02-09 09:44
#4

可以使用kvm编译内核

https://www.debuggerx.com/2021/08/17/Using-github-actions-to-build-kernel-deb-packages/

Reply View the author
raspbian
deepin
2024-02-09 11:59
#5
青稚

可以使用kvm编译内核

https://www.debuggerx.com/2021/08/17/Using-github-actions-to-build-kernel-deb-packages/

好的 我学习一下

Reply View the author