On Tue, 27 May 2014 15:19:30 -0400 (EDT), Manoj Srivastava wrote: > > On Tue, May 27 2014, Ralf Mardorf wrote: >> >> "Note that when building a headers package you must run the entire >> make-kpkg command under fakeroot: you can't use the --rootcmd fakeroot >> option in this case." - >> https://lists.debian.org/debian-user/2012/10/msg00002.html > > Is that accurate? > --8<---------------cut here---------------start------------->8--- > % cd /usr/local/src/kernel/linus-tree > % git pull > % make-kpkg clean > % make-kpkg -j6 --initrd --rootcmd fakeroot \ > --revision=$(date +%Y.%m.%d) \ > --append-to-version '-anzu' kernel_headers > This is kernel package version 13.013. > ... > dpkg-deb: building package `linux-headers-3.15.0-rc7-anzu' in > `../linux-headers-3.15.0-rc7-anzu_2014.05.27_amd64.deb'. > --8<---------------cut here---------------end--------------->8---
The above quote that Ralf referred to is mine. I found that to be the case by trial-and-error experimentation with the version of kernel-package that was current at the time, which I believe was 12.036. I found that make-kpkg ... --rootcmd fakeroot kernel_image kernel_headers failed during the attempted creation of the headers package, but fakeroot make-kpkg ... kernel_image kernel_headers worked. I have not tried the above scenario with the new version of kernel-package yet. Both methods work fine for building the kernel image package, but only the second one works for building a headers package. Note that I was referring specifically to make-kpkg and not dpkg-buildpackage in general. -- .''`. Stephen Powell : :' : `. `'` `- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1094300358.1485663.1401541782265.javamail.r...@md01.wow.synacor.com