On Fri, Aug 13, 2010 at 2:12 PM, Angus Hedger <demide...@gmail.com> wrote: > On Fri, Aug 13, 2010 at 7:46 PM, Stephen Powell <zlinux...@wowway.com> wrote: >> On Fri, 13 Aug 2010 13:27:50 -0400 (EDT), Arthur Machlas wrote: > The only issues I ran into when building headers via make-kpkg where as > follows, > > Make sure you use the same "-append-to-version -stuff-here" line as > you do when building your kernel, or they wont match up and it wont > find the k-headers. > > And, I have found that the packages made by make-kpkg are setting the > wrong "/lib/modules/<kernel version>/build" symlink, pointing it to my > the dir where i build the kernel rather than the correct > /usr/src/<kernel headers> dir. > > (I think i need to bug report the 2nd, but I don't know if its > something I am doing wrong). > > This is the line i used to build my last load of headers, > > # make-kpkg kernel_headers --append-to-version -2.6.35amd64-bfq-iowait -j3 >
You can just put them all on the same line, i.e., make-kpkg --append-to-version -2.635amd64_custom kernel_image kernel_headers kernel_source I don't use the -j3 switch, and I don't think that -j3 switch works like you think it does when using make-kpkg, at least, not if that's meant to utilize multiple processors when building. I'm at work right so this is all from memory, but I think the correct way to do it is to do export CONCURRENCY_LEVEL=3 where the number you provide is 1 + the number of processors you have. So if you have a duo-core, it's 3. If a single processor it would be two. And so forth. I seem to recall something in the make-kpkg documentation saying not to use the -j switch. Hopefully someone will correct me or provide more authoritative sources than this sorry excuse for a memory I have. As for your sources bug being symlinked incorrectly, I think I can confirm, however it hasn't negatively affected anything. Things still build properly against the headers / sources on custom kernels even when the build directory in my home dir is removed. But yes, I'm pretty sure I've seen warnings about it not being able to find sources in /home/arthur/linux/kernel/2.6.35/, though they are just strange warnings and I haven't bothered looking into it further since everything seems to still work fine. Best, AM -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlkti=rbhqn7uskda3lf1g67yqpqs2cquvwumgw8...@mail.gmail.com