Re: [OE-core] [PATCH 0/4] make vm + live images can build together

2016-02-28 Thread Robert Yang
Hi Ross, On 02/24/2016 05:23 PM, Robert Yang wrote: Hello, These patches can make vm and live images build together, and also make the images easier to use. I'd like to combine the following classes if you are fine with it: * boot-directdisk.bbclass and image-vm.bbclass into image-vm.bbclass.

Re: [OE-core] [PATCH] npm.bbclass: Add npm class to match fetcher

2016-02-28 Thread Trevor Woerner
On 02/28/16 18:13, Richard Purdie wrote: On Sun, 2016-02-28 at 12:36 -0500, Trevor Woerner wrote: Thanks! I guess I don't have enough "plumbing" quite yet. I have all the master branches of everything I need and I cherry picked Brendan's npm.bbclass but I still get: Ah sorry. I needed bitbake's

Re: [OE-core] [PATCH 6/7] avahi: make dbus optional but default

2016-02-28 Thread Burton, Ross
On 28 February 2016 at 11:39, Jens Rehsack wrote: > +PACKAGECONFIG[dbus] = ",--disable-dbus,dbus" > Add --enable-dbus for clarity, please. > - rm -rf ${D}${datadir}/dbus-1/interfaces > - rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1 > + ${@bb.utils.contains('PACKAGEC

Re: [OE-core] [PATCH] npm.bbclass: Add npm class to match fetcher

2016-02-28 Thread Richard Purdie
On Sun, 2016-02-28 at 12:36 -0500, Trevor Woerner wrote: > On 02/28/16 12:09, Trevor Woerner wrote: > > On 02/28/16 03:32, Richard Purdie wrote: > > > On Sat, 2016-02-27 at 19:53 -0500, Trevor Woerner wrote: > > > > On 02/25/16 10:06, brendan.le.f...@intel.com wrote: > > > > > npm class supports th

Re: [OE-core] [PATCH] sanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transition)

2016-02-28 Thread Richard Purdie
On Sun, 2016-02-28 at 22:11 +0100, Martin Jansa wrote: > Even with: > commit 933088c74870b8c3aa5077d57bc85fc66a652291 > Author: Richard Purdie > Date: Sun Feb 28 15:57:58 2016 + > > bblayers.conf.sample: Fix missing layer version bump > > The sanity.bbclass changes required the lay

Re: [OE-core] [PATCH] sanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transition)

2016-02-28 Thread Martin Jansa
On Sun, Feb 28, 2016 at 03:59:42PM +, Richard Purdie wrote: > On Sun, 2016-02-28 at 13:20 +0100, Andreas Müller wrote: > > On Sun, Feb 28, 2016 at 11:53 AM, Richard Purdie > > wrote: > > > Right now, only one configuration file can be processed > > > (conf/bblayers.conf) > > > and it can only

[OE-core] [dizzy][PATCH 4/4] glibc: CVE-2015-8776

2016-02-28 Thread Armin Kuster
From: Armin Kuster it was found that out-of-range time values passed to the strftime function may cause it to crash, leading to a denial of service, or potentially disclosure information. (From OE-Core rev: b9bc001ee834e4f8f756a2eaf2671aac3324b0ee) Signed-off-by: Armin Kuster Signed-off-by: Ro

[OE-core] [dizzy][PATCH 3/4] glibc: CVE-2015-9761

2016-02-28 Thread Armin Kuster
From: Armin Kuster A stack overflow vulnerability was found in nan* functions that could cause applications which process long strings with the nan function to crash or, potentially, execute arbitrary code. (From OE-Core rev: fd3da8178c8c06b549dbc19ecec40e98ab934d49) Signed-off-by: Armin Kuster

[OE-core] [dizzy][PATCH 2/4] glibc: CVE-2015-8779

2016-02-28 Thread Armin Kuster
From: Armin Kuster A stack overflow vulnerability in the catopen function was found, causing applications which pass long strings to the catopen function to crash or, potentially execute arbitrary code. (From OE-Core rev: af20e323932caba8883c91dac610e1ba2b3d4ab5) Signed-off-by: Armin Kuster Si

[OE-core] [dizzy][PATCH 1/4] glibc: CVE-2015-8777

2016-02-28 Thread Armin Kuster
From: Armin Kuster The process_envvars function in elf/rtld.c in the GNU C Library (aka glibc or libc6) before 2.23 allows local users to bypass a pointer-guarding protection mechanism via a zero value of the LD_POINTER_GUARD environment variable. (From OE-Core rev: 22570ba08d7c6157aec58764c73b1

Re: [OE-core] [PATCH] npm.bbclass: Add npm class to match fetcher

2016-02-28 Thread Trevor Woerner
On 02/28/16 12:09, Trevor Woerner wrote: On 02/28/16 03:32, Richard Purdie wrote: On Sat, 2016-02-27 at 19:53 -0500, Trevor Woerner wrote: On 02/25/16 10:06, brendan.le.f...@intel.com wrote: npm class supports the npm fetcher, helping doing the basic compile/install stages of an npm package A

Re: [OE-core] [PATCH] npm.bbclass: Add npm class to match fetcher

2016-02-28 Thread Trevor Woerner
On 02/28/16 03:32, Richard Purdie wrote: On Sat, 2016-02-27 at 19:53 -0500, Trevor Woerner wrote: On 02/25/16 10:06, brendan.le.f...@intel.com wrote: npm class supports the npm fetcher, helping doing the basic compile/install stages of an npm package Any chance you might have an npm recipe exa

Re: [OE-core] [fido][PATCH 0/7] fido Security fixes pull request

2016-02-28 Thread akuster808
ping On 02/23/2016 07:58 AM, Armin Kuster wrote: > From: Armin Kuster > > Please consider these for the next fido > > This is to meet our obligation for Yocto compatibility > > The following changes since commit 06d9c894636352a6c93711c7284d02b0c794a527: > > libbsd: Security fix CVE-2016-20

Re: [OE-core] [PATCH] sanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transition)

