Questions tagged «makepkg»

1
make-kpkg和make deb-pkg之间的区别
我想知道make-kpkg和之间的确切区别make deb-pkg。这个问题问的差不多,但没有令人满意的答案。以前我在用 make -j `getconf _NPROCESSORS_ONLN` deb-pkg 编译内核源代码树并生成header + kernel-image debian软件包。我发现它非常慢,因为要在我的第二代Intel i3 CPU上编译需要1个多小时。然后我发现另一种使用方法make-kpkg比deb-pkg以前使用的方法快5-6倍。我运行的代码 fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers -j `getconf _NPROCESSORS_ONLN` 并且只需要10-15分钟即可编译并生成deb软件包。在这两个编译过程中,工作都被划分了,_NPROCESSORS_ONLN那么有什么区别呢?提前致谢。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.