[OE-core] [PATCH] valgrind: enable rt_sigpending syscall on ppc64 linux

2015-08-24 Thread Li Zhou
When running one application under Valgrind on ppc64 arch, we got a missing syscall error. Get upstream patch from valgrind website to enable rt_sigpending syscall on ppc64 linux. Signed-off-by: Li Zhou --- ...able-rt_sigpending-syscall-on-ppc64-linux.patch | 35 meta/reci

Re: [OE-core] [PATCH] base-files: Fix LSB NG Cases.

2015-08-24 Thread Li, Xin
Ping Thanks >-Original Message- >From: Li, Xin/李 欣 >Sent: Thursday, June 04, 2015 4:53 PM >To: openembedded-core@lists.openembedded.org >Cc: Li, Xin/李 欣 >Subject: [OE-core][PATCH] base-files: Fix LSB NG Cases. > >-/tset/LSB.fhs/var/tmp/tmp-tc. > >The LSB Core test requires the /var/tmp di

Re: [OE-core] [PATCH] util-linux: add user uuidd and group uuidd

2015-08-24 Thread Li, Xin
Ping Thanks >-Original Message- >From: Li, Xin/李 欣 >Sent: Thursday, June 25, 2015 4:56 PM >To: openembedded-core@lists.openembedded.org >Cc: Li, Xin/李 欣 >Subject: [OE-core][PATCH] util-linux: add user uuidd and group uuidd > >it is need to start uuidd.service. > >Signed-off-by: Li Xin >--

Re: [OE-core] [PATCH] xmlto: xsltproc is required by both native and target

2015-08-24 Thread Rongqing Li
On 2015年08月25日 00:18, Burton, Ross wrote: On 24 August 2015 at 04:19, mailto:rongqing...@windriver.com>> wrote: @@ -20,9 +20,7 @@ RDEPENDS_${PN} = "docbook-xml-dtd4 \ util-linux \ libxml2 \ bash \ -" -RDEPENDS

Re: [OE-core] [PATCH 2/5] libatomic-ops: move to recipes-support, fix recipe name

2015-08-24 Thread Khem Raj
> On Aug 24, 2015, at 3:19 PM, Christopher Larson wrote: > > - This recipe is useful for more than just pulseaudio, so move it to > recipes-support. > - Rename to the correct upstream name, which corresponds to the library name. > Keep a PROVIDES of libatomics-ops for compatibility. > There

Re: [OE-core] [PATCH v2] openssh: build regression test binaries

2015-08-24 Thread Khem Raj
> On Aug 20, 2015, at 5:05 AM, Jussi Kukkonen wrote: > > ptests were failing and many more were being silently skipped because > required binaries were not being built. > > Build the binaries in regress/ and set SUDO environment variable in > run-ptests: after this all tests in regress/ are now

Re: [OE-core] Fwd: Re: [PATCH 2/2 v2] libcap-ng: add package 0.7.7

2015-08-24 Thread Khem Raj
On Mon, Aug 24, 2015 at 3:53 PM, Randy MacLeod wrote: > Parsing time and probably memory used scale ~ linearly with the number > of recipes, so that's a *bit* of a concern especially since it's > > 500 additional recipes or an increase of > 25% for our distro > but it's not the top issue. > > >

Re: [OE-core] [PATCH 2/2 v2] libcap-ng: add package 0.7.7

2015-08-24 Thread Khem Raj
On Mon, Aug 24, 2015 at 3:27 PM, Mark Hatle wrote: > I agree BTW that it's the wrong answer to say since it's used in multiple > places > that it belongs in oe-core. > > HOWEVER, in this case, I think the use in multiple places is a reasonable > justification that it's a commonly used, and potent

[OE-core] Fwd: Re: [PATCH 2/2 v2] libcap-ng: add package 0.7.7

2015-08-24 Thread Randy MacLeod
On 2015-08-21 09:14 PM, Andre McCurdy wrote:> On Fri, Aug 21, 2015 at 5:55 PM, Randy MacLeod > wrote: >> On 2015-08-21 03:25 AM, Khem Raj wrote: >>> >>> On Thu, Aug 20, 2015 at 10:38 PM, wrote: From: Wenzong Fan Pull package from meta-oe to oe-core: meta-oe

Re: [OE-core] [PATCH 2/2 v2] libcap-ng: add package 0.7.7

2015-08-24 Thread Mark Hatle
On 8/21/15 8:14 PM, Andre McCurdy wrote: > On Fri, Aug 21, 2015 at 5:55 PM, Randy MacLeod > wrote: >> On 2015-08-21 03:25 AM, Khem Raj wrote: >>> >>> On Thu, Aug 20, 2015 at 10:38 PM, wrote: From: Wenzong Fan Pull package from meta-oe to oe-core: meta-oe commit: bce4dba

