配置内核
创建新的系统调用后,如何更新内核?
我尝试了这些行,
make-kpkg clean
fakeroot make-kpkg -initrd -append-to-version=-custom kernel_image kernel_headers
但是 Ubuntu 问我是否确定我在做什么。但我不确定。我必须说是吗? Ubuntu 对我说:
您正在尝试安装内核 图像(版本2.6.25.4-us122l) 然而,目录 /lib/modules/2.6.25.4-us122l/内核 仍然存在。如果这个目录 属于前一个 linux-image-2.6.25.4-us122l 包, 如果您取消选择了一些 模块,或独立安装 模块包,这可能很糟糕。
我同意Ubuntu的观点。这可能很糟糕。如何重新编译内核?第二个问题是,写完系统调用后,我还需要安装debian文件吗?
After create a new system call, how to update the kernel?
I tried these lines,
make-kpkg clean
fakeroot make-kpkg -initrd -append-to-version=-custom kernel_image kernel_headers
But Ubuntu asked me if I am sure what I am doing, or not. But I am not sure. Do I have to say yes? Here is what did, Ubuntu said to me:
You are attempting to install a kernel
image (version 2.6.25.4-us122l)
However, the directory
/lib/modules/2.6.25.4-us122l/kernel
still exists. If this directory
belongs to a previous
linux-image-2.6.25.4-us122l package,
and if you have deselected some
modules, or installed standalone
modules packages, this could be bad.
I agree with Ubuntu. This could be bad. How can I recompile the kernel? Second question is, after writing a system call, do I have to install debian files?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
避免与已安装的内核发生冲突的最简单方法是使用附加版本字符串配置您的内核。
The easiest way to avoid clashing with your installed kernel is to configure yours with an additional version string.