Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如这里和其他地方所述,创建带有内核模块的 debian 包似乎相当容易。我想用patch更新现有模块。我该怎么办?我真的没有要解压缩的源代码压缩包,而是我会使用模块源代码来构建 dkms 正在构建的任何内核版本。
例如,假设我安装了内核版本 1.2.3,那么我想使用 1.2.3 版本的源代码构建内核模块 uvcvideo,并添加一个补丁。我是在创建 dkms .deb 包之前获取源代码,还是在构建过程中以某种方式获取它们?
这个问题有意义吗?怎么做?
创建 DKMS 是为了添加尚未在内核中的驱动程序。这不是你的情况。
所以我看到了 2 个选项: