[OE-core] [PATCH] Revert update-rc.d: disable update-rc.d.bbclass when systemd enabled

2013-02-07 Thread Ross Burton
This was just wrong - when systemd is being used there'll still be packages that use SysV-style init scripts, which systemd supports fine. This reverts commit b94227f7290796f6ebbe5c5ff1680b9b689022b1. Signed-off-by: Ross Burton ross.bur...@intel.com --- meta/classes/update-rc.d.bbclass |

Re: [OE-core] Multiple MACHINE building is broken in OE-core?

2013-02-07 Thread Cooper Jr., Franklin
I found what the problem was. Some machine config file defined TARGET_ARCH = arm and others did not. By default bitbake conf file sets TARGET_ARCH = ${TUNE_ARCH}. Although when evaluated TUNE_ARCH is set to arm. Using that diffsig tool bitbake gave different checksums because a change in task

Re: [OE-core] [PATCH 1/1][danny] crosstap: handle hyphenated x86_64 target arch

2013-02-07 Thread Burton, Ross
On 6 February 2013 15:40, tom.zanu...@linux.intel.com wrote: From: Tom Zanussi tom.zanu...@linux.intel.com systemtap_target_arch() should also translate x86-64 (hyphenated) into x86_64 for the -a param. Failing to do that causes systemtap to see an architecture mismatch and create a cloned

Re: [OE-core] [PATCH] qemu: Enabled SDL when compiling for target architecture

2013-02-07 Thread Saul Wold
On 02/06/2013 04:12 AM, Mihai Prica wrote: - enables qemu to run images with video output without the need for vncviewer. - SDLPACKAGECONFIG is used because there is no need for the native-libsdl package when building the qemu-native package. Signed-off-by: Mihai Prica mihai.pr...@intel.com ---

Re: [OE-core] [PATCH] qemu: Enabled SDL when compiling for target architecture

2013-02-07 Thread Prica, Mihai
-Original Message- From: Saul Wold [mailto:s...@linux.intel.com] Sent: Wednesday, February 06, 2013 7:41 PM To: Prica, Mihai Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH] qemu: Enabled SDL when compiling for target architecture On 02/06/2013 04:12

[OE-core] [PATCH] libpfm4: exclude from world

2013-02-07 Thread Martin Jansa
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb b/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb index 460029f..438dbc3 100644 ---

Re: [OE-core] [PATCH 1/8] add fontcache.bbclass

2013-02-07 Thread Marcin Juszkiewicz
W dniu 05.02.2013 10:34, Laurentiu Palcu pisze: All font packages should inherit this class in order to generate the proper postinst/postrm scriptlets. The scriptlets will actually create a host intercept hook that will be executed at the end, at do_rootfs time, after all packages have been

Re: [OE-core] OpenGL as a DISTRO_FEATURE

2013-02-07 Thread Andrei Gherzan
O conclusion on this topic would be great. There are a lot of people waiting for a fix on this topic. On Tue, Feb 5, 2013 at 10:58 PM, Tomas Frydrych tf+lists.yo...@r-finger.com wrote: Hi Ross, On 03/02/13 23:35, Ross Burton wrote: On Sunday, 3 February 2013 at 21:33, Marcin Juszkiewicz

[OE-core] [PATCH] systemd_197.bb: Point to the place where we keep the /etc/rcN.d files

2013-02-07 Thread Holger Hans Peter Freyther
By default /etc/rc.d is searched by systemd but we will keep rcN.d directories inside /etc. --- meta/recipes-core/systemd/systemd_197.bb |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb

Re: [OE-core] [oe-commits] Laurentiu Palcu : add fontcache.bbclass

2013-02-07 Thread Martin Jansa
On Wed, Feb 06, 2013 at 10:17:10PM +0100, Martin Jansa wrote: On Wed, Feb 06, 2013 at 02:08:41PM +0200, Laurentiu Palcu wrote: On 02/06/2013 01:56 PM, Martin Jansa wrote: Fails in do_rootfs here, but without any details in log: Building from feeds activated! Running intercept

[OE-core] Bitbake 1.17.1 tar file not available

2013-02-07 Thread Giuseppe CONDORELLI
Hi All, Today I pulled changes in local from OE-Core master repository. Running a build I'm failing because bitbake 1.71.1 is requested and I've the 1.17.0 instead. The tar file is not yet available looking at the openemebedded site. Do I have to clone also bitbake to have the bsf sources?

[OE-core] [PATCH] systemd_197.bb: Point to the place where we keep the /etc/rcN.d files

2013-02-07 Thread Holger Hans Peter Freyther
By default /etc/rc.d is searched by systemd but we will keep rcN.d directories inside /etc. --- meta/recipes-core/systemd/systemd_197.bb |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb

Re: [OE-core] [oe-commits] Laurentiu Palcu : add fontcache.bbclass

2013-02-07 Thread Martin Jansa
On Wed, Feb 06, 2013 at 02:08:41PM +0200, Laurentiu Palcu wrote: On 02/06/2013 01:56 PM, Martin Jansa wrote: Fails in do_rootfs here, but without any details in log: Building from feeds activated! Running intercept scripts: Executing update_font_cache ERROR: Function failed:

[OE-core] [PATCH 0/1] fix segfaults when running qemu through pseudo

2013-02-07 Thread Laurentiu Palcu
The following changes since commit 9f5a6f89d9f4a6c7bed3b163e6eaa764d762f523: qemu.bbclass: Use the correct qemu binary in multilib cases (2013-02-07 15:25:07 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib lpalcu/qemu_segfault_fix

Re: [OE-core] [oe-commits] Laurentiu Palcu : add fontcache.bbclass

2013-02-07 Thread Richard Purdie
On Thu, 2013-02-07 at 00:34 +0100, Martin Jansa wrote: On Wed, Feb 06, 2013 at 10:17:10PM +0100, Martin Jansa wrote: On Wed, Feb 06, 2013 at 02:08:41PM +0200, Laurentiu Palcu wrote: It fails only on some machines I'm building (3 machines from 6) and only sometimes (last run it was only on

Re: [OE-core] [PATCH 1/8] add fontcache.bbclass

2013-02-07 Thread Richard Purdie
On Thu, 2013-02-07 at 16:38 +0100, Marcin Juszkiewicz wrote: W dniu 05.02.2013 10:34, Laurentiu Palcu pisze: All font packages should inherit this class in order to generate the proper postinst/postrm scriptlets. The scriptlets will actually create a host intercept hook that will be

Re: [OE-core] [PATCH] libpfm4: exclude from world

2013-02-07 Thread Saul Wold
On 02/07/2013 06:33 AM, Martin Jansa wrote: Signed-off-by: Martin Jansa martin.ja...@gmail.com --- meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb b/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb

[OE-core] [PATCH] Bugfixes for create-recipe easy_install handling.

2013-02-07 Thread David Nyström
1. Tell easy_install to always download, regardless of python install content. 2. Support https/ftp et.c. URLs provided by easy_install Signed-off-by: David Nyström david.nyst...@enea.com --- scripts/create-recipe |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [OE-core] [PATCH 1/8] add fontcache.bbclass

2013-02-07 Thread Phil Blundell
On Thu, 2013-02-07 at 16:38 +0100, Marcin Juszkiewicz wrote: +${@qemu_run_binary(d, '$D', '/usr/bin/fc-cache')} --sysroot=$D /dev/null 21 What about platform which do not have qemu support? Like AArch64... There are other places in the oe-core tree that already require working qemu support so I

[OE-core] [WR PATCH 0/2] Local WR patches -- sent for YP compliance

2013-02-07 Thread Mark Hatle
Due to the requirements of the Yocto Project, we are required to send out all of our patches to oe-core, even if we don't believe they are generally useful. This patch set includes two such patches. The first bumps the required git version, before the system builds it's own... The second

[OE-core] [WR PATCH 1/2] Require git 1.7.7

2013-02-07 Thread Mark Hatle
From: Jeff Polk jeff.p...@windriver.com Due to some unique processes that we use, outside of OE-Core, we need to mandate git 1.7.7 as the older allowed version. This version contains a fix that correctly handles reference clones which we use for our RCPL updates. Signed-off-by: Jeff Polk

[OE-core] [WR PATCH 2/2] Add directory information to the pkgdata files

2013-02-07 Thread Mark Hatle
[ CQID: WIND00401773 ] Add S(ource) and B(uild) directory information to the recipe pkgdata files. This allows external tools to find the appropriate information, and be able to easily access the corresponding sources and build directories. Signed-off-by: Mark Hatle mark.ha...@windriver.com ---

[OE-core] [denzil 01/18] Patch ocf-linux.inc to work with the 2010 and 2012 versions

2013-02-07 Thread Mark Hatle
From: dhall dennis.h...@windriver.com The 2010 version of the ocf-linux package contains an embedded tar file that has to be expanded. The 2012 version of the package comes with the contents of the tar file extracted in the source tree. This patch to ocf-linux.inc allows it to handle both

[OE-core] [denzil 03/18] Security Advisory - libexif - CVE-2012-2812

2013-02-07 Thread Mark Hatle
From: Yue Tao yue@windriver.com [ CQID: WIND00366794 ] The exif_entry_get_value function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service (out-of-bounds read) or possibly obtain sensitive information from process

[OE-core] [denzil 04/18] Security Advisory - libexif - CVE-2012-2841

2013-02-07 Thread Mark Hatle
From: Yue Tao yue@windriver.com [ CQID: WIND00366809 ] Integer underflow in the exif_entry_get_value function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) 0.6.20 might allow remote attackers to execute arbitrary code via vectors involving a crafted buffer-size parameter

