[OE-core] [RFT] Moving on from eglibc to glibc 2.20

2014-08-27 Thread Khem Raj
Hi All As we all know eglibc has been merged back into glibc and 2.19 was the last release, here I have put together the recipes for upcoming glibc 2.20 release and removed eglibc 2.19 in favor of move. I also thought about leaving eglibc in there but then eglibc and glibc were pretty much same a

[OE-core] [PATCH 2/2] bbclass/sstate_readonly: only allowed sstate-cache objects are allowed in a build (read-only sstate-cache)

2014-08-27 Thread Hongxu Jia
The requirement is the developer who demand only the "new" software they write is allowed to be compiled from source, they only want to reuse binaries from an existed sstate-cache, if the developer makes a change that triggers a rebuild, it should be an instant error. The purpose of this is for th

[OE-core] [PATCH V3 0/2] bbclass/sstate: only allowed sstate-cache objects are allowed in a build (read-only sstate-cache)

2014-08-27 Thread Hongxu Jia
Changed in V3: - remove bitbake patch, which was sent to bitbake-devel - rebase 'bbclass/sstate' patch, which was conflicted with 'sstate: Add extra intercept functions' patch in master-next Changed in V2: - add hook SSTATE_CHECK_FUNCTIONS for sstate checking, and add a new bbclass/sstate_rea

[OE-core] [PATCH 1/2] bbclass/sstate: add hook SSTATE_CHECK_FUNCTIONS for sstate checking

2014-08-27 Thread Hongxu Jia
Provide hook for sstate checking, the checking failure will break the building immediately. Pass input parameters by bb.data (d.setVar/d.getVar). Hook : SSTATE_CHECK_FUNCTIONS Input : missed- list of missing sstate file index in sq : found - list of existing sstate file index in sq

[OE-core] [PATCH 2/2] cpan.bbclass: matches more lines

2014-08-27 Thread Robert Yang
Fixed: - There might be a space between "#!" and "/pat/to/usr/bin/perl", e.g.: "#! /usr/bin/perl", now also matches it. - There might be the lines like the following in the body: eval 'exec /path/to/usr/bin/perl-native/perl -S $0 ${1+"$@"}' Now we only check "#! */path/to/usr/bin/perl" to m

[OE-core] [PATCH 0/2] perl-native: fixed bad interpreter error