Re: [OE-core] [PATCH 2/2 v2] libcap-ng: add package 0.7.7

2015-08-24 Thread Mark Hatle
On 8/21/15 2:25 AM, Khem Raj wrote: > On Thu, Aug 20, 2015 at 10:38 PM, wrote: >> From: Wenzong Fan >> >> Pull package from meta-oe to oe-core: >> meta-oe commit: bce4dba5546480c8e43c6442959ac7d0a4ef32f6 >> >> The libcap-ng library is intended to make programming with posix >> capabilities much

[OE-core] [PATCH 4/5] pulseaudio: pass --with-systemduserunitdir

2015-08-24 Thread Christopher Larson
From: Christopher Larson We want to make sure our path variables are obeyed. Signed-off-by: Christopher Larson --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/rec

[OE-core] [PATCH 5/5] pulseaudio: add 'autospawn-for-root' PACKAGECONFIG

2015-08-24 Thread Christopher Larson
From: Christopher Larson Since many embedded systems don't have non-root users, it's useful to be able to use pulseaudio autospawn for root as well. Signed-off-by: Christopher Larson --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 18 ++ 1 file changed, 18 insertions(+)

[OE-core] [PATCH 3/3] image.bbclass: add rootfs_check_host_user_contaminated

2015-08-24 Thread Christopher Larson
From: Christopher Larson This function is intended to be used in ROOTFS_POSTPROCESS_COMMAND, and checks for any paths outside of /home which are owned by the user running bitbake. Signed-off-by: Christopher Larson --- meta/classes/image.bbclass | 14 ++ 1 file changed, 14 insertion

[OE-core] [PATCH 3/5] packagegroup-core-x11-sato: obey the pulseaudio distro feature

2015-08-24 Thread Christopher Larson
From: Christopher Larson Signed-off-by: Christopher Larson --- meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb b/meta/recipes-sato/packagegroups/pac

[OE-core] [PATCH 1/3] insane.bbclass: handle tests which need fakeroot

2015-08-24 Thread Christopher Larson
From: Christopher Larson If any tests listed in FAKEROOT_QA are enabled (listed in ALL_QA), then run do_package_qa under fakeroot. Signed-off-by: Christopher Larson --- meta/classes/insane.bbclass | 8 1 file changed, 8 insertions(+) diff --git a/meta/classes/insane.bbclass b/meta/cl

[OE-core] [PATCH 1/5] libunwind: always depend on libatomics-ops

2015-08-24 Thread Christopher Larson
- Depend on libatomics-ops unconditionally for all archs, as it's used by more than just arm, and currently the configure script auto-detects and enables its use based on the existence of its header, resulting in non-deterministic builds. - Drop the ldflags bits which link against libatomic_o

[OE-core] [PATCH 0/5] Various bits related to pulseaudio

2015-08-24 Thread Christopher Larson
From: Christopher Larson The following changes since commit c38acd720b3f6ffbeb544063692eb471dada8593: binconfig-disabled: write an message to stderr to help confused developers (2015-08-19 17:57:58 +0100) are available in the git repository at: git://github.com/kergoth/openembedded-core p

[OE-core] [PATCH 2/3] insane.bbclass: add host-user-contaminated test

2015-08-24 Thread Christopher Larson
From: Christopher Larson - Add a test which checks for any paths outside of /home which are owned by the user running bitbake. - Add the test to WARN_QA by default. This test has been in meta-mentor for some time, and in our ERROR_QA for our builds, and has caught a number of issues for us. S

[OE-core] [PATCH 0/3] Add checks for "host user contamination"

2015-08-24 Thread Christopher Larson
From: Christopher Larson This adds a QA test, as well as a rootfs_ function for use in ROOTFS_POSTPROCESS_COMMAND, to warn/error when paths are owned by the same user/group as the user running bitbake. This is useful to catch stuff which is written outside of pseudo's control, for example. The f

[OE-core] [PATCH 2/5] libatomic-ops: move to recipes-support, fix recipe name

2015-08-24 Thread Christopher Larson
- This recipe is useful for more than just pulseaudio, so move it to recipes-support. - Rename to the correct upstream name, which corresponds to the library name. Keep a PROVIDES of libatomics-ops for compatibility. Signed-off-by: Christopher Larson --- meta/recipes-devtools/guile/guile_2.0

[OE-core] [PATCH 4/7] bitbake.conf: add MIRROR vars to SRC_URI vardeps

2015-08-24 Thread Christopher Larson
From: Christopher Larson Changes to what mirror we happen to fetch from shouldn't cause rebuilds. Signed-off-by: Christopher Larson --- meta/conf/bitbake.conf | 17 + 1 file changed, 17 insertions(+) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 21f1698..1

[OE-core] [PATCH 5/7] bitbake.conf: unexport SHELL

2015-08-24 Thread Christopher Larson
From: Christopher Larson The user's shell shouldn't be allowed to affect the build (and it can break the flock command and possibly more, if the user's shell isn't POSIX compliant). Signed-off-by: Christopher Larson --- meta/conf/bitbake.conf | 5 + 1 file changed, 5 insertions(+) diff --

[OE-core] [PATCH 7/7] bitbake.conf: set PATCHRESOLVE to noop by default

2015-08-24 Thread Christopher Larson
From: Christopher Larson Automatically spawning a devshell, rather than doing so on demand, is questionable default behavior, and is potentially problematic in headless builds. Further, there are problems with the patch resolver today. Default to noop, and the user can always opt-in to use of the

[OE-core] [PATCH 6/7] bitbake.conf: set USE_NLS based on DISTRO_FEATURES

2015-08-24 Thread Christopher Larson
From: Christopher Larson If our libc doesn't support locales, we don't need gettext nls bits enabled. Signed-off-by: Christopher Larson --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 4250ca5..

[OE-core] [PATCH 3/7] nativesdk.bbclass: set sbindir to bindir

2015-08-24 Thread Christopher Larson
From: Christopher Larson The sbindir vs bindir separation really doesn't mean much in this context, and toolchain-scripts.bbclass doesn't add sbindir to the PATH, so set the former to the latter. Signed-off-by: Christopher Larson --- meta/classes/nativesdk.bbclass | 1 + 1 file changed, 1 inse

[OE-core] [PATCH 1/1] pseudo_1.7.0.bb: New version of pseudo

2015-08-24 Thread Peter Seebach
Pseudo 1.7 adds an experimental feature (which I think needs more testing before it becomes the default) allowing the pseudo client to store modes and uid/gid values in extended attributes rather than using the sqlite database. On most Linux-like systems, this works only if the underlying file is a

[OE-core] [PATCH 2/7] update-rc.d.bbclass: explicitly dep on initscripts

2015-08-24 Thread Christopher Larson
From: Christopher Larson update-rc.d doesn't just want an initscripts package, it wants initscripts-functions. In the case where VIRTUAL-RUNTIME_initscripts is set to nothing, update-rc.d still needs initscripts-functions to satisfy its runtime dependencies. Further, we shouldn't be using a *runt

[OE-core] [PATCH 1/7] image.bbclass: re-run do_rootfs when feature packages change

2015-08-24 Thread Christopher Larson
From: Christopher Larson Currently, FEATURE_PACKAGE_ isn't in any vardeps, so changing the packages for a feature won't change the checksum for do_rootfs. Rather than explicitly adding those to vardeps, just use the expanded form of FEATURE_INSTALL and FEATURE_INSTALL_OPTIONAL, so the actual list

[OE-core] [PATCH 0/7] A few core changes from mel.conf

2015-08-24 Thread Christopher Larson
From: Christopher Larson These all touch core files, so please review these carefully. The following changes since commit c38acd720b3f6ffbeb544063692eb471dada8593: binconfig-disabled: write an message to stderr to help confused developers (2015-08-19 17:57:58 +0100) are available in the git

[OE-core] [PATCH 0/1] pseudo 1.7.0

2015-08-24 Thread Peter Seebach
This patch updates to pseudo 1.7.0. At this point, it does *not* enable the new database behavior by default, because while I can't make it fail anymore, there were some weird behaviors occasionally which I would like reproduce and track down before switching. It does, however, add the profiling s

[OE-core] [PATCH 13/17] diffstat: Add TOOLCHAIN_OPTIONS to Linker calls

2015-08-24 Thread Khem Raj
configure in this case does a novel thing where it drops all additional compiler options from CC variable into CFLAGS which in OE's case include the options added by TOOLCHAIN_OPTIONS and then it does exactly same for LD as well, the problem starts when we miss the --sysroot options and ABI options

[OE-core] [PATCH 15/17] busybox: Use CC instead of bare LD to be the Linker

2015-08-24 Thread Khem Raj
This patch was on mailing list, another patch to make sure -r is not passed directly but via -Wl switch is added. This was exposed when using clang and gold linker, clang does not have -r switch to do relocatable objects and problem happens specific to OE becuase we use LD = CC now what happens i

[OE-core] [PATCH 06/17] alsa-lib: Lift the limitation to use gcc only cross compiler

2015-08-24 Thread Khem Raj
alsa-lib configure tries to see that if CC variabled doesnt contain 'gcc' then it tries to guess and redefine CC to be something gcc, which doesnt work with OE since we define CC to have sysroot and options attached to it. So all tests fail when configure constructs the CC for cross compiler like t

[OE-core] [PATCH 09/17] psplash: Turn psplash_fb_plot_pixel() into static inline

2015-08-24 Thread Khem Raj
This function is not used anywhere except psplash-fb.c so make it static inline function which is portable across compilers Fixes issues like psplash-fb.o: In function `psplash_fb_draw_rect': | /mnt/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-glibc/work/i586-oe-linux/psplash/0.1+gi

[OE-core] [PATCH 11/17] bitbake.conf: Define fallback DISTRO_NAME

2015-08-24 Thread Khem Raj
When using OE-Core only we miss this define and its now used in recipes like os-release, which goes undefined and when booting we see messages like Welcome to ${DISTRO_NAME} nodistro.0! This would change to Welcome to OpenEmbedded nodistro.0! Remove all trailing whitespaces while touching this f

[OE-core] [PATCH 14/17] liburcu: Fix atomic function parameter types in calls

2015-08-24 Thread Khem Raj
__sync_val_compare_and_swap family specifically asks for proper types of pointer type parameters, gcc does not notice it but clang does and sends out errors calling it out. Signed-off-by: Khem Raj --- ...cify-complete-types-for-atomic-function-c.patch | 158 + meta/recipes-su

[OE-core] [PATCH 12/17] systemd: Remove exporting special CPP

2015-08-24 Thread Khem Raj
This is no more needed. it was done long ago while systemd lived in meta-openembedded http://lists.openembedded.org/pipermail/openembedded-commits/2012-August/141061.html The accompanying patch has been applied to systemd already so we were not needing to set CPP for sometime now. as a nice side e

[OE-core] [PATCH 08/17] libvorbis: Update libvorbis_1.3.4.bb -> libvorbis_1.3.5.bb

2015-08-24 Thread Khem Raj
Licence years have changes causing checksum changes -Copyright (c) 2002-2008 Xiph.org Foundation +Copyright (c) 2002-2015 Xiph.org Foundation Signed-off-by: Khem Raj --- .../libvorbis/{libvorbis_1.3.4.bb => libvorbis_1.3.5.bb} | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(

[OE-core] [PATCH 16/17] python-distribute, python-setuptools: Migrate to good old python-setuptools

2015-08-24 Thread Khem Raj
setuptools the old king is ruling again, distribute fork has been merged into setuptools starting 0.7x, so lets move to use it as well Fixes [YOCTO #8201] Signed-off-by: Khem Raj --- .../python/python-distribute_0.6.32.bb | 63 -- .../python/python-setuptools_18.

[OE-core] [PATCH 17/17] classes, conf: Remove python-distribute refrences

2015-08-24 Thread Khem Raj
We have removed python-distribute so these references should go as well Fixes [YOCTO #8201] Signed-off-by: Khem Raj --- meta/classes/setuptools.bbclass| 2 +- meta/conf/distro/include/distro_alias.inc | 2 -- meta/conf/distro/include/package_regex.inc | 4 3 files changed, 1 i

[OE-core] [PATCH 10/17] mdadm: Upgrade mdadm_3.3.2.bb -> mdadm_3.3.4.bb

2015-08-24 Thread Khem Raj
Drop upstreamed patch for gcc5 compatibility Forward port x32 patch Signed-off-by: Khem Raj --- meta/recipes-extended/mdadm/files/inline.patch | 39 -- .../mdadm/files/mdadm-3.3.2_x32_abi_time_t.patch | 23 ++--- .../mdadm/{mdadm_3.3.2.bb => mdadm_3.3.4.bb}

[OE-core] [PATCH 07/17] json-c: Include math_compat.c for NAN/INF values

2015-08-24 Thread Khem Raj
The backport patch also fixes the warning which was being work arounded by disabling unused-but-set-variable Signed-off-by: Khem Raj --- .../0001-json_tokener-requires-INF-and-NAN.patch | 37 ++ meta/recipes-devtools/json-c/json-c_0.12.bb| 6 ++-- 2 files changed,

[OE-core] [PATCH 02/17] core-image-minimal: Add 4M extra space when using systemd

2015-08-24 Thread Khem Raj
qemu images fail to rebuild the hwdb due to no space letf on device systemd-hwdb-update.service - Rebuild Hardware Database Loaded: loaded (/lib/systemd/system/systemd-hwdb-update.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2015-08-15 21:39:28

[OE-core] [PATCH 05/17] sysvinit: Fix makefile bug found with clang

2015-08-24 Thread Khem Raj
This is due to specifying .h files on linker cmdline clang driver is picky about it, and its not entirely correct either Signed-off-by: Khem Raj --- ...an-issue-that-clang-reports-about-mutlipl.patch | 52 ++ meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 1 + 2 files

[OE-core] [PATCH 04/17] kernel-arch: Force BFD kernel when using gcc for linking

2015-08-24 Thread Khem Raj
We redefine LD to point to ld.bfd when building kernel, which works in most cases since kbuild system calls out for bare LD most of the time, however some of newer kernels e.g. 4.1+ have some code added which can call gcc directly to do the linking job e.g. arm vdso code This causes build failures

[OE-core] [PATCH 03/17] systemd: Cache/define tool paths for target

2015-08-24 Thread Khem Raj
Recently, systemd has added a patch f00929ad622c978f8ad83590a15a765b4beecac9 where it now pokes at the system to find out the path of mount/umount tools, this caused the builds to fail because it ended up with identifying these programs from native sysroot but they were actually meant for target,

[OE-core] [PATCH 01/17] systemd: Upgrade 219 -> 224

2015-08-24 Thread Khem Raj
Drop patches that were straight backports from upstream MIT licence was unused and dropped from systemd sources for more details see https://github.com/systemd/systemd/commit/8f1e0c5f38cdf7e401ab4d2bb93ad816d08e7715 Drop gtkdoc dependency since libudev API documentation has been converted from g

[OE-core] [PATCH 00/17] systemd upgrade, distribute->setuptools and clang fixes

2015-08-24 Thread Khem Raj
This is a cumulative series containing first three and then patch 11 and 12 patches are for systemd upgrade to 224 last two patches deal with distribute to setuptools change Rest of them improve the recipes in way so they work with clang compiler Khem Raj (17): systemd: Upgrade 219 -> 224 c

[OE-core] [PATCH 2/2][dizzy] license.bbclass: fix unexpected operator for LICENSE values with space

2015-08-24 Thread Aníbal Limón
From: Martin Jansa * add quotes around pkged_lic so that it works correctly with spaces * fixes following error: run.license_create_manifest.50601: 193: [: GPLv2: unexpected operator (From OE-Core rev: 2bb8b2abb689d91b7b7e28e6bd528747bde94dd2) Signed-off-by: Martin Jansa Signed-off-by: Richa

[OE-core] [PATCH 1/2][dizzy] license_class: fix license.manifest shows LICENSE field differently to recipe

2015-08-24 Thread Aníbal Limón
Drop removal of [|&()*] operators in pkged_lic because this removal is only needed to validate if license is collected. [YOCTO #6757] (From OE-Core rev: 57e5f74382d51f2a8df00e18b6008e3d2b44ad1a) Signed-off-by: Aníbal Limón Signed-off-by: Richard Purdie --- meta/classes/license.bbclass | 13 ++

Re: [OE-core] [PATCH] xmlto: xsltproc is required by both native and target

2015-08-24 Thread Burton, Ross
On 24 August 2015 at 04:19, wrote: > @@ -20,9 +20,7 @@ RDEPENDS_${PN} = "docbook-xml-dtd4 \ >util-linux \ >libxml2 \ >bash \ > -" > -RDEPENDS_${PN}_append_class-target = " \ > - libxslt-bin \ > + libxslt

Re: [OE-core] qemu + initramfs

2015-08-24 Thread Christopher Larson
On Mon, Aug 24, 2015 at 5:05 AM, Patrick Ohly wrote: > On Mon, 2015-08-24 at 13:50 +0200, Patrick Ohly wrote: > > Hello! > > > > I just tried to boot a custom image under qemu with > > core-image-minimal-initramfs included in the kernel. For that, I added > > to my local.conf: > > > > INI

[OE-core] [PATCH] harfbuzz: upgrade to 1.0.2

2015-08-24 Thread Cristian Iorga
Bugfix release. Signed-off-by: Cristian Iorga --- .../harfbuzz/{harfbuzz_1.0.1.bb => harfbuzz_1.0.2.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/harfbuzz/{harfbuzz_1.0.1.bb => harfbuzz_1.0.2.bb} (88%) diff --git a/meta/recipes-grap

Re: [OE-core] [RFC PATCH 1/1] classes/whitelist: add class to allow whitelisting recipes from a layer

2015-08-24 Thread Patrick Ohly
On Thu, 2015-08-20 at 15:47 +0200, Patrick Ohly wrote: > One more comment: it would be slightly nicer if empty whitelist could be > distinguished from no whitelist, with "empty" meaning "enable no > recipes". In other words, replace "if whitelist" with "if whitelist is > not None". > > I want to l

[OE-core] [PATCH 0/6] linux-yocto: consolidated pull request

2015-08-24 Thread Bruce Ashfield
Hi all, I've built and boot tested the pending changes for the 3.14, 3.19 and 4.1 linux-yocto variants. In this series we have: - gcc5.x build fixes for 3.14 (from Richard) - 4.1.6 and -rt5 updates - configuration changes for CIRRUS graphics and EXT4 for EXT2/3 use - quark BSP configuration

[OE-core] [PATCH 5/6] linux-yocto/4.1: update to v4.1.6 and v4.1.6-rt5

2015-08-24 Thread Bruce Ashfield
Bumping the SRCREVs to import the latest 4.1-stable and 4.1-rt changes. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb | 4 ++-- meta/recipes-kernel/linux/linux-yocto_4.1.bb | 18 +

[OE-core] [PATCH 2/6] linux-yocto/3.19/4.1: add coretemp to intel-common-drivers

2015-08-24 Thread Bruce Ashfield
Updating the 3.19 and 4.1 meta SRCREVs to pull in the coretemp configuration values. Partial fix for [YOCTO #8107]. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb| 2 +- meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb | 2 +- meta/recipes-kernel/linux/l

[OE-core] [PATCH 6/6] linux-yocto/4.1: enable DRM_CIRRUS_QEMU and EXT4_USE_FOR_EXT23

2015-08-24 Thread Bruce Ashfield
Updating the meta SRCREV to enable cirrus graphics emulation and wider compatibility for the ext4 driver. [YOCTO: #7348] [YOCTO: #6667] Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | 2 +- meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb | 2 +- meta/reci

[OE-core] [PATCH 4/6] linux-yocto/3.14: cleanups and gcc5 ARM build fixes

2015-08-24 Thread Bruce Ashfield
Updating the 3.14 SRCREVs to match the latest kernel meta data updates and also to merge four patches Richard Purdie located that fix the gcc 5.x ARM build (we still have boot issues, but building is the first step). Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_3.14

[OE-core] [PATCH 3/6] linux-yocto/4.1: quark configuration and thermal support

2015-08-24 Thread Bruce Ashfield
Updating the 4.1 SRECREVs to reflect the following changes: 74159a303c21 thermal: intel Quark SoC X1000 DTS thermal driver 833214b33303 intel-quark-tiny: Add tiny KTYPE .scc file 45ecab18d462 amd.cfg: Add X86_AMD_PLAFORM_DEVICE to default 9a31d2cbc251 intel-quark-standard: add mass storag

[OE-core] [PATCH 1/6] linux-yocto/4.1: fix qemuarm preempt-rt configuration

2015-08-24 Thread Bruce Ashfield
With the recent changes to the kernel meta data handling and the removal of BSP branches, we need to shuffle some patches around to match. This prevents patches from being applied twice, and the qemuarm BSP can be configured for preempt-rt. [YOCTO: #8122] Signed-off-by: Bruce Ashfield --- meta

[OE-core] Cross-distribution ARM Linux platform support meeting at Connect San Fransisco

2015-08-24 Thread Riku Voipio
Hi everyone, Since cross-distribution meetings at Linaro Connect have been popular, we are continuing the tradition and having a session[1] in Linaro Connect next week. https://sfo15.pathable.com/meetings/302652 The event is on Monday September 21, 16.10 PST (aka 23:10:00 UTC). Details of google

Re: [OE-core] [PATCH] image.bbclass: Always try to run populate-volatile.sh at rootfs time

2015-08-24 Thread Mike Looijmans
Any comments on this? And if unacceptable, how about at least making "rootfs_populate_volatile_cache" available as a sort of library method so it doesn't get repeated at each image recipe? On 12-08-15 09:00, Mike Looijmans wrote: Currently populate-volatile.sh will only run when "readonly-r

[OE-core] [PATCHv2 2/3] lsbinitscripts: Upgrade 9.63 -> 9.64

2015-08-24 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen --- .../lsb/{lsbinitscripts_9.63.bb => lsbinitscripts_9.64.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-extended/lsb/{lsbinitscripts_9.63.bb => lsbinitscripts_9.64.bb} (81%) diff --git a/meta/recipes-extended/lsb/lsb

[OE-core] [PATCHv2 3/3] libical: Upgrade 1.0.0 -> 1.0.1

2015-08-24 Thread Jussi Kukkonen
* Build system changed to cmake. * Patch build system to not check for perl (we use host perl which won't be found) Signed-off-by: Jussi Kukkonen --- .../libical/Remove-cmake-check-for-Perl.patch | 33 ++ .../libical/{libical_1.0.0.bb => libical_1.0.1.bb} | 12 +---

[OE-core] [PATCHv2 0/3] Upgrade lsof, libical, lsbinitscripts

2015-08-24 Thread Jussi Kukkonen
Changes since v1: * libical now does not inherit perlnative, but uses host perl * patched libical CMakeLists.txt so it doesn't try to find perl The following changes since commit a3d228a484cf471e999b6537987e2897d8a7bd4e: bitbake: main: Handle RuntimeError exception in list_extension_modules (2

[OE-core] [PATCHv2 1/3] lsof: Upgrade 4.88 -> 4.89

2015-08-24 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen --- meta/recipes-extended/lsof/{lsof_4.88.bb => lsof_4.89.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/lsof/{lsof_4.88.bb => lsof_4.89.bb} (91%) diff --git a/meta/recipes-extended/lsof/lsof_4.88.bb b/meta/recipes-exten

Re: [OE-core] qemu + initramfs

2015-08-24 Thread Patrick Ohly
On Mon, 2015-08-24 at 13:50 +0200, Patrick Ohly wrote: > Hello! > > I just tried to boot a custom image under qemu with > core-image-minimal-initramfs included in the kernel. For that, I added > to my local.conf: > > INITRAMFS_IMAGE = "core-image-minimal-initramfs" > INITR

[OE-core] qemu + initramfs

2015-08-24 Thread Patrick Ohly
Hello! I just tried to boot a custom image under qemu with core-image-minimal-initramfs included in the kernel. For that, I added to my local.conf: INITRAMFS_IMAGE = "core-image-minimal-initramfs" INITRAMFS_IMAGE_BUNDLE = "1" The extended kernel now gets built fine with t

Re: [OE-core] [oe] Extensible SDK install errors

2015-08-24 Thread Paul Eggleton
Hi Adam, On Friday 21 August 2015 15:06:25 Adam Lee wrote: > Hello, I built the Extensible SDK on Fido (bitbake core-image-minimal -c > populate_sdk_ext). > > During the installation I get this permission error: > > $ ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh > > > Ente

Re: [OE-core] Get patch of all manual changes done in sources.

2015-08-24 Thread Paul Eggleton
On Friday 21 August 2015 18:02:47 Burton, Ross wrote: > On 21 August 2015 at 17:04, Kucharczyk, Bartlomiej (Nokia - PL/Wroclaw) < > bartlomiej.kucharc...@nokia.com> wrote: > > Is there any automated way to get diff of all manual changes done in > > recipe sources? > > > > Use case is: > > 1. bitba

Re: [OE-core] [RFC PATCH 1/1] classes/whitelist: add class to allow whitelisting recipes from a layer

2015-08-24 Thread Paul Eggleton
On Friday 21 August 2015 11:45:06 Richard Purdie wrote: > On Wed, 2015-08-19 at 14:34 +0100, Paul Eggleton wrote: > > Allow restricting recipes brought from a layer to a specified list. This > > is similar in operation to blacklist.bbclass, but instead specifies a > > per-layer whitelist of recipes

[OE-core] [PATCH V3 7/8] devtool: add sdk.py plugin

2015-08-24 Thread Chen Qi
This plugin is only enabled when devtool is used within the extensible SDK. It is used to update the current SDK from a local or remote server. E.g. devtool sdk-update /mnt/sdk-repo/ devtool sdk-update http://mysdkhost/sdk Signed-off-by: Chen Qi --- scripts/lib/devtool/sdk.py | 188

[OE-core] [PATCH V3 8/8] populate_sdk_ext: get rid of buildtools

2015-08-24 Thread Chen Qi
If we do `bitbake buildtools-tarball' and then after one day do `bitbake core-image-minimal -c populate_sdk_ext', we would meet errors like below. | install: cannot stat '/buildarea2/chenqi/poky/build-systemd/tmp/deploy/sdk/ poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standa

