Re: [OE-core] [PATCH 07/37] modutils-initscripts: fix wrong order of module loading happening in udev

2011-04-25 Thread Darren Hart
On 04/25/2011 10:14 AM, Gary Thomas wrote: > On 04/25/2011 09:49 AM, Saul Wold wrote: >> On 04/25/2011 05:02 AM, Gary Thomas wrote: >>> On 04/23/2011 12:28 AM, Saul Wold wrote: From: =?UTF-8?q?Petr=20=C5=A0tetiar?= In the current state, udev init script is loaded as 3rd and modu

[OE-core] [PATCH 2/2] cpio-2.8 (GPLv2) bug fix

2011-04-25 Thread Nitin A Kamble
From: Nitin A Kamble Signed-off-by: Nitin A Kamble --- .../cpio/cpio-2.8/avoid_heap_overflow.patch| 25 meta/recipes-extended/cpio/cpio_2.8.bb |6 +++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/cpi

[OE-core] [PATCH 1/2] tar-1.17 (GPLv2) bugfix

2011-04-25 Thread Nitin A Kamble
From: Nitin A Kamble Signed-off-by: Nitin A Kamble --- .../tar/tar-1.17/avoid_heap_overflow.patch | 22 meta/recipes-extended/tar/tar_1.17.bb |3 +- 2 files changed, 24 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-extended/tar/ta

[OE-core] [PATCH 0/2] GPLv2 tar & cpio recipe fixes

2011-04-25 Thread Nitin A Kamble
From: Nitin A Kamble Acked by Scott Garman, who is maintainer of GPLv3 tar & cpio recipes. Pull URL: git://git.pokylinux.org/poky-contrib.git Branch: nitin/misc Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc Thanks, Nitin A Kamble --- Nitin A Kamble (2): t

Re: [OE-core] [RFC] meta-handheld

2011-04-25 Thread Khem Raj
On Sun, Apr 24, 2011 at 2:25 AM, Paul Eggleton wrote: > On Saturday 23 April 2011 00:09:38 Andrea Adami wrote: >> I agree with Richard, for keeping it as meta- group. >> About expectations, at least for Zaurus I don't see problems: vanilla >> 2.6.38 kernel, actual udev, imminent move to xorg-xserv

[OE-core] [PATCH 16/17] linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc

2011-04-25 Thread Khem Raj
Perf wants elfutils and elfutils on uclibc does not work due to its usage of obstack_printf functionality missing from uclibc. Signed-off-by: Khem Raj --- meta/recipes-kernel/linux/linux-tools.inc | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/meta/reci

[OE-core] [PATCH 13/17] perl_5.12.2.bb: Undefine features not found in uclibc

2011-04-25 Thread Khem Raj
Signed-off-by: Khem Raj --- .../perl/perl-5.12.2/native-ssp.patch | 16 meta/recipes-devtools/perl/perl_5.12.2.bb | 16 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 meta/recipes-devtools/perl/perl-5.12.2/native-

[OE-core] [PATCH 10/17] glib-2.0: Inherit gettext should provide right libintl so remove from DEPENDS

2011-04-25 Thread Khem Raj
Add no-iconv.patch to provide dummy libiconv in case of uclibc Signed-off-by: Khem Raj --- meta/recipes-core/glib-2.0/glib-2.0/no-iconv.patch | 104 meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb |4 +- meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb |5 +- m

[OE-core] [PATCH 14/17] xorg-lib: inherit gettext class instead of adding gettext to DEPENDS directly

2011-04-25 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb |4 +++- meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb |4 ++-- meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb |3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/meta/recipes-graphics

[OE-core] [PATCH 11/17] util-linux.inc: remove virtual/libintl from DEPENDS

2011-04-25 Thread Khem Raj
inherit gettext should do it. Signed-off-by: Khem Raj --- meta/recipes-core/util-linux/util-linux.inc |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 913bb1b..447e5b7 10

[OE-core] [PATCH 15/17] attr: Fix compilation on uclibc

2011-04-25 Thread Khem Raj
It needs -lintl added to LDFLAGS for uclibc inherit gettext class instead of adding gettext to DEPENDS directly Signed-off-by: Khem Raj --- meta/recipes-support/attr/attr.inc |4 meta/recipes-support/attr/ea-acl.inc |4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff

[OE-core] [PATCH 17/17] alsa-utils_1.0.23.bb: Fix compilation for uclibc targets