[OE-core] [denzil 06/18] Security Advisory - libexif - CVE-2012-2837

2013-02-07 Thread Mark Hatle
From: Yue Tao yue@windriver.com [ CQID: WIND00366798 ] The mnote_olympus_entry_get_value function in olympus/mnote-olympus-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service (divide-by-zero error) via an image with crafted

[OE-core] [denzil 07/18] Security Advisory - libexif - CVE-2012-2840

2013-02-07 Thread Mark Hatle
From: Yue Tao yue@windriver.com [ CQID: WIND00366793 ] Off-by-one error in the exif_convert_utf16_to_utf8 function in exif-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service or possibly execute arbitrary code via crafted

[OE-core] [denzil 08/18] Summary:Security Advisory - libtiff - CVE-2012-3401

2013-02-07 Thread Mark Hatle
From: Wei Cai wei@windriver.com [ CQID: WIND00374012 ] A heap-based buffer overflow flaw was found in the way tiff2pdf, a TIFF image to a PDF document conversion tool, of libtiff, a library of functions for manipulating TIFF (Tagged Image File Format) image format files, performed write of

[OE-core] [denzil 10/18] qemu: Add an option to remove host sdl/gl checking

2013-02-07 Thread Mark Hatle
From: Zhai Edwin edwin.z...@intel.com Add an PACKAGECONFIG in qemu to disable GL acceleration: * By default configure try best to enable GL acceleration and fail when missing host dependency(libSDL and libGL). * End user can also choose to turn off GL capability, thus remove the host

[OE-core] [denzil 11/18] qemu-0.15.1: add patch to fix compilatation problems on powerpc

2013-02-07 Thread Mark Hatle
From: Matthew McClintock m...@freescale.com ERROR: Function failed: do_compile (see /opt/yocto/cache-build/p5020ds-64b/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/qemu-0.15.1-r6/temp/log.do_compile.28447 for further information) ERROR: Logfile of failure stored in:

[OE-core] [denzil 12/18] qemu: Fix illegal instruction errors on e500 emulation

2013-02-07 Thread Mark Hatle
From: Khem Raj raj.k...@gmail.com I caught this when running user mode qemu for ppc/e500 applications which had SPE instructions in them will abort with illegal instruction error all the time. The patch is already applied upstream we needed a backport into 0.15.x Signed-off-by: Khem Raj

[OE-core] [denzil 18/18] qemu-0.15.1: Add addition environment space to boot loader qemu-system-mips

2013-02-07 Thread Mark Hatle
From: Jason Wessel jason.wes...@windriver.com [ CQID: WIND00401085 ] The qemu mips malta base board boot loader uses environment strings with a max length of 256 bytes which is not long enough to accommodate a long NFS path in addition to the normal kernel boot command line arguments. The

[OE-core] [denzil 13/18] qemu: backport patch to fix pl031 RTC

2013-02-07 Thread Mark Hatle
From: Roy.Li rongqing...@windriver.com Intergrate the patch from: http://repo.or.cz/w/qemu.git/commit/13a16f1d91fc7a46b65b22a33f6ffea1b826a097 Signed-off-by: Roy.Li rongqing...@windriver.com Signed-off-by: Saul Wold s...@linux.intel.com (master rev: a2a47ebfc3c8afa93bbf28e4a243538ea61079ac)

[OE-core] [denzil 15/18] qemu CVE-2012-3515

2013-02-07 Thread Mark Hatle
From: Li Wang li.w...@windriver.com [ CQID: WIND00392008 ] the patch come from: http://xenbits.xen.org/gitweb/?p=qemu-upstream-unstable.git;a=commit;h=87650d262dea07c955a683dcac75db86477c7ee3 console: bounds check whenever changing the cursor due to an escape code This is XSA-17 / CVE-2012-3515