[OE-core] [PATCH V3 5/8] oe-publish-sdk: add script

2015-08-24 Thread Chen Qi
Add a script to publish extensible SDK to a specified destination. e.g. oe-publish-sdk Signed-off-by: Chen Qi --- scripts/oe-publish-sdk | 143 + 1 file changed, 143 insertions(+) create mode 100755 scripts/oe-publish-sdk diff --git a/scripts/

[OE-core] [PATCH V3 6/8] populate_sdk_ext: record SDK_TARGETS in devtool.conf

2015-08-24 Thread Chen Qi
Record the value of SDK_TARGETS for later use of devtool's sdk plugin for updating SDK. Signed-off-by: Chen Qi --- meta/classes/populate_sdk_ext.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index d2eb

[OE-core] [PATCH V3 4/8] Extensible SDK: allow for installation without preparing build system

2015-08-24 Thread Chen Qi
When publishing SDK, what we want is basically its metadata and sstate cache objects. We don't want the SDK to be prepared with running bitbake as it takes time which reproduces meaningless output for the published SDK. So this patch adds an option to allow for SDK to be extracted without preparin

[OE-core] [PATCH V3 1/8] copy_buildsystem: make sure bitbake directory is copied

2015-08-24 Thread Chen Qi
The previous code assumes that bitbake/ directory is under the core layer. This is the case for Yocto project. But users might clone oe-core and bitbake separately. So we use bb.__file__ to locate the bitbake directory to make sure it's copied into the extensible SDK. Signed-off-by: Chen Qi ---