2011-04-25 Thread Khem Raj
Use libc-uclibc override to cover all uclibc cases inherit gettext class instead of adding gettext to DEPENDS directly Signed-off-by: Khem Raj --- meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/meta/recipes-mult

[OE-core] [PATCH 09/17] libiconv: update from 1.9.2 -> 1.11.1

2011-04-25 Thread Khem Raj
1.11.1 was the last LGPLv2 release shared_preloadable_libiconv_linux.patch is needed to make libtool 2.4 happy Autoconf patch is similarly made to point m4 directory and update to newer autoconf Signed-off-by: Khem Raj --- .../libiconv/libiconv-1.11.1/autoconf.patch| 48 ++

[OE-core] [PATCH 08/17] poky-default.inc: Weakly assign gettext to provide virtual/gettext

2011-04-25 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/conf/distro/include/poky-default.inc |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta/conf/distro/include/poky-default.inc b/meta/conf/distro/include/poky-default.inc index 3ec5e1d..91985b3 100644 --- a/meta/conf/distro/include/poky-d

[OE-core] [PATCH 12/17] elfutils_0.148.bb: Fix compilation issues on uclibc

2011-04-25 Thread Khem Raj
* Add -luargp and -lintl to linker flags * __mempcpy is not there on uclibc so define it to mempcpy Signed-off-by: Khem Raj --- .../elfutils/elfutils-0.148/mempcpy.patch | 23 meta/recipes-devtools/elfutils/elfutils_0.148.bb |6 +++- 2 files changed, 27 inse

[OE-core] [PATCH 06/17] gettext: Divide packaging into gettext-runtime and rest

2011-04-25 Thread Khem Raj
This helps in footprint on space constrained systems e.g. uclibc based systems where packaging full gettext just for libintl can be waste of space. Signed-off-by: Khem Raj --- meta/recipes-core/gettext/gettext_0.17.bb | 35 +--- 1 files changed, 31 insertions(+), 4 dele

[OE-core] [PATCH 03/17] insane.bbclass: Checking for NLS too when checking gettext dependency

2011-04-25 Thread Khem Raj
Checking for gettext is not needed when --disable-nls is used Let user know what variant of gettext is missing e.g. gettext-native, gettext-nativesdk etc, reveals a bit more for user Check for virtual/gettext Signed-off-by: Khem Raj --- meta/classes/insane.bbclass |9 + 1 files cha

[OE-core] [PATCH 01/17] gettext.bbclass: Use _append instead of =+

2011-04-25 Thread Khem Raj
Ensure gettext and gettext-native are removed from DEPENDS when not using NLS Use append instead of += to get gettext dependecies processed correctly in all cases Dont remove gettext-native for native recipes as ENABLE_NLS is only for target and not for native recipes Replace using 1 for a boole

[OE-core] [PATCH 05/17] sstate.bbclass: Reduce SSTATE_MANIFESTS assignment to be weak

2011-04-25 Thread Khem Raj
Distributions can then override this variable if needed useful e.g. when building uclibc/eglibc both using same tmpdir Signed-off-by: Khem Raj --- meta/classes/sstate.bbclass |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/ssta

[OE-core] [PATCH 02/17] insane.bbclass: Move code to add function to tasks toward the end

2011-04-25 Thread Khem Raj
Cosmetic change to make syntax highlighters happy Signed-off-by: Khem Raj --- meta/classes/insane.bbclass | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 22a5086..98acf7f 100644 --- a/meta/clas

[OE-core] [PATCH 07/17] gettext_0.17.bb: PROVIDE virtual/gettext and RCONFLICT with proxy-libintl

2011-04-25 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-core/gettext/gettext_0.17.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/gettext/gettext_0.17.bb b/meta/recipes-core/gettext/gettext_0.17.bb index bfcb5ea..ce5fc3e 100644 --- a/meta/recipes-core/gettext/ge

[OE-core] [PATCH 00/17] uclibc support in oe-core v2

2011-04-25 Thread Khem Raj
Here are patches needed on top of oe-core to get uclibc based images building. It incorporates the feedback from last set of patches. On top there is a new virtual package virtual/gettext introduced which is preferred to be gettext but can be overridden e.g. for uclibc it can be set to proxy-libint

[OE-core] [PATCH 04/17] autotools.bbclass: Copy gettext files only if --disable-nls is not set

2011-04-25 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/classes/autotools.bbclass | 19 ++- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 7ebf833..cbd2e96 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/clas

Re: [OE-core] [RFC] don't run make clean on kernel_do_install

2011-04-25 Thread Koen Kooi
Op 25 apr 2011, om 19:10 heeft Darren Hart het volgende geschreven: > Hi Koen, > > On 04/23/2011 07:47 AM, Koen Kooi wrote: >> Hi, >> >> Over the holidays I was trying to build some externel kernel modules >> and they failed to build because linux/bounds.h wasn't in sysroots. >> > > > Accord

Re: [OE-core] [PATCH 07/37] modutils-initscripts: fix wrong order of module loading happening in udev

2011-04-25 Thread Gary Thomas
On 04/25/2011 09:49 AM, Saul Wold wrote: On 04/25/2011 05:02 AM, Gary Thomas wrote: On 04/23/2011 12:28 AM, Saul Wold wrote: From: =?UTF-8?q?Petr=20=C5=A0tetiar?= In the current state, udev init script is loaded as 3rd and modutils.sh as 20th, so udevadm called in udev init script loads all ke

Re: [OE-core] [RFC] don't run make clean on kernel_do_install

2011-04-25 Thread Darren Hart
Hi Koen, On 04/23/2011 07:47 AM, Koen Kooi wrote: > Hi, > > Over the holidays I was trying to build some externel kernel modules > and they failed to build because linux/bounds.h wasn't in sysroots. > According the the linux Makefile: ### # Cleaning is done on three levels. # make clean D

Re: [OE-core] [PATCH 07/37] modutils-initscripts: fix wrong order of module loading happening in udev

2011-04-25 Thread Gary Thomas
On 04/25/2011 10:35 AM, Koen Kooi wrote: Is anyone still using 2.4 kernels? That's what modutils is for, module-init-tools is for 2.6 kernels Good question, hence my confusion over the two recipes. BTW, I just built a 2.4 kernel today, so yes, there are still users... Op 25 apr. 2011 om 17:

Re: [OE-core] [PATCH 07/37] modutils-initscripts: fix wrong order of module loading happening in udev

2011-04-25 Thread Koen Kooi
Is anyone still using 2.4 kernels? That's what modutils is for, module-init-tools is for 2.6 kernels Op 25 apr. 2011 om 17:49 heeft Saul Wold het volgende geschreven: > On 04/25/2011 05:02 AM, Gary Thomas wrote: >> On 04/23/2011 12:28 AM, Saul Wold wrote: >>> From: =?UTF-8?q?Petr=20=C5=A0tetia

Re: [OE-core] [PATCH 07/37] modutils-initscripts: fix wrong order of module loading happening in udev

2011-04-25 Thread Saul Wold
On 04/25/2011 05:02 AM, Gary Thomas wrote: On 04/23/2011 12:28 AM, Saul Wold wrote: From: =?UTF-8?q?Petr=20=C5=A0tetiar?= In the current state, udev init script is loaded as 3rd and modutils.sh as 20th, so udevadm called in udev init script loads all kernel modules in some unpredictable order,

Re: [OE-core] [PATCH 07/37] modutils-initscripts: fix wrong order of module loading happening in udev

2011-04-25 Thread Gary Thomas
On 04/23/2011 12:28 AM, Saul Wold wrote: From: =?UTF-8?q?Petr=20=C5=A0tetiar?= In the current state, udev init script is loaded as 3rd and modutils.sh as 20th, so udevadm called in udev init script loads all kernel modules in some unpredictable order, not honoring in any way specified order of m

Re: [OE-core] gdb and lttng-ust 0.12

2011-04-25 Thread Cui, Dexuan
Hi Saul, Due to the API change in ust-0.12, we'll have to wait upstream gdb's fix (I verified the latest gdb snapshot gdb-7.2.90.20110425 has the same issue. I will report a bug in gdb bugzilla) . I've reported http://bugzilla.pokylinux.org/show_bug.cgi?id=1005 to record this issue. Thanks, --

[OE-core] [PATCH 3/3] gdb: set --without-ust for EXTRA_OEFLAGS

2011-04-25 Thread Saul Wold
From: Saul Wold Disable using UST since there are some compiler errors with the newer version of lttng-ust 0.12, there may be other unknow problems, so wait for upstream fixes. Signed-off-by: Saul Wold --- meta/recipes-devtools/gdb/gdb-common.inc |4 +++- 1 files changed, 3 insertions(+),