配置内核

发布于 2024-08-11 07:17:22 字数 496 浏览 2 评论 0原文

创建新的系统调用后,如何更新内核?

我尝试了这些行,

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

残花月 2024-08-18 07:17:22

避免与已安装的内核发生冲突的最简单方法是使用附加版本字符串配置您的内核。

The easiest way to avoid clashing with your installed kernel is to configure yours with an additional version string.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文