[OE-core] [PATCH V3 3/8] populate_sdk_ext: don't remove the native qemu dependencies

2015-08-24 Thread Chen Qi
These dependencies were deliberately removed because it was assumed that they were provided by nativesdk packages. On the one hand, nativesdk packages in extensible SDK don't have these packages; on the other hand, even if we add these nativesdk packages, they are still not useful because we we nee

[OE-core] [PATCH V3 2/8] populate_sdk_ext: consider custom configuration in local.conf

2015-08-24 Thread Chen Qi
Copy the contents of local.conf under TOPDIR into the final generated local.conf. In this way, custom settings are also made into the final local.conf like IMAGE_INSTALL, DISTRO_FEATURES, VIRTUAL-RUNTIME_xxx, etc. Before this change, installing extensible SDK would usually report failure when prep

[OE-core] [PATCH V3 0/8] Extensible SDK fixesExtensible SDK fixes

2015-08-24 Thread Chen Qi
Changes since V2: Remove buildtools from the ext SDK. The following changes since commit c38acd720b3f6ffbeb544063692eb471dada8593: binconfig-disabled: write an message to stderr to help confused developers (2015-08-19 17:57:58 +0100) are available in the git repository at: git://git.openem

Re: [OE-core] [PATCH] glibc-package: use ${PN} in INSANE_SKIP