2014-08-27 Thread Robert Yang
The following changes since commit d0be4b37743492fc9c178fd6f9ef73a5eb2fd9c3: chrpath: Drop warning from darwn builds (2014-08-17 10:01:30 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/perl http://cgit.openembedded.org/cgit.cgi/open

[OE-core] [PATCH 1/2] perl-native: fixed bad interpreter error

2014-08-27 Thread Robert Yang
We may get the error on some hosts when build in deeper dir: /bin/sh: /path/to/tmp/sysroots/i686-linux/usr/bin/perl-native/pod2man: /path/to/tmp/sysroots/i686-li: bad interpreter: No such file or directory Note the "i686-li", it should be "i686-linux", but is truncated by the host. We can use "/

Re: [OE-core] [PATCH] allarch: Add warning about packagegroup

2014-08-27 Thread Richard Purdie
On Wed, 2014-08-27 at 13:20 -0400, Bob Cochran wrote: > On 08/19/2014 08:35 AM, Richard Purdie wrote: > > Since we want to start including this class conditionally, detect cases > > where packagegroup files use the old ordering and inform the user they > > need to update this. > > > > Signed-off-by

Re: [OE-core] [PATCH] patchelf: Add patchelf recipe

2014-08-27 Thread Khem Raj
On Wed, Aug 27, 2014 at 8:50 AM, Richard Purdie wrote: > The issue is one of dependencies. We need chrpath/patchelf to relocate > things like {autoconf|automake|pkgconfig}-native. Native > patchelf/chrpath depend on those things to build so if we don't have it > in ASSUME_PROVIDED, we get circular

[OE-core] OpenEmbedded BoF at Linaro Connect

2014-08-27 Thread Philip Balister
Khem has organized an OpenEmbedded BoF at Linaro Connect. http://lcu14.zerista.com/event/member/137796 If you are at Connect, please attend so we can have a good turn out. Thanks for organizing this Khem! Philip -- ___ Openembedded-core mailing list

[OE-core] [PATCH] libsdl: add packageconfigs for x11, directfb, opengl

2014-08-27 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb index e544b60..b0ae299 100644

[OE-core] [PATCH] packagegroup-core-directfb: Set PACKAGE_ARCH to MACHINE_ARCH

2014-08-27 Thread Otavio Salvador
The contents change depends on the MACHINE_FEATURES so this is clearly a machine specific package. Set it accordingly. Signed-off-by: Otavio Salvador --- meta/recipes-graphics/packagegroups/packagegroup-core-directfb.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/

[OE-core] [PATCH 4/4] ofono: upgrade to 1.15

2014-08-27 Thread Cristian Iorga
- Bug fixes; Add support for Handsfree subscriber number feature; Add support for Handsfree multiple DTMF characters; Add support for PAP authentication. - Added patch to revert tests to work with Python2.x. Signed-off-by: Cristian Iorga --- .../ofono/Revert-test-Convert-to-Python-3.patch| 1

[OE-core] [PATCH 3/4] bluez5: upgrade to 5.22

2014-08-27 Thread Cristian Iorga
Several fixes to HID over GATT (HoG) and for AVRCP. Notable additions with the Linux kernel 3.17: - BR/EDR whitelist support; - Proper LE passive scanning support. Signed-off-by: Cristian Iorga --- meta/recipes-connectivity/bluez5/bluez5_5.21.bb | 3 --- meta/recipes-connectivity/bluez5/bluez5_5

[OE-core] [PATCH 0/4] Various comms and multimedia PUs

2014-08-27 Thread Cristian Iorga
Various PUs for comms and multimedia The below warnings are due to the original test source code present in ofono test suite! WARNING: Trailing white space detected at these locations pull-25158/0004-ofono-upgrade-to-1.15.patch:138:+ pull-25158/0004-ofono-upgrade-to-1.15.patch:148:+ pull-25158/

[OE-core] [PATCH 2/4] harfbuzz: upgrade to 0.9.35

2014-08-27 Thread Cristian Iorga
Bug fixes and minor changes/cleanups. Signed-off-by: Cristian Iorga --- .../harfbuzz/{harfbuzz_0.9.29.bb => harfbuzz_0.9.35.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-graphics/harfbuzz/{harfbuzz_0.9.29.bb => harfbuzz_0.9.35.bb} (88%) diff -

[OE-core] [PATCH 1/4] connman: upgrade to 1.25

2014-08-27 Thread Cristian Iorga
build-libppp-plugin-without-versioning-info.patch no longer needed, removed. Changelog: Fix issue with handling rebind timer for DHCPv6. Fix issue with handling DHCP renew transaction. Fix issue with user supplied proxy settings and DHCP. Fix issue with extra status codes from captive portals. Fix

Re: [OE-core] [PATCH] allarch: Add warning about packagegroup

2014-08-27 Thread Bob Cochran
On 08/19/2014 08:35 AM, Richard Purdie wrote: Since we want to start including this class conditionally, detect cases where packagegroup files use the old ordering and inform the user they need to update this. Signed-off-by: Richard Purdie diff --git a/meta/classes/allarch.bbclass b/meta/class

[OE-core] [PATCH] gstreamer1.0-plugins-bad: add opencv haar cascade XML files to package

2014-08-27 Thread Carlos Rafael Giani
Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc index fb3129

Re: [OE-core] implicit renaming of packages containing libraries

2014-08-27 Thread Burton, Ross
On 16 August 2014 15:09, Peter A. Bigot wrote: > Is this intentional? Is it documented somewhere? I wouldn't be terribly > upset if lmsensors-libsensors got renamed to lmsensors-libsensors4 because > Debian policy expects the SO number to be part of the name, but it's weird > to have the owning

Re: [OE-core] [PATCH 2/2] logrotate: add packageconfigs

2014-08-27 Thread Christopher Larson
On Wed, Aug 27, 2014 at 8:52 AM, Burton, Ross wrote: > On 25 August 2014 17:22, Fahad Usman wrote: > > +${@base_contains('PACKAGECONFIG', 'acl', 'WITH_ACL=yes', '', d)} \ > > +${@base_contains('PACKAGECONFIG', 'selinux', 'WITH_SELINUX=yes', > '', d)} \ > > Should this have WITH_XXX=no fo

[OE-core] [PATCH 7/9] sed: add sed to RDEPENDS sed-ptest

2014-08-27 Thread Robert Yang
Its test scripts require /bin/sed. Signed-off-by: Robert Yang --- meta/recipes-extended/sed/sed_4.2.2.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/sed/sed_4.2.2.bb b/meta/recipes-extended/sed/sed_4.2.2.bb index 74ac16b..ea39dae 100644 --- a/met

[OE-core] [PATCH 0/9] rdepends fixes and QA check: file-rdeps

2014-08-27 Thread Robert Yang
Hello, I resent the remaining ones and put all of them in the same thread. // Robert The following changes since commit d0be4b37743492fc9c178fd6f9ef73a5eb2fd9c3: chrpath: Drop warning from darwn builds (2014-08-17 10:01:30 +0100) are available in the git repository at: git://git.openembe

[OE-core] [PATCH 4/9] valgrind/oprofile/systemd: no bashism in run-ptest

2014-08-27 Thread Robert Yang
There is no bashism in the scripts, so use /bin/sh, and add /bin/sh interpreter for systemd's run-ptest. Signed-off-by: Robert Yang --- meta/recipes-core/systemd/systemd/run-ptest |2 ++ meta/recipes-devtools/valgrind/valgrind/run-ptest |3 ++- meta/recipes-kernel/oprofile/oprofile

[OE-core] [PATCH 8/9] bootchart2: no bashism in bootchartd.in

2014-08-27 Thread Robert Yang
So use /bin/sh Signed-off-by: Robert Yang --- .../bootchart2/bootchartd-no-bashism.patch | 27 meta/recipes-devtools/bootchart2/bootchart2_git.bb |6 +++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/bootchart2/b

[OE-core] [PATCH 6/9] lsbtest: no bashism in LSB_Test.sh

2014-08-27 Thread Robert Yang
So use /bin/sh Signed-off-by: Robert Yang --- meta/recipes-extended/lsb/lsbtest/LSB_Test.sh |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh index ab79985..b9971a1 100644 --- a/me

[OE-core] [PATCH 5/9] run-ptest: fix bashism

2014-08-27 Thread Robert Yang
These script use /bin/sh as the interpreter, but contains bashism: recipes-devtools/insserv/files/run-ptest recipes-devtools/quilt/quilt/run-ptest recipes-devtools/tcltk/tcl/run-ptest recipes-extended/gawk/gawk-4.1.1/run-ptest recipes-support/beecrypt/beecrypt/run-ptest Fixed:

[OE-core] [PATCH 2/9] ltp: fix RDEPENDS

2014-08-27 Thread Robert Yang
Fixed: /opt/ltp/testcases/bin/aio01 -> libaio /opt/ltp/testcases/bin/*.sh -> bash /opt/ltp/testcases/bin/*.py -> python /opt/ltp/bin/*.awk -> awk Signed-off-by: Robert Yang --- meta/recipes-extended/ltp/ltp_20140422.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/r

[OE-core] [PATCH 3/9] meta: fix RDEPNEDS for the test related pkgs

2014-08-27 Thread Robert Yang
Add bash, python or perl to the ptest pkgs to fix the RDEPENDS issues. Signed-off-by: Robert Yang --- meta/recipes-core/libxml/libxml2.inc |2 ++ meta/recipes-core/udev/udev.inc|2 +- meta/recipes-extended/pam/libpam_1.1.6.bb | 11 +-- meta/recipe

[OE-core] [PATCH 1/9] insane.bbclass: add QA check: file-rdeps

2014-08-27 Thread Robert Yang
The ipk or deb can't depend on file such as "/bin/bash" or "/usr/bin/perl", so it knows nothing about the pkg depends bash or perl, thus there would be dependencies problems when we run "apt-get install/remove " on the target, this check can help us find the issues and then fix them manually. * Be

[OE-core] [PATCH 9/9] python3-distribute: fix interpreter

2014-08-27 Thread Robert Yang
It should use "/usr/bin/env python3" rather than python. Signed-off-by: Robert Yang --- .../python/python3-distribute_0.6.32.bb|2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb b/meta/recipes-devtools/python/python3-di

Re: [OE-core] [PATCH 2/2] logrotate: add packageconfigs

2014-08-27 Thread Burton, Ross
On 25 August 2014 17:22, Fahad Usman wrote: > +${@base_contains('PACKAGECONFIG', 'acl', 'WITH_ACL=yes', '', d)} \ > +${@base_contains('PACKAGECONFIG', 'selinux', 'WITH_SELINUX=yes', '', d)} > \ Should this have WITH_XXX=no for clarity and safety? Ross -- ___

Re: [OE-core] [PATCH] patchelf: Add patchelf recipe

2014-08-27 Thread Richard Purdie
On Wed, 2014-08-27 at 08:08 -0700, Khem Raj wrote: > On Wed, Aug 27, 2014 at 7:50 AM, Richard Purdie > wrote: > > This is useful since it allows us to edit the RPATH and interpreter fields > > in ELF binaries. This is potentially particularly useful in improving the > > way > > we can use the SDK

[OE-core] [PATCH 0/1] Upgrade ethtool

2014-08-27 Thread Roxana Ciobanu
The following changes since commit c16795477ea7e2159b5d3808268912b572887e2d: qemu: add PACKAGECONFIG for numa (2014-08-27 12:13:38 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib roxana/ethtool http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=

[OE-core] [PATCH 1/1] ethtool: upgrade to 3.15

2014-08-27 Thread Roxana Ciobanu
Signed-off-by: Roxana Ciobanu --- meta/recipes-extended/ethtool/{ethtool_3.14.bb => ethtool_3.15.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/ethtool/{ethtool_3.14.bb => ethtool_3.15.bb} (88%) diff --git a/meta/recipes-extended/ethtool/ethtool_3.14.

Re: [OE-core] [PATCH] patchelf: Add patchelf recipe

2014-08-27 Thread Khem Raj
On Wed, Aug 27, 2014 at 7:50 AM, Richard Purdie wrote: > This is useful since it allows us to edit the RPATH and interpreter fields > in ELF binaries. This is potentially particularly useful in improving the way > we can use the SDK and also potentially making native binaries more > relocatable.

[OE-core] [PATCH] patchelf: Add patchelf recipe

2014-08-27 Thread Richard Purdie
This is useful since it allows us to edit the RPATH and interpreter fields in ELF binaries. This is potentially particularly useful in improving the way we can use the SDK and also potentially making native binaries more relocatable. Signed-off-by: Richard Purdie diff --git a/meta/recipes-devto

Re: [OE-core] [PATCH 3/5] qemux86: support X11 when QEMU is emulating a different GPU than vmware

2014-08-27 Thread Burton, Ross
On 26 August 2014 18:34, Max Eliaser wrote: > QEMU is capable of emulating four different VGA adapters: cirrus, std, vmware, > and QXL. By adding the cirrus and fbdev X.Org drivers to the qemux86 image, > the image can be made to launch an X server on when cirrus and std are chosen, > in addition

[OE-core] [PATCH] sstate: Add extra intercept functions

2014-08-27 Thread Richard Purdie
In some cases we do either need to add extra sstate manipulation functions, or change the existing modification functions. This patch parametrises them to SSTATECREATEFUNCS and SSTATEPOSTUNPACKFUNCS and abstracts the "hardcoded path" functions into separate functions using these new variables. We

[OE-core] [PATCH 1/4] gstreamer1.0-omx: Add DEPENDS on gstreamer1.0-plugins-bad

2014-08-27 Thread Carlos Rafael Giani
gst-omx links to libgstgl if it is present, and libgstgl is built by gstreamer1.0-plugins-bad. Adding it as a DEPENDS ensures a proper dependency is established. Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc | 2 +- 1 file changed, 1 insertion(+),

[OE-core] [PATCH 2/4] gstreamer1.0-plugins-bad: Add DEPENDS on libpng

2014-08-27 Thread Carlos Rafael Giani
libpng is automatically linked to if present. This cannot be turned off. Adding DEPENDS on libpng ensures that a proper dependency is established. Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +- 1 file changed, 1 insertion(+), 1 delet

[OE-core] [PATCH 4/4] gstreamer1.0-plugins-bad: Add DEPENDS on jpeg

2014-08-27 Thread Carlos Rafael Giani
libjpeg is automatically linked to if present. This cannot be turned off. Adding DEPENDS on jpeg ensures that a proper dependency is established. Signed-off-by: Carlos Rafael Giani --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +- 1 file changed, 1 insertion(+), 1 deleti

[OE-core] [PATCH 3/4] gstreamer1.0-plugins-bad: Fix GL/GLES configuration

2014-08-27 Thread Carlos Rafael Giani
* Replace --disable/enable-gl with the individual EGL, GLES, GL switches (--disable-gl turns off GL support entirely) * Put the default opengl packageconfig into its own variable to make it easier for distros and BSP layers to define what to use (GL, GLES, or neither) * Add libglu as a depend

Re: [OE-core] [PATCH] eglibc: Fix to egrep 'yes$' instead 'yes' at configure

2014-08-27 Thread Benjamin Esquivel
Ok, I will re-do the patch and send it over On Mon, 2014-08-25 at 16:31 -0700, Khem Raj wrote: > On 14-08-25 17:57:47, Benjamin Esquivel wrote: > > To Khem and Andreas, > > > > I would say that the proposed patch is based on the existing design, a > > corner case was found and it deserves a fix

[OE-core] [PATCH] classes/cpan_build.bbclass: add EXTRA_CPAN_BUILD_FLAGS

2014-08-27 Thread Tim Orling
Some packages have additional configuration options that are currently not accessible through cpan_build.bbclass. Similar to cpan.bbclass, add EXTRA_CPAN_BUILD_FLAGS to pass the optional parameters to perl Build.PL. Signed-off-by: Tim Orling --- meta/classes/cpan_build.bbclass | 5 - 1 file

Re: [OE-core] Question about aarch64 target

2014-08-27 Thread Bruce Ashfield
On Wed, Aug 27, 2014 at 6:53 AM, Kang Kai wrote: > Hi Saul, > > I am working on Bug 6487 - Add Aarch64 qemu target. I take tune and config > files from linaro then succeeds to build core-image-minimal and > core-image-sato. > > And I have 2 question about it now: > 1 What should the new qemu aarch

Re: [OE-core] [PATCHv2 1/3] sanity: handle both \n and \\n in mirror vars

2014-08-27 Thread Koen Kooi
Op 26 aug. 2014, om 00:57 heeft Christopher Larson het volgende geschreven: > From: Christopher Larson > > Signed-off-by: Christopher Larson Tested-by: Koen Kooi > --- > meta/classes/sanity.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes/sanit

[OE-core] [PATCH 1/2] libfm: Upgrade to 1.2.1

2014-08-27 Thread Marius Avram
Removed patch fix-make-parallelism-issue.patch which doesn't seem to be needed anymore, as the build works with multiple threads. Changed patch for current structure of configure.ac file. Signed-off-by: Marius Avram --- .../libfm-1.1.2.2/fix-make-parallelism-issue.patch | 31 -

[OE-core] [PATCH 2/2] pcmanfm: Upgrade to 1.2.1

2014-08-27 Thread Marius Avram
Signed-off-by: Marius Avram --- .../pcmanfm/{pcmanfm_1.1.2.bb => pcmanfm_1.2.1.bb} |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) rename meta/recipes-sato/pcmanfm/{pcmanfm_1.1.2.bb => pcmanfm_1.2.1.bb} (79%) diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.1.2.bb b/meta/recip

[OE-core] Question about aarch64 target

2014-08-27 Thread Kang Kai
Hi Saul, I am working on Bug 6487 - Add Aarch64 qemu target. I take tune and config files from linaro then succeeds to build core-image-minimal and core-image-sato. And I have 2 question about it now: 1 What should the new qemu aarch64 bsp looks like at the end? Do the files in the patch att

Re: [OE-core] [PATCH 1/3] bitbake: runqueue: terminate build safely while RunQueueExecuteScenequeue init failed

2014-08-27 Thread Hongxu Jia
I will resend this patch to bitbake mailing list bitbake-de...@lists.openembedded.org, sorry for the wrong place. //Hongxu On 08/27/2014 03:53 PM, Hongxu Jia wrote: While RunQueueExecuteScenequeue init failed, the exit of build is mess. Here is the example while bb.fatal invoked in RunQueueExe

[OE-core] [PATCH] qemu: add PACKAGECONFIG for numa

2014-08-27 Thread jackie.huang
From: Jackie Huang Add PACKAGECONFIG for numa to avoid build error: backends/hostmem.c:21:20: fatal error: numaif.h: No such file or directory Package numctl is from meta-oe. Signed-off-by: Jackie Huang --- meta/recipes-devtools/qemu/qemu.inc | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH v2] Fix USB not mounted in file manager

2014-08-27 Thread Marius Avram
Currently a USB stick gets mounted on /run/media/sdX, where X is the letter corresponding to a certain drive. In older builds of core-image-sato it got mounted in /media/sdX. This change made the drives to not be displayed in graphical applications which use glib-2.0 such as the File Manager (pcman

[OE-core] it seemed to fail. This is an updated working version.

2014-08-27 Thread Marius Avram
>From faac9d6404d3fe7c65b794682fc5e87bdb0891d9 Mon Sep 17 00:00:00 2001 From: Marius Avram Date: Wed, 27 Aug 2014 12:12:18 +0300 Subject: [PATCH v2] Fix USB not mounted in file manager Currently a USB stick gets mounted on /run/media/sdX, where X is the letter corresponding to a certain drive. In

[OE-core] [PATCH] Fix USB not mounted in file manager

2014-08-27 Thread Marius Avram
Currently a USB stick gets mounted on /run/media/sdX, where X is the letter corresponding to a certain drive. In older builds of core-image-sato it got mounted in /media/sdX. This change made the drives to not be displayed in graphical applications which use glib-2.0 such as the File Manager (pcman

[OE-core] [PATCH 3/3] bbclass/sstate_readonly: only allowed sstate-cache objects are allowed in a build (read-only sstate-cache)

2014-08-27 Thread Hongxu Jia
The requirement is the developer who demand only the "new" software they write is allowed to be compiled from source, they only want to reuse binaries from an existed sstate-cache, if the developer makes a change that triggers a rebuild, it should be an instant error. The purpose of this is for th

[OE-core] [PATCH V2 0/3] bbclass/sstate: only allowed sstate-cache objects are allowed in a build (read-only sstate-cache)

2014-08-27 Thread Hongxu Jia
Changed in V2: - add hook SSTATE_CHECK_FUNCTIONS for sstate checking, and add a new bbclass/sstate_readonly, rather than directly modify bbclass/sstate - terminate build safely while RunQueueExecuteScenequeue init failed, the previous bb.msg.fatal is too hack. Test steps: 1) vim local.con

[OE-core] [PATCH 1/3] bitbake: runqueue: terminate build safely while RunQueueExecuteScenequeue init failed

2014-08-27 Thread Hongxu Jia
While RunQueueExecuteScenequeue init failed, the exit of build is mess. Here is the example while bb.fatal invoked in RunQueueExecuteScenequeue: ... Traceback (most recent call last): File "/home/jiahongxu/yocto/poky/bitbake/lib/bb/runqueue.py", line 1824, in RunQueueExecuteScenequeue.__init__(r

[OE-core] [PATCH 2/3] bbclass/sstate: add hook SSTATE_CHECK_FUNCTIONS for sstate checking

2014-08-27 Thread Hongxu Jia
Provide hook for sstate checking, the checking failure will break the building immediately. Pass input parameters by bb.data (d.getVar/d.setVar). Hook : SSTATE_CHECK_FUNCTIONS Input : missed- list of missing sstate file index in sq : found - list of existing sstate file index in sq