[OE-core] [PATCH 01/11] populate_sdk_base.bbclass: add execution permission for self-extracting archive

2013-02-07 Thread Mark Hatle
From: Jackie Huang jackie.hu...@windriver.com [ CQID: WIND00392947 ] It is not good user experience that the self-extracting archive (.sh file) has no execution permission by default. Signed-off-by: Jackie Huang jackie.hu...@windriver.com Signed-off-by: Robert Yang liezhi.y...@windriver.com

[OE-core] [PATCH 06/11] eglibc-nativesdk: Fix buffer overrun with a relocated SDK

2013-02-07 Thread Mark Hatle
From: Jason Wessel jason.wes...@windriver.com When ld-linux-*.so.2 is relocated to a path that is longer than the original fixed location, the dynamic loader will crash in open_path because it implicitly assumes that max_dirnamelen is a fixed size that never changes. The allocated buffer will

[OE-core] [PATCH 02/11] ghostscript: add pregenerated objarch for mipsel/mips64/mips64el

2013-02-07 Thread Mark Hatle
From: Jesse Zhang sen.zh...@windriver.com [ CQID: WIND00389504 ] Generated by building and running base/genarch.c. Signed-off-by: Jesse Zhang sen.zh...@windriver.com Signed-off-by: Robert Yang liezhi.y...@windriver.com Signed-off-by: Mark Hatle mark.ha...@windriver.com ---

[OE-core] [denzil 16/18] lighttpd: fixing invalid read in valgrind

2013-02-07 Thread Mark Hatle
From: Li Wang li.w...@windriver.com [ CQID: WIND00393362 ] Fix handling of empty header list entries in http_request_split_value, fixing invalid read in valgrind (fixes #2413) http://redmine.lighttpd.net/issues/2413 http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2830

[OE-core] [PATCH 05/11] ghostscript: fix endianness detection

2013-02-07 Thread Mark Hatle
From: Jesse Zhang sen.zh...@windriver.com [ CQID: WIND00394747 ] The original patch removes endianness detection completely, causing lcms to be built against the wrong endian. Instead, pass the correct endian through the recipe using SITEINFO_ENDIANNESS. Signed-off-by: Jesse Zhang

[OE-core] [PATCH 03/11] libart-lgpl: add art_config for mips64/mips64el

2013-02-07 Thread Mark Hatle
From: Jesse Zhang sen.zh...@windriver.com [ CQID: WIND00389505 ] Generated by gen_art_config.sh Signed-off-by: Jesse Zhang sen.zh...@windriver.com Signed-off-by: Robert Yang liezhi.y...@windriver.com Signed-off-by: Mark Hatle mark.ha...@windriver.com ---

[OE-core] [PATCH 11/11] udev: Add start/stop/status/restart support to init script

2013-02-07 Thread Mark Hatle
From: Jesse Zhang sen.zh...@windriver.com [ CQID: WIND00388860 ] Add the ability to use stop, start, restart and status with the udev initscript. Signed-off-by: Jesse Zhang sen.zh...@windriver.com Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-core/udev/udev/init | 113

[OE-core] [PATCH 04/11] openssl: Add mips64 configure support.

2013-02-07 Thread Mark Hatle
From: Randy MacLeod randy.macl...@windriver.com Add mips64 configure support but assume mips(32) userspace. Signed-off-by: Randy MacLeod randy.macl...@windriver.com Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-connectivity/openssl/openssl.inc | 3 +++ 1 file changed, 3

[OE-core] [PATCH 07/11] coreutils: remove dependency on coreutils-native

2013-02-07 Thread Mark Hatle
From: Jesse Zhang sen.zh...@windriver.com [ CQID: WIND00397793 ] It's not reasonable to build such a low-level package. Remove the dependency so that we always use the host version. The 8.14 recipe doesn't have such dependency so needs no change. Signed-off-by: Jesse Zhang

[OE-core] [PATCH 00/11] Various fixes for master

2013-02-07 Thread Mark Hatle
Various fixes that apply to master. The following changes since commit 688e9485980de0f29aa00e24ce53a3efd3a3a7cc: qemu.bbclass: fix segfaults when running through pseudo are available in the git repository at: git://git.yoctoproject.org/poky-contrib mhatle/wr-master Jackie Huang (1):

[OE-core] [PATCH 09/11] libcgroup: fix failure for absolute path

2013-02-07 Thread Mark Hatle
From: Xin Ouyang xin.ouy...@windriver.com [ CQID: WIND00401091 ] While using sstate or some other conditions, there may be no image directory in the builddir, so the absolute path of libcgroup.so.1 will cause build failures. Signed-off-by: Xin Ouyang xin.ouy...@windriver.com Signed-off-by:

[OE-core] [denzil 17/18] lighttpd: CVE-2012-5533

2013-02-07 Thread Mark Hatle
From: Li Wang li.w...@windriver.com [ CQID: WIND00392071 ] fix DoS in Connection header value split. http://download.lighttpd.net/lighttpd/security/lighttpd_sa_2012_01.txt http://download.lighttpd.net/lighttpd/security/lighttpd-1.4.31_fix_connection_header_dos.patch Signed-off-by: Li Wang

[OE-core] [denzil 14/18] nativesdk-qemu: fix SDK relocation issue

2013-02-07 Thread Mark Hatle
From: Laurentiu Palcu laurentiu.pa...@intel.com User mode emulation binaries are linked using a local linker script. The nativesdk ones were not used and the resulting binaries did not have the interp section resized. Hence, those binaries could not be relocated. [YOCTO #3083] (master rev:

[OE-core] [PATCH 10/11] initscripts: Add status function to /etc/init.d/functions

2013-02-07 Thread Mark Hatle
From: Jesse Zhang sen.zh...@windriver.com [ CQID: WIND00388860 ] Many initscripts want a simple way to display status information. Add the 'status' function to the functions file. Signed-off-by: Jesse Zhang sen.zh...@windriver.com Signed-off-by: Mark Hatle mark.ha...@windriver.com ---

[OE-core] [PATCH 08/11] rt-tests: fix cyclictest reported 1 sec latencies

2013-02-07 Thread Mark Hatle
From: Jim Somerville jim.somervi...@windriver.com [ CQID: WIND00391769 ] Huge latencies reported close to 1 second when certain options are used in cyclictest. Extend the original commit to remove the 1 second hardcoded timer values from the RELTIME and ITIMER options. Use the the actual

Re: [OE-core] [oe-core][PATCH] connman: added recipe libconnman-qt

2013-02-07 Thread Felipe Ferreri Tonello
On 02/05/2013 02:58 PM, Ross Burton wrote: On Tuesday, 5 February 2013 at 22:07, Felipe Ferreri Tonello wrote: I chose this path because there is also a front-end library for connman for gnome in the same directory. It's not a library, it's a UI. To be honest, I'd happily see it move to

[OE-core] [PATCH] dbus: Drop old 1.5.12 version

2013-02-07 Thread Richard Purdie
We have a newer default version... Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org --- diff --git a/meta/recipes-core/dbus/dbus-1.5.12/dbus-1.init b/meta/recipes-core/dbus/dbus-1.5.12/dbus-1.init deleted file mode 100644 index 17b58ed..000 ---

[OE-core] [PATCH] dbus-native: Don't install dbus-launch

2013-02-07 Thread Richard Purdie
dbus-launch from dbus-native has no X support so lets not install it in case the host has a more featured and useful version. It can interfere with running X utils with STAGING_BINDIR_NATIVE is in PATH and we don' use it anywhere. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org

Re: [OE-core] [oe-commits] Matthew McClintock : libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc

2013-02-07 Thread Martin Jansa
On Wed, Feb 06, 2013 at 09:38:03AM +, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: 52c94978992d9084d685d4999064a8cee35220d1 URL: http://git.openembedded.org/?p=openembedded-core.gita=commit;h=52c94978992d9084d685d4999064a8cee35220d1 Author:

[OE-core] [PATCH][for-danny] relocate_sdk.py: new interpreter string was not '\0' terminated

2013-02-07 Thread Denys Dmytriyenko
From: Laurentiu Palcu laurentiu.pa...@intel.com The problem: SDK binaries were not properly relocated when the SDK was installed into a path that had a length less than the default one. Apparently, there were two problems here: the padding was done wrong (the size of one program header table

[OE-core] tinylogin ends up with group/user id 1000

2013-02-07 Thread Kyle Farnsworth
tinylogin installs the executable using the mode setting -m 4755 which sets the userID bit (-rwsr-xr-x). From what I read that seems like the right thing to do. But when it gets added to the rootfs image it ends up with a group and user id = 1000. Then when getty attempts to login I get this