linux - 在 rpmbuild 之后创建的各种 kernel-debug*.rpm 文件之间有什么区别?

标签 linux linux-kernel linux-device-driver

我构建 Fedora Linux 内核 (rpmbuild -bb --target=`uname -m` kernel.spec) according to this guide ,现在我有:

  • kernel-debug-debuginfo-3.18.6-100.myself.fc20.x86_64.rpm (~360MB)
  • kernel-debuginfo-3.18.6-100.myself.fc20.x86_64.rpm (~360MB)
  • kernel-debuginfo-common-x86_64-3.18.6-100.myself.fc20.x86_64.rpm (~51MB)
  • kernel-debug-3.18.6-100.myself.fc20.x86_64.rpm (~67MB)
  • kernel-debug-devel-3.18.6-100.pae_sw_tal.fc20.x86_64.rpm (~10MB)
  • 还有一些……

它们之间有什么区别?如果我想要开发(可调试构建)版本,我应该安装哪个?

最佳答案

基本上你可以在rpmfind.net上找到以下信息 只需将 kernel-debug-debuginfo 放入搜索中,它就会告诉您它是什么。

与其他包类似。

例如

kernel-debug-debuginfo-3.18.6-100.myself.fc20.x86_64.rpm

这个包提供包内核调试的调试信息。这是将 SystemTap 与 kernel-debug-3.18.6-100.myself.fc20.x86_64.rpm 一起使用所必需的

而且我认为您需要 kernel-debug-3.18.6-100.myself.fc20.x86_64.rpm (~67MB)

查看 rpmbuild 的选项以创建更少的文件。 --without devel --without debuginfo 等选项

关于linux - 在 rpmbuild 之后创建的各种 kernel-debug*.rpm 文件之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28582459/

相关文章:

c - 如何在 Linux 上设置串口中断?

linux - 在 Linux 中从 kernel/net/sched 文件夹加载不同的模块

linux - 使用内存映射的IO时调用ioread函数有什么好处

linux - 编译包含非内核头文件的 linux 内核 (2.6) 模块

c - rpc remote proceduer 编译错误

linux - 如何计算空格分隔文件中行中数字的总和?

安卓模拟器失败

linux - 强制linux只能使用4G以上的内存?

IMX6 板的音频问题(max98357a 编解码器)

linux - 现有的 Linux 模块符号