Re: kernel rebuilds with kernel-package?
I installed kernel-package 12.014 on a lenny host and indeed rebuilding without clean in between works. Though a lot of file copying seems to happen in every build, but that's not too much. Thanks Manoj! -Mikko -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
kernel rebuilds with kernel-package?
Hello debian-users I have been pondering this for years and haven't found an answer: How does one re-compile a custom kernel after fixing a bug or adding patch with kernel-package _without_ rebuilding the whole kernel? I want to test new kernels every now and then and usually the first couple of compilation have issues. Fixing these issues wouldn't result in complete rebuilds if I compile natively, but with kernel_package they do. I find it easier to work with deb packages than to manually remove old kernels, modules etc. Is there some special build target I could use to just try rebuilding the objects which don't yet exists, e.g. fakeroot debian/rules kernel_binary_something? With the official Debian kernel packages I found a rule for rebuilding the binary package -- though can't remeber which is was atm -- but with kernel-package I newer found a similar one. This would save a lot of time for me, thanks. -Mikko -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: kernel rebuilds with kernel-package?
On Wed, Jun 24 2009, Mikko Rapeli wrote: Hello debian-users I have been pondering this for years and haven't found an answer: How does one re-compile a custom kernel after fixing a bug or adding patch with kernel-package _without_ rebuilding the whole kernel? I want to test new kernels every now and then and usually the first couple of compilation have issues. Fixing these issues wouldn't result in complete rebuilds if I compile natively, but with kernel_package they do. I find it easier to work with deb packages than to manually remove old kernels, modules etc. Is there some special build target I could use to just try rebuilding the objects which don't yet exists, e.g. fakeroot debian/rules kernel_binary_something? With a recent kernel-package version (12.XX), you just call make-kpkg as you would normally (don't call make-kpkg clean). The very minimal rebuild is done. So, make-kpkg kernel_image should work just fine. With the official Debian kernel packages I found a rule for rebuilding the binary package -- though can't remeber which is was atm -- but with kernel-package I newer found a similar one. This would save a lot of time for me, thanks. Try it and report if it does work for you. manoj -- Sanity and insanity overlap a fine grey line. Manoj Srivastava sriva...@acm.org http://www.golden-gryphon.com/ 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org