2015-08-24 Thread Martin Jansa
Thanks Robert! On Mon, Aug 24, 2015 at 5:36 AM, Robert Yang wrote: > > > On 08/18/2015 09:55 PM, Martin Jansa wrote: > >> * INSANE_SKIP_${PN}_append_aarch64 is causing following warning in some >>setups: >>WARNING: Variable key INSANE_SKIP_${PN} () replaces original key >> INSANE_SKIP_gl

[OE-core] [PATCH 2/2] devtool: implement build-image plugin

2015-08-24 Thread Ed Bartosh
Implemented new plugin to build image from workspace packages. Plugin creates .bbappend file, adds all workspace packages to the image using IMAGE_INSTALL_append variable in bbappend file. After that it runs 'bitbake '. Signed-off-by: Ed Bartosh --- scripts/lib/devtool/build-image.py | 56 +

[OE-core] [PATCH 1/2] devtool: make add_md5 a public API

2015-08-24 Thread Ed Bartosh
Moved _add_md5 function from standard.py to __init__.py to be able to call it from other modules. Signed-off-by: Ed Bartosh --- scripts/lib/devtool/__init__.py | 6 ++ scripts/lib/devtool/standard.py | 14 -- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scrip

[OE-core] [PATCH 0/2] Implement build-image plugin for devtool