2016-02-28 Thread Richard Purdie
On Sun, 2016-02-28 at 13:20 +0100, Andreas Müller wrote: > On Sun, Feb 28, 2016 at 11:53 AM, Richard Purdie > wrote: > > Right now, only one configuration file can be processed > > (conf/bblayers.conf) > > and it can only have one version number. This is a cause of immense > > friction > > between

Re: [OE-core] [PATCH] sanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transition)

2016-02-28 Thread Andreas Müller
On Sun, Feb 28, 2016 at 11:53 AM, Richard Purdie wrote: > Right now, only one configuration file can be processed (conf/bblayers.conf) > and it can only have one version number. This is a cause of immense friction > between OE-Core and Poky since if one needs a version change, it shouldn't > be fo

[OE-core] [PATCH 7/7] scripts/bashrc: add more user-friendly oe-setup utility

2016-02-28 Thread Jens Rehsack
Move scripts/bashrc from meta-jens/scripts to oe-core to share user-friendly oe builddir management with community. Add few missed features as list contained repositories, used layers or other builddir (in this BSP). Signed-off-by: Jens Rehsack --- scripts/oe-init-bashrc | 494 +

[OE-core] [PATCH 6/7] avahi: make dbus optional but default

2016-02-28 Thread Jens Rehsack
Since do_install fails when dbus is removed by .bbappend, add packageconfig to allow users to get rid of desktop ipc helper dbus. Signed-off-by: Jens Rehsack --- meta/recipes-connectivity/avahi/avahi.inc | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/meta/recipes-co

[OE-core] [PATCH 4/7] udev: udev_run is /run, not /var/run (since ea647cd9 2013-05-26)

2016-02-28 Thread Jens Rehsack
The symlink which is placed by base-files in /var is only a workaround for such problems as long /var is in the same filesystem as /. Fix the problem by using the right run-path. Signed-off-by: Jens Rehsack --- meta/recipes-core/udev/udev.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[OE-core] [PATCH 5/7] wpa-supplicant: use debian wpa contribution to improve ifup/ifdown

2016-02-28 Thread Jens Rehsack
Instead of simplified, self-written start/stop hooks for wpa-supplicant on interfaces coming up or going down, use the more advanced hooks provided by the debian contribution. Since the default behavior in the debian start/stop hooks is log into syslog, which is more reasonable for embedded device

[OE-core] [PATCH RESEND 2/7] ARM: handle missing thumb suffix

2016-02-28 Thread Jens Rehsack
When enabling tune for arm926ejs, poky optionally appends suffixes for thumb and dsp support. Since sometimes arm926ejse (ARM code) and sometime arm926ejste (thumb code) is used in PACKAGE_ARCH, allow both. Signed-off-by: Jens Rehsack --- meta/conf/machine/include/tune-arm926ejs.inc | 2 +- 1 fi

[OE-core] [PATCH RESEND 3/7] linux-firmware: package firmware for Marvell 88W8688

2016-02-28 Thread Jens Rehsack
According to error messages from guruplug [ 35.826441] btmrvl_sdio mmc0:0001:2: Direct firmware load for mrvl/sd8688_helper.bin failed with error -2 [ 35.903291] Bluetooth: request_firmware(helper) failed, error code = -2 [ 35.909942] Bluetooth: Failed to download helper! [ 36.052820] Blu

[OE-core] [PATCH RESEND 1/7] udev: Don't introduce usb or pci dependencies without usb or pci being featured

2016-02-28 Thread Jens Rehsack
Fixes that udev always requires PCI or USB, idenpendently from DISTRO_FEATURES or PACKAGECONFIG. Signed-off-by: Jens Rehsack --- meta/recipes-core/udev/udev.inc | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/meta/recipes-core/udev/udev.inc b/meta/recipes-core/

[OE-core] [PATCH] sanity: Improve configuration upgrade capabilities (support meta-yocto -> poky transition)

2016-02-28 Thread Richard Purdie
Right now, only one configuration file can be processed (conf/bblayers.conf) and it can only have one version number. This is a cause of immense friction between OE-Core and Poky since if one needs a version change, it shouldn't be forced on the other. We'd like to rename the meta-yocto layer (wi

Re: [OE-core] [PATCH] npm.bbclass: Add npm class to match fetcher

2016-02-28 Thread Richard Purdie
On Sat, 2016-02-27 at 19:53 -0500, Trevor Woerner wrote: > On 02/25/16 10:06, brendan.le.f...@intel.com wrote: > > npm class supports the npm fetcher, helping doing the basic > > compile/install > > stages of an npm package > > Any chance you might have an npm recipe example? Maybe something like