为 Ubuntu 10.04 编译内核时覆盖目录选项
我正在学习Linux内核编程。我想知道本页提到的编译 linux 内核时的 --overlay-dir 选项是什么http://crashcourse.ca/introduction-linux-kernel-programming/intermission-building-new-ubuntu-1004-kernel-free-lesson。为什么我不能仅通过基本内核来构建内核映像。该页面要求下载 ubuntu maverick 树。覆盖目录包含什么?是必须的吗?
除了 git 方式之外,还有其他方式来下载特立独行的内核树吗?意味着我是否可以下载一些 zip 文件,否则 git 需要花费大量时间来下载大约 700 MB 的文件
I am learning Linux kernel programming. I want to know what is --overlay-dir option while compiling linux kernel as mentioned on this pagehttp://crashcourse.ca/introduction-linux-kernel-programming/intermission-building-new-ubuntu-1004-kernel-free-lesson. Why cant I build kernel image by just the basic kernel. That page asks for downloading ubuntu maverick tree. What does the overlay directory contain? Is it required?
Also is there any other way to download that maverick kernel tree other than the git way? means if I could download some zip file otherwise the git takes a lot of time for downloading around 700 MB
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
--overlay-dir
标志用于 make-kpkg 程序,这是 Debian(和 Ubuntu)从内核源代码生成可安装包 (.deb) 的方法。这使您可以更轻松地安装和卸载您构建的内核。--overlay-dir
告诉 make-kpkg 在哪里可以找到控制包制作方式的文件。这有时称为debian
目录。请参阅 http://man.he.net/man1/make-kpkg 获取手册页。不知道下载少了没。 “神奇的词”是下载快照,但据我所知,它们必须在服务器端创建,因此,如果它们不存在,您就只能进行大量操作。
The
--overlay-dir
flag is for the make-kpkg program, which is the Debian (and Ubuntu) way to make installable packages (.deb) from kernel sources. This lets you install and uninstall the kernels you build more easily. The--overlay-dir
tells make-kpkg where to find the files that control how the package is made. This is sometimes referred to as thedebian
directory. See http://man.he.net/man1/make-kpkg for a manual page.I don't know about downloading less. The "magic words" are download a snapshot, but as far as I know they have to be created at the server end so, if they don't exist, you're stuck with pulling the lot.