2015-08-24 Thread Ed Bartosh
Hi, Please, review implamentation of the new plugin for devtool. This plugins is for building an image with all workspace packages included. The following changes since commit a3d228a484cf471e999b6537987e2897d8a7bd4e: bitbake: main: Handle RuntimeError exception in list_extension_modules (201

[OE-core] [PATCH] runqemu: Add a tcpserial option

2015-08-24 Thread Randy Witt
The option was added so that the qemurunner could start a second tcp serial port without adding machine conditional logic to qemurunner. The issue that made this necessary was that when "virt" is passed to qemu-system-aarch64, the normal mechanism for specifying a tcp serial port does not work. Th

Re: [OE-core] [PATCH 3/6] json-c: Include math_compat.c for NAN/INF values

2015-08-24 Thread Khem Raj
> On Aug 22, 2015, at 8:58 AM, Khem Raj wrote: > > The backport patch also fixes the warning which was being work arounded > by disabling unused-but-set-variable > Just saw it fail with gcc 5.2 in local builder, sent a v2 with the fix. > Signed-off-by: Khem Raj > --- > .../0001-json_tokener-

[OE-core] [PATCH V2] json-c: Include math_compat.c for NAN/INF values

2015-08-24 Thread Khem Raj
The backport patch also fixes the warning which was being work arounded by disabling unused-but-set-variable Signed-off-by: Khem Raj --- .../0001-json_tokener-requires-INF-and-NAN.patch | 37 ++ meta/recipes-devtools/json-c/json-c_0.12.bb| 6 ++-- 2 files changed,