new kernel header file not being packaged in kernel-headers

Josh Boyer jwboyer at redhat.com
Mon Apr 16 14:31:58 UTC 2012


On Mon, Apr 16, 2012 at 10:24:47AM -0400, Jeff Layton wrote:
> Recently, I added a new upcall to mainline kernels and with that I
> added a new header file to describe the upcall/downcall format
> (include/linux/nfsd/cld.h).
> 
> I've noticed though that that file is not being packaged in the
> kernel-headers package, even though the other files in the linux/nfsd
> dir are. Is there some master list that I need to add this file to? Or
> do I need to mark this file in some way to ensure that it gets included
> in kernel-headers?

We just run 'make headers_install', which uses the upstream's header
sanitize and install method for kernel headers.  You probably need to
add your new header to include/linux/nfsd/Kbuild if it's meant to be
exported to userspace.  E.g. send something like the following
upstream.

josh

diff --git a/include/linux/nfsd/Kbuild b/include/linux/nfsd/Kbuild
index b8d4001..b35b5ea 100644
--- a/include/linux/nfsd/Kbuild
+++ b/include/linux/nfsd/Kbuild
@@ -2,3 +2,4 @@ header-y += debug.h
 header-y += export.h
 header-y += nfsfh.h
 header-y += stats.h
+header-y += cld.h


More information about the kernel mailing list