Comment 5 for bug 1766663

Revision history for this message
virgosun (hdefendme) wrote :

Thank you for you quick response.

Sorry, I have once again looked at the origin kernel source before the header DEB is built.
Then I see the user space .h is correctly isolated in uapi tree.
Some how, the process of compile and install, has striped all kernel macro directive from these user space .h
I haven't figured out what cause this
I follow this guide to build the custom kernel with its associate header https://help.ubuntu.com/community/Kernel/Compile
And exactly from apt-get source

MAKEFLAGS="HOSTCC=/usr/bin/gcc CCACHE_PREFIX=distcc" make-kpkg --rootcmd fakeroot --initrd --append-to-version=-suspend2 kernel-image kernel-headers kernel-source

So, I suppose this is not a bug but may be the default feature of the build tool chain.
Am I correct?
It is an off topic
But I don't know why custom header is striped out that way, when ubuntu header retain origin directive.

Regards