[OE-core] [PATCH v2] recipes-devtools: fix segfault in lib32-gcc with "." multilib_dir

2014-06-26 Thread Paul Gortmaker
When enabling a lib32-gcc in a 64 bit build, without doing any other configuration, the mutilib dir is unspecified, which is represented internally in gcc as "." and as such uncovers an invalid free on a non-malloc'd pointer. As suggested by the gcc folks, simply make sure the "." case is also sto

Re: [OE-core] [PATCH 1/2] udev: update init script for conditional probing of platform bus

2014-06-26 Thread Denys Dmytriyenko
On Wed, Jun 25, 2014 at 11:41:05PM +0100, Richard Purdie wrote: > On Wed, 2014-06-25 at 12:22 -0400, Denys Dmytriyenko wrote: > > On Wed, Jun 25, 2014 at 05:20:23PM +0100, Paul Eggleton wrote: > > > On Tuesday 24 June 2014 20:52:55 Denys Dmytriyenko wrote: > > > > Ping? Any comments? Any better sug

Re: [OE-core] [daisy][PATCH 1/2] udev: update init script for conditional probing of platform bus

2014-06-26 Thread Otavio Salvador
On Wed, Jun 25, 2014 at 1:19 PM, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > Make probing of "platform" bus conditional based on PROBE_PLATFORM_BUS > variable from /etc/default/udev-cache on subsequent boots when udev > cache is used. PROBE_PLATFORM_BUS has to be set to "yes" in order

Re: [OE-core] [daisy][PATCH 2/2] udev-cache.default: set PROBE_PLATFORM_BUS to "yes" by default

2014-06-26 Thread Otavio Salvador
On Wed, Jun 25, 2014 at 1:19 PM, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > Force probing of "platform" bus by default. > > Signed-off-by: Denys Dmytriyenko > Signed-off-by: Richard Purdie > > [Backport from OE-Core/master 6aae37c66fb6e7153b829ad860b7e7f94e804bd4] > Signed-off-by: D

Re: [OE-core] [PATCH 1/2] udev: update init script for conditional probing of platform bus

2014-06-26 Thread Otavio Salvador
On Thu, Jun 19, 2014 at 7:53 PM, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > > Make probing of "platform" bus conditional based on PROBE_PLATFORM_BUS > variable from /etc/default/udev-cache on subsequent boots when udev > cache is used. PROBE_PLATFORM_BUS has to be set to "yes" in order

Re: [OE-core] [PATCH] image.bbclass: Ensure IMAGE_FSTYPES is fully evaluated before live/live logic

2014-06-26 Thread Otavio Salvador
On Thu, Jun 26, 2014 at 9:27 AM, Tom Rini wrote: > Incase we have overrides applied to IMAGE_FSTYPES we need to make sure > that we evaluate it fully before performing the live and vmdk logic > checks. > > Signed-off-by: Tom Rini Do you have an example how it used to fail? -- Otavio Salvador

[OE-core] [PATCH] classes/kernel: Use full path for symlink in update-alternatives.

2014-06-26 Thread Drew Moseley
Use a fully qualified path for the parameter in calls to update-alternatives. The chkconfig-alternatives version requires a full path and without it, the symlink is not properly created. Signed-off-by: Drew Moseley --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 delet

[OE-core] [PATCH] classes/kernel: Use full path for symlink in update-alternatives.

2014-06-26 Thread Drew Moseley
Use a fully qualified path for the parameter in calls to update-alternatives. The chkconfig-alternatives version requires a full path and without it, the symlink is not properly created. Signed-off-by: Drew Moseley --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: [OE-core] [PATCH] patch.bbclass: unset TMPDIR after use

2014-06-26 Thread Burton, Ross
I forgot to say that Robert sent almost exactly this patch last year but I nacked it because the TMPDIR assignment should happen when patch is exec'd. I'm not so sure now as that would cause an unnecessary overhead to patching. Ross On 26 June 2014 15:16, Ross Burton wrote: > GNU Patch < 2.6.1

[OE-core] [PATCH] patch.bbclass: unset TMPDIR after use

2014-06-26 Thread Ross Burton
GNU Patch < 2.6.1 has a race condition so we create a per-instance TMPDIR to avoid this. This was implemented by setting os.environ[TMPDIR] but at the end of do_patch the temporary directory is deleted but TMPDIR is not unset. In general this doesn't cause a problem but if do_patch is embedded in

[OE-core] [PATCH] resolvconf/initscripts: Change resolv.conf generation for sysvinit

2014-06-26 Thread Jate Sujjavanich
The resolv.conf link generated by initscripts causes a warning with resolvconf. The resolvconf script expects a different target. Use the ALTERNATIVES system to create the link via populate-volatiles.sh. Signed-off-by: Jate Sujjavanich --- .../resolvconf/files/volatiles_resolv-conf |

Re: [OE-core] [PATCH] u-boot-fw-utils: install config file

2014-06-26 Thread Tom Rini
On Thu, Jun 26, 2014 at 03:34:07PM +0200, Maxin B. John wrote: > Hi Tom, > > On Thu, Jun 26, 2014 at 08:27:00AM -0400, Tom Rini wrote: > > On Wed, Jun 25, 2014 at 11:13:59AM +0200, Maxin B. John wrote: > > > From: "Maxin B. John" > > > > > > > + install -m 0644 ${S}/tools/env/fw_env.config >

Re: [OE-core] [PATCH] u-boot-fw-utils: install config file

2014-06-26 Thread Maxin B. John
Hi Tom, On Thu, Jun 26, 2014 at 08:27:00AM -0400, Tom Rini wrote: > On Wed, Jun 25, 2014 at 11:13:59AM +0200, Maxin B. John wrote: > > From: "Maxin B. John" > > > > + install -m 0644 ${S}/tools/env/fw_env.config > > ${D}${sysconfdir}/fw_env.config > > } > > > > PACKAGE_ARCH = "${MACHINE_A

Re: [OE-core] [PATCH] u-boot-fw-utils: install config file

2014-06-26 Thread Tom Rini
On Wed, Jun 25, 2014 at 11:13:59AM +0200, Maxin B. John wrote: > From: "Maxin B. John" > > The on-target fw_printenv and fw_setenv needs configuration file > (fw_env.config) to be present in the target. > > Signed-off-by: Maxin B. John > --- > meta/recipes-bsp/u-boot/u-boot-fw-utils_2013.07.bb

[OE-core] [PATCH] image.bbclass: Ensure IMAGE_FSTYPES is fully evaluated before live/live logic

2014-06-26 Thread Tom Rini
Incase we have overrides applied to IMAGE_FSTYPES we need to make sure that we evaluate it fully before performing the live and vmdk logic checks. Signed-off-by: Tom Rini --- meta/classes/image.bbclass | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/classes/imag

[OE-core] [PATCH] libusb: add missing build dependency on udev

2014-06-26 Thread Fabien Chereau
This fixes the ./configure error in case libusb is built before udev/systemd. Signed-off-by: Fabien Chereau --- meta/recipes-support/libusb/libusb1_1.0.19.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/libusb/libusb1_1.0.19.bb b/meta/recipes-support/libusb/libusb1