[oe] [PATCH v2] linux-libc-headers (2.6.24): Add falloc.h to kernel exported headers

Paul Menzel paulepanter at users.sourceforge.net
Thu Sep 30 09:16:53 UTC 2010


Dear Thilo,


although not very important I think it is better to write

	linux-libc-headers_2.6.24

in the commit summary.


Am Mittwoch, den 29.09.2010, 17:43 +0200 schrieb Thilo Fromm:
> upstream: OE-only

This can be omitted in the commit message.

> This adds include/linux/falloc.h to the list of files exported by the kernel 
> to the C library. The include file is required for building e.g. a recent 
> util-linux-ng against 2.6.24.
> 
> Starting from 2.6.25 a similar patch has been accepted upstream (the mainline 
> kernel). For 2.6.24, however, falloc.h is not exported although it's present.
> 
> Signed-off-by: Thilo Fromm <t.fromm at dresearch.de>
> ---
>  .../linux-libc-headers/files/export_falloc_h.patch |   10 ++++++++++
>  .../linux-libc-headers_2.6.24.bb                   |    1 +
>  2 files changed, 11 insertions(+), 0 deletions(-)
>  create mode 100644 recipes/linux-libc-headers/files/export_falloc_h.patch
> 
> diff --git a/recipes/linux-libc-headers/files/export_falloc_h.patch b/recipes/linux-libc-headers/files/export_falloc_h.patch
> new file mode 100644
> index 0000000..5860e88
> --- /dev/null
> +++ b/recipes/linux-libc-headers/files/export_falloc_h.patch

Just for the record. Please add the patch header as I wrote in my other
message

> @@ -0,0 +1,10 @@
> +--- a/include/linux/Kbuild	2010-09-27 16:04:29.000000000 +0200
> ++++ b/include/linux/Kbuild	2010-09-27 15:59:06.000000000 +0200
> +@@ -61,6 +61,7 @@
> + header-y += elf.h
> + header-y += elf-em.h
> + header-y += fadvise.h
> ++header-y += falloc.h
> + header-y += fd.h
> + header-y += fdreg.h
> + header-y += fib_rules.h
> diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
> index b90c478..6db6fd1 100644
> --- a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
> +++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
> @@ -6,6 +6,7 @@ PR = "r5"
>  
>  SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
>             file://procinfo.h \
> +           file://export_falloc_h.patch \
>             file://unifdef.patch"
>  
>  S = "${WORKDIR}/linux-${PV}"

I think the next iteration will be ready to be committed.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100930/9bfb0c62/attachment-0002.sig>


More information about the Openembedded-devel mailing list