[OE-core] [PATCH v2 3/3] classes/sstate: regenerate sstate when signing enabled

2019-07-30 Thread Joshua Lock via Openembedded-core
been performed yet. The downside of this change is that enabling/disabling sstate object signing alters the taskhash and results in rebuilding the world. Signed-off-by: Joshua Lock --- meta/classes/sstate.bbclass | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff

[OE-core] [PATCH v2 1/3] sstate: fix log message

2019-07-30 Thread Joshua Lock via Openembedded-core
Referring to the sstate object as a staging package is an artefact of the code's origins. Switch to referring to an "Sstate package" in order to be more accurate and consistent with the rest of the file. Signed-off-by: Joshua Lock --- meta/classes/sstate.bbclass | 2 +- 1 file

[OE-core] [PATCH v2 2/3] classes/sstate: don't use unsigned sstate when verification enabled

2019-07-30 Thread Joshua Lock via Openembedded-core
When signature verification of shared state objects is enabled (SSTATE_VERIFY_SIG) use of an unsigned object, even though it produces a warning, seems unexpected. Instead skip unsigned objects and force the non-accelerated task to be run. Signed-off-by: Joshua Lock --- meta/classes

[OE-core] [PATCH v2 0/3] Enforce Shared State Signing when optionsset

2019-07-30 Thread Joshua Lock via Openembedded-core
835f7eac0610325e906591cd81890bebe8627580: meta/lib/oeqa: Test for bootimg-biosplusefi Source (2019-07-23 22:26:28 +0100) are available in the Git repository at: https://github.com/joshuagl/poky joshuagl/signed-sstate2 https://github.com/joshuagl/poky/tree/joshuagl/signed-sstate2 Joshua Lock (3

Re: [OE-core] [RFC PATCH 3/3] classes/sstate: regenerate sstate when signing enabled

2019-07-30 Thread Joshua Lock via Openembedded-core
> On 27 Jul 2019, at 11:12, Richard Purdie > wrote: > > On Fri, 2019-07-26 at 11:26 +0000, Joshua Lock via Openembedded-core > wrote: >> This change ensures that the task signatures changes, and therefore >> sstate tasks are rerun, when signing is enabled. This

[OE-core] [RFC PATCH 1/3] sstate: fix log message

2019-07-26 Thread Joshua Lock via Openembedded-core
Referring to the sstate object as a staging package is an artefact of the code's origins. Switch to referring to an "Sstate package" in order to be more accurate and consistent with the rest of the file. Signed-off-by: Joshua Lock --- meta/classes/sstate.bbclass | 2 +- 1 file

[OE-core] [RFC PATCH 3/3] classes/sstate: regenerate sstate when signing enabled

2019-07-26 Thread Joshua Lock via Openembedded-core
been performed yet. The downside of this change is that enabling/disabling sstate object signing alters the taskhash and results in rebuilding the world. Signed-off-by: Joshua Lock --- meta/classes/sstate.bbclass | 10 -- meta/lib/oe/gpg_sign.py | 10 ++ 2 files changed, 18

[OE-core] [RFC PATCH 2/3] classes/sstate: don't use unsigned sstate when verification enabled

2019-07-26 Thread Joshua Lock via Openembedded-core
When signature verification of shared state objects is enabled (SSTATE_VERIFY_SIG) use of an unsigned object, even though it produces a warning, seems unexpected. Instead skip unsigned objects and force the non-accelerated task to be run. Signed-off-by: Joshua Lock --- meta/classes

[OE-core] [RFC PATCH 0/3] Enforce Shared State Signing when options set

2019-07-26 Thread Joshua Lock via Openembedded-core
) are available in the Git repository at: https://github.com/joshuagl/poky joshuagl/signed-sstate https://github.com/joshuagl/poky/tree/joshuagl/signed-sstate Joshua Lock (3): sstate: fix log message classes/sstate: don't use unsigned sstate when verification enabled classes/sstate

[OE-core] [PATCH] python3-manifest: add entry to package the timeit module

2019-07-12 Thread Joshua Lock
Signed-off-by: Joshua Lock --- .../python/python3/python3-manifest.json | 12 1 file changed, 12 insertions(+) diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json index 0803ac0033

Re: [OE-core] [PATCH] glib-2.0: Re-add the gettext depend

2018-01-18 Thread Joshua Lock
On 18/01/18 19:12, Alistair Francis wrote: Commit "glib-2.0: rationalise build dependencies" (8b0ca0cb54c91611213556bdb99316d5e7ac5b3b) broke mingw glib builds with the following error: This patch fixes the issue by re-adding the gettext dependency. Signed-off-by: Alistair Francis

[OE-core] [PATCH] oeqa/selftest/cases/wic: update OETestID decorator for test_qemu

2017-12-19 Thread Joshua Lock
Test case ID 1422 is not correct for this issue, the correct test case ID for test_qemu is 1424. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oeqa/selftest/cases/wic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/selftest/cases/wic

Re: [OE-core] [PATCH] core/loader.py: fix regex to include all available test cases

2017-12-06 Thread Joshua Lock
nardo Sandoval <leonardo.sandoval.gonza...@linux.intel.com> LGTM and fixes [YOCTO #12385], thanks! Acked-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oeqa/core/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/core/loader.py b/m

Re: [OE-core] [PATCH 3/3] oeqa/selftest/runtime_test: simplify postinst testing

2017-11-22 Thread Joshua Lock
On 23/11/2017 00:04, Ross Burton wrote: Update the packages and file names to reflect the new postinst recipe. Fix a sh syntax error in the run_serial file exists test which was hidden by a logic problem in the status code. Remove the older test_verify_postinst as it's effectively a subset

Re: [OE-core] [PATCH] scripts/runqemu: when qemu fails to start with kvm retry with kvm disabled

2017-11-03 Thread Joshua Lock
On 03/11/17 15:18, akuster808 wrote: Joshua, On 11/03/2017 02:11 AM, Joshua Lock wrote: On the Yocto Project Autobuilder we occasionally see qemu fail to start, most frequently on Fedora 25, because kvm fails to allocate memory. See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=12058

[OE-core] [PATCH] scripts/runqemu: when qemu fails to start with kvm retry with kvm disabled

2017-11-03 Thread Joshua Lock
is enabled we retry running qemu with the kvm related options removed from the qemu command line. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- scripts/runqemu | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/scripts/runqemu b/scripts/runqemu

[OE-core] [PATCH v2][morty] ruby: fix build of ruby-native with gcc7

2017-10-30 Thread Joshua Lock
Marshalling is broken when ruby-2.2.x is built with gcc7, backport the fix in Ruby SVN r57410 to apply to ruby 2.2.5: https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision=57410 Fixes [YOCTO #12271] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- v2: fixes typo in commit m

[OE-core] [PATCH][morty] ruby: fix build of ruby-native with gcc7

2017-10-27 Thread Joshua Lock
Marsalling is broken when ruby-2.2.x is built with gcc7, backport the change fix in Ruby SVN r57410 to apply to ruby 2.2.5: https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision=57410 Fixes [YOCTO #12271] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/recipes-devtool

Re: [OE-core] [PATCH] devtool: ensure temp directory is created

2017-10-17 Thread Joshua Lock
On 17/10/17 17:12, Burton, Ross wrote: On 17 October 2017 at 17:02, Joshua Lock <joshua.g.l...@linux.intel.com <mailto:joshua.g.l...@linux.intel.com>> wrote: FWIW the failure has been observed on multiple host distros (Ubuntu 16.04, Fedora 26, Tumbleweed) and I cou

Re: [OE-core] [PATCH] devtool: ensure temp directory is created

2017-10-17 Thread Joshua Lock
On 17/10/17 17:00, Leonardo Sandoval wrote: On Tue, 17 Oct 2017 16:05:06 +0100 Joshua Lock <joshua.g.l...@intel.com> wrote: I would be nice that we keep the bugzilla ticket open (and included the tag on this patch) and investigate further this issue. Seems like in some d

[OE-core] [PATCH] devtool: ensure temp directory is created

2017-10-17 Thread Joshua Lock
File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/scripts/lib/devtool/standard.py", line 545, in _extract_source with open(os.path.join(tempdir, 'initial_rev'), 'r') as f: Ensure the tempdir is created before we try and create any files there. Signed-off-

[OE-core] [PATCH] lib/oeqa/selftest/cases/gotoolchain: add selftest for the Go toolchain

2017-10-04 Thread Joshua Lock
command with the SDK's Go toolchain and check it returned successfully. [YOCTO #12152] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oeqa/selftest/cases/gotoolchain.py | 67 + 1 file changed, 67 insertions(+) create mode 100644 meta/li

[OE-core] [PATCH] oe-build-perf-report-email.py: add cc and bcc options

2017-09-21 Thread Joshua Lock
Enable carbon copy and blind carbon copy recipients for the performance report emails. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- scripts/contrib/oe-build-perf-report-email.py | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/scripts/cont

Re: [OE-core] [PATCH 2/2] package_[deb|ipk]: improve multiprocess logic when creating deb/ipk packages

2017-09-05 Thread Joshua Lock
On 04/09/17 22:35, leonardo.sandoval.gonza...@linux.intel.com wrote: From: Leonardo Sandoval Current implementation does not handle possible exceptions coming from child processes, the latter responsible for creating packages. With the aim to have

Re: [OE-core] [PATCH] oeqa/buildperf: Add 'bitbake -m' on sync function to ensure bitbake is unloaded

2017-07-26 Thread Joshua Lock
On 25/07/2017 20:42, jose.perez.carra...@linux.intel.com wrote: From: Jose Perez Carranza Add 'bitbake -m' to the sync method and ensure all process related to bitbake are correctly unloaded before doing the different measurements. Also add a call to sync

[OE-core] [PATCH 2/2] x86-base: build only hddimg, rather than iso and hddimg, for x86 machines

2017-07-12 Thread Joshua Lock
Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/conf/machine/include/x86-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/machine/include/x86-base.inc b/meta/conf/machine/include/x86-base.inc index bfacdf5..a29641a 100644 --- a/met

[OE-core] [PATCH 1/2] image_types: remove Hob convenience variable

2017-07-12 Thread Joshua Lock
IMAGE_EXTENSION_live is no longer used. It was used by Hob to map the live image type, but Hob is no longer part of the Bitbake codebase. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/classes/image_types.bbclass | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/c

Re: [OE-core] [PATCH] update distro_alias to include unmap packages on other distro

2017-07-11 Thread Joshua Lock
Hi Shen Joon, The commit message doesn't match the expected format of "primary item changed: short summary Long description" as documented at: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines If in doubt about how to describe the primary item changed git log is invaluable, in

[OE-core] [PATCH 2/2] lib/oe/distro_check: drop Mandriva from create_distro_packages_list()

2017-06-20 Thread Joshua Lock
Mandriva is no longer maintained, with its last release having been in 2011. It's no longer useful as a yard-stick distro, therefore drop it from distro_check.create_distro_packages_list() Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/distro_check.py | 8

[OE-core] [PATCH 1/2] lib/oe/distro_check: update openSUSE to use Leap url formats

2017-06-20 Thread Joshua Lock
Since openSUSE switched to their dual development model of Leap and Tumbleweed the urls we need to check for package lists has changed. Update get_latest_released_opensuse_source_package_list() to use the new Leap urls. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/

Re: [OE-core] [PATCH 0/2] Multi-threaded RPM support

2017-06-05 Thread Joshua Lock
On Mon, 2017-06-05 at 15:14 +0300, Alexander Kanavin wrote: > On 06/04/2017 05:15 PM, Richard Purdie wrote: > > > https://autobuilder.yoctoproject.org/main/builders/nightly-x86/buil > > ds/1 > > 163/steps/BuildImages/logs/stdio > > > >

[OE-core] [morty][PATCH 1/1] perf: add perf-feature for systemtap

2017-06-01 Thread Joshua Lock
Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/recipes-kernel/perf/perf.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 471023d..03ae446 100644 --- a/meta/recipes-kernel/perf/p

[OE-core] [PATCH] kernel: predefine KBUILD_BUILD_USER and KBUILD_BUILD_HOST

2017-05-19 Thread Joshua Lock
/Articles/437864/ Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/classes/kernel.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 8954b28..7a134d5 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/c

[OE-core] [morty] sanity.bbclass: fix logging of an error

2017-05-10 Thread Joshua Lock
m> Signed-off-by: Ross Burton <ross.bur...@intel.com> Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta

Re: [OE-core] [PATCH 1/1] cve-check.bbclass: make warning contain CVE IDs

2017-05-09 Thread Joshua Lock
On Tue, 2017-05-09 at 17:13 +0800, Chen Qi wrote: > When warning users about unpatched CVE, we'd better put CVE IDs into > the warning message, so that it would be more straight forward for > the > user to know which CVEs are not patched. > > So instead of: >   WARNING: gnutls-3.5.9-r0

Re: [OE-core] [PATCH 0/4] Reproducible binaries

2017-04-27 Thread Joshua Lock
On Wed, 2017-04-26 at 19:50 +, Bystricky, Juro wrote: > > I wasnted to say "passing the seed value" through some separate > > variable > > which is easy to override from somewhere else. > > > > e.g. > > export PRELINK_TIMESTAMP=`git log -1 --pretty=%ct ` > > > > in

Re: [OE-core] [PATCH] oeqa.utils.metadata: cope with invalid lines in os-release file

2017-04-26 Thread Joshua Lock
On Wed, 2017-04-26 at 17:39 +0300, Markus Lehtonen wrote: > Don't crash if every line in /etc/os-release does not adhere to the > expected "key=val" format. E.g. CentOS 7 has empty lines in the file. > > Signed-off-by: Markus Lehtonen > --- >  

[OE-core] [PATCH] oeqa/sdk/cases/buildcpio: enable use of cached cpio from DL_DIR

2017-04-10 Thread Joshua Lock
from DL_DIR Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oeqa/sdk/cases/buildcpio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/sdk/cases/buildcpio.py b/meta/lib/oeqa/sdk/cases/buildcpio.py index 11d629a..333dc7c 100644 --- a/me

Re: [OE-core] [PATCH 0/2] Fixes for building on Fedora 26 (Alpha)

2017-04-07 Thread Joshua Lock
On Thu, 2017-04-06 at 06:50 -0700, Khem Raj wrote: > On Thu, Apr 6, 2017 at 6:23 AM, Joshua Lock <joshua.g.l...@intel.com> > wrote: > > As Fedora 26 has a new gcc [1] and a new system pkg-config > > implementation [2] I > > wanted to do some testing on that ho

[OE-core] [PATCH 2/2] gcc-6.3: backport fix of check for empty string in ubsan.c

2017-04-06 Thread Joshua Lock
] == '\xff' Backport the fix from upstream GCC to enable the build with GCC 7 Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/recipes-devtools/gcc/gcc-6.3.inc | 1 + .../gcc/gcc-6.3/ubsan-fix-check-empty-string.patch | 28 ++ 2 files chang

[OE-core] [PATCH 1/2] elfutils: fix building elfutils-native with GCC7

2017-04-06 Thread Joshua Lock
Backport a fix from upstream for a -Wformat-truncation=2 warning and implement a simple fix for a -Wimplicit-fallthrough warning. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- .../elfutils-0.168/Fix_one_GCC7_warning.patch | 44 ++ .../elfutils/elfutils

[OE-core] [PATCH 0/2] Fixes for building on Fedora 26 (Alpha)

2017-04-06 Thread Joshua Lock
/targetbuildproject: use parent classes defaults tmpdir (2017-04-06 10:13:39 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib joshuagl/fedora26 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=joshuagl/fedora26 Joshua Lock (2): elfutils: fix building

[OE-core] [PATCH 2/3] oeqa/utils/targetbuild: tmp dir improvements

2017-04-05 Thread Joshua Lock
Don't hard-code /tmp as the tmpdir, instead use WORKDIR as the tmpdir if the instantiater doesn't specify a value. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oeqa/utils/targetbuild.py | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/me

[OE-core] [PATCH 3/3] oeqa/runtime/utils/targetbuildproject: use parent classes defaults tmpdir

2017-04-05 Thread Joshua Lock
Rather than hard-coding the tmpdir for TargetBuildProject to /tmp allow the parent's default handling to define an appropriate tmpdir. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oeqa/runtime/utils/targetbuildproject.py | 3 +-- 1 file changed, 1 insertion(+), 2 del

[OE-core] [PATCH 1/3] oeqa/utils/buildproject: create a more unique tmp dir

2017-04-05 Thread Joshua Lock
Rather than hardcoding /tmp as the default tmpdir make a more unique tmpdir with tempfile.mkdtemp() when the caller doesn't specify a tmpdir value. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oeqa/utils/buildproject.py | 7 +-- 1 file changed, 5 insertions

[OE-core] [PATCH] yocto-uninative: Update to the 1.6 release

2017-04-03 Thread Joshua Lock
This release includes fixes for Windows/Mingw support. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/conf/distro/include/yocto-uninative.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/conf/distro/include/yocto-uninative.inc b/meta/conf/

Re: [OE-core] [PATCH 2/2] scripts: Add yocto-compat-layer-wrapper

2017-03-30 Thread Joshua Lock
On Thu, 2017-03-30 at 10:43 -0600, Aníbal Limón wrote: > > On 03/30/2017 10:13 AM, Patrick Ohly wrote: > > On Thu, 2017-03-30 at 10:03 -0600, Aníbal Limón wrote: > > > > > > On 03/30/2017 12:02 AM, Patrick Ohly wrote: > > > > On Wed, 2017-03-29 at 15:44 -0600, Aníbal Limón wrote: > > > > ... > >

Re: [OE-core] [PATCH v3, 1/2] lib/oe/sdk: Add get_extra_sdk_info to reuse code in buildhistory

2017-03-28 Thread Joshua Lock
On Tue, 2017-03-28 at 00:15 -0700, Francisco Pedraza wrote: > This function is going to be used for generating the target and host > manifest files packages for eSDK. > [YOCTO #9038] > > Signed-off-by: Francisco Pedraza com> > --- >  

[OE-core] [PATCH] oeqa/selftest: don't use cleanall in selftests

2017-03-27 Thread Joshua Lock
the test, let's leave that to a higher level process rather than using the cleanall hammer. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oeqa/selftest/buildoptions.py | 2 +- meta/lib/oeqa/selftest/devtool.py | 2 +- meta/lib/oeqa/selftest/runtime-test.py | 6 ---

[OE-core] [PATCH] meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME)

2017-03-17 Thread Joshua Lock
bb.data.expand(x, d) is deprecated API. [YOCTO #10678] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/classes/archiver.bbclass | 2 +- meta/classes/package.bbclass | 4 ++-- meta/classes/utility-tasks.bbclass | 2 +-

Re: [OE-core] [PATCH 2/4] meta-selftest: add selftest-ed recipes

2017-03-10 Thread Joshua Lock
On Thu, 2017-03-09 at 21:05 +0100, Patrick Ohly wrote: > On Wed, 2017-03-08 at 17:24 +0000, Joshua Lock wrote: > > The oe-selftest oescripts.TestScripts.test_cleanup_workdir was > > using > > gzip and the GPLv2 variant to test cleanup of the workdir. This > > broke &g

[OE-core] [PATCH 3/4] lib/oeqa/selftest/oescripts: make test_cleanup_workdir use selftest-ed

2017-03-08 Thread Joshua Lock
Use a recipe which is bundled in the meta-selftest layer for this test, rather than relying on OE-Core remaining static (or updating the tests when OE-Core changes recipes). Tested with oe-selftest -r oescripts.TestScripts.test_cleanup_workdir Signed-off-by: Joshua Lock <joshua.g.l...@intel.

[OE-core] [PATCH 1/4] chkconfig-alternatives-native: fix obey_variables

2017-03-08 Thread Joshua Lock
This postfunc assumes it's run from S, whereas that seems not to always be the case in practice. Explicitly define the full path of the file we wish to sed. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/recipes-extended/chkconfig/chkconfig-alternatives-native_1.3.59.bb | 2

[OE-core] [PATCH 4/4] lib/oeqa/selftest/bbtests: update test_non_gplv3 to use selftest-ed

2017-03-08 Thread Joshua Lock
GPLv2 recipes have been moved to a new layer (meta-gplv2), instead of readline perform this test on the selftest-ed recipe in meta-selftest which has gplv2 and gplv3 variants. Tested with oe-selftest -r bbtests.BitbakeTests.test_non_gplv3 Signed-off-by: Joshua Lock <joshua.g.l...@intel.

[OE-core] [PATCH 2/4] meta-selftest: add selftest-ed recipes

2017-03-08 Thread Joshua Lock
-by: Joshua Lock <joshua.g.l...@intel.com> --- .../recipes-test/selftest-ed/selftest-ed_0.5.bb| 22 ++ .../recipes-test/selftest-ed/selftest-ed_1.14.1.bb | 35 ++ 2 files changed, 57 insertions(+) create mode 100644 meta-selftest/recipes-test/selftest-ed/selftest-

Re: [OE-core] [PATCH] recipes: Move out stale GPLv2 versions to a seperate layer

2017-03-08 Thread Joshua Lock
On Wed, 2017-03-08 at 11:11 +, Richard Purdie wrote: > On Wed, 2017-03-08 at 09:34 +, Peter Kjellerstedt wrote: > > > > And the layer should be added to the layer index... > > Yes, it should. I've submitted meta-gplv2 to the layer index. Joshua --

Re: [OE-core] [PATCH 3/3] classes/populate_sdk_base: Adds support to generate extensible sdk package manifest

2017-02-22 Thread Joshua Lock
On Tue, 2017-02-21 at 14:48 -0800, Francisco Pedraza wrote: > This function writes on host and target manifest files for eSDK. > [YOCTO #9038] > > Signed-off-by: Francisco Pedraza com> > --- >  meta/classes/populate_sdk_base.bbclass | 26 >

[OE-core] [PATCH] layer.conf: bump version for change in eSDK selftest behaviour

2017-02-17 Thread Joshua Lock
Since 59a99cd8 "oeqa/sdk: Updates sanity tests for minimal eSDK" we can now run oe-selftests against a minimal eSDK. We need to increase the layer version so that we can detect this change in behaviour in our automated testing. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com>

Re: [OE-core] [PATCH] zlib: update SRC_URI to fix fetching

2017-02-08 Thread Joshua Lock
On Fri, 2017-01-13 at 17:53 +0200, Alexander Kanavin wrote: > On 01/13/2017 05:36 PM, Joshua Lock wrote: > > > Running checkpkg on the autobuilders won't really help as the > > autobuilders rely on the bitbake invocation returning a non-zero > > exit > > cod

Re: [OE-core] [PATCH 1/3] go: Add recipes for golang compilers and tools

2017-02-08 Thread Joshua Lock
On Tue, 2017-02-07 at 17:35 +, Burton, Ross wrote: > On 7 February 2017 at 04:24, Khem Raj wrote: > > This is converging the recipes for go from > > > > meta-virtualization and oe-meta-go > > > > I'm still of the opinion that this should be in meta-go, not oe- > core...

[OE-core] [PATCH] pseudo: update to 1.8.2

2017-02-07 Thread Joshua Lock
Update to the newly minted 1.8.2, dropping several patches we'd backported since the last release. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- .../files/0001-Don-t-send-SIGUSR1-to-init.patch| 48 - ...t-diagnostics-during-startup-for-pseudo-d.patch

[OE-core] [PATCH] toolchain-scripts: remove CCACHE_PATH from environment script

2017-01-24 Thread Joshua Lock
compilers aren't detected due to the binaries being prefixed with the triplet of the target. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/classes/toolchain-scripts.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/c

Re: [OE-core] [PATCH] zlib: update SRC_URI to fix fetching

2017-01-13 Thread Joshua Lock
On Fri, 2017-01-13 at 16:18 +0200, Alexander Kanavin wrote: > On 01/13/2017 03:51 PM, Lock, Joshua G wrote: > > > Noted, thanks. Do we maintain a list of things we'd like people to > > check, and how to do it, when making updates to recipes? > > I don't think there's such a list, perhaps we

Re: [OE-core] [PATCH] zlib: update SRC_URI to fix fetching

2017-01-13 Thread Joshua Lock
> On Fri, 2017-01-13 at 15:00 +0200, Alexander Kanavin wrote: > On 01/09/2017 02:56 PM, Alexander Kanavin wrote: > > On 01/05/2017 06:34 PM, Joshua Lock wrote: > > > Upstream have removed the file from zlib.net as a new version has > > > been released, switch

[OE-core] [PATCH 0/1] Fido backport pull request

2017-01-11 Thread Joshua Lock
Backport babeltrace fix as requested by Jonathan Rajotte Julien: http://lists.openembedded.org/pipermail/openembedded-core/2017-January/130849.html The following changes since commit f9c35dfc6601901664dbef2cba3a9b96bef96e64: systemd: re-enable mount propagation for udevd (2016-12-05 17:20:46

[OE-core] [PATCH] zlib: update SRC_URI to fix fetching

2017-01-05 Thread Joshua Lock
Upstream have removed the file from zlib.net as a new version has been released, switch to fetching from the official sourceforge mirror. [YOCTO #10879] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/recipes-core/zlib/zlib_1.2.8.bb | 2 +- 1 file changed, 1 insertion

[OE-core] [PATCH 2/4] scripts: remove True option to getVar calls

2016-12-14 Thread Joshua Lock
getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- scripts/contrib/list-package

[OE-core] [PATCH 3/4] meta: remove True option to getVarFlag calls

2016-12-14 Thread Joshua Lock
getVarFlag() now defaults to expanding by default, thus remove the True option from getVarFlag() calls with a regex search and replace. Search made with the following regex: getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/c

[OE-core] [PATCH 0/4] Remove True option to getVar[Flag] calls

2016-12-14 Thread Joshua Lock
for gcc 4.8 and 4.9 (2016-12-14 09:44:15 +) are available in the git repository at: git://git.yoctoproject.org/poky-contrib joshuagl/deprecations http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=joshuagl/deprecations Joshua Lock (4): meta: remove True option to getVar calls

[OE-core] [PATCH 4/4] scripts: remove True option to getVarFlag calls

2016-12-14 Thread Joshua Lock
getVarFlag() now defaults to expanding by default, thus remove the True option from getVarFlag() calls with a regex search and replace. Search made with the following regex: getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- scrip

[OE-core] [PATCH 2/2] meta: remove True option to getVarFlag calls

2016-11-25 Thread Joshua Lock
getVarFlag() now defaults to expanding by default, thus remove the True option from getVarFlag() calls with a regex search and replace. Search made with the following regex: getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\) Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/c

[OE-core] [PATCH] lib/oe/lsb: better handle missing fields

2016-11-15 Thread Joshua Lock
() in distro_identifier() to supply a default, empty string, value when then key is missing. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/lsb.py | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py

Re: [OE-core] [PATCH] python3: Build and package precompiled modules

2016-11-11 Thread Joshua Lock
tex-A9, "python3 -c pass" took 0.40s > before, and 0.19s after. > > Signed-off-by: Dominic Sacré <dominic.sa...@gmx.de> This looks good, thanks. I've had a similar change queued locally and testing for [YOCTO #10315]. Acked-by: Joshua Lock <joshua.g.l...@intel.com>

Re: [OE-core] krogoth 2.1.2 status

2016-11-09 Thread Joshua Lock
On Wed, 2016-11-09 at 12:30 +, Richard Purdie wrote: > I ran a krogoth 2.1.2 build. It did have some issues: > > * one runtime sanity test had a timeout issue > * some urls are stale (perpetual problem) > * musl runtime testing fails (never tested on krogoth previously) > * no-x11 runtime

[OE-core] [PATCH v2 1/4] lib/oe/path: remove duplicate import

2016-11-08 Thread Joshua Lock
There's no need to import glob inside copyhardlinktree() as it's already imported for the entire path module. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/path.py | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index 0

[OE-core] [PATCH v2 4/4] lib/oe/lsb: attempt to ensure consistent distro id regardless of source

2016-11-08 Thread Joshua Lock
| Ubuntu | ubuntu | Ubuntu | 16.04 | Ubuntu | Ubuntu | ubuntu | [YOCTO #10591] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/lsb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/ls

[OE-core] [PATCH v2 2/4] lib/oe/lsb: make the release dict keys consistent regardless of source

2016-11-08 Thread Joshua Lock
Rather than have the distro_identifier method look for different keys in the dict depending on the source ensure that each function for retrieving release data uses the same key names in the returned dict. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/lsb.p

[OE-core] [PATCH v2 3/4] lib/oe/lsb: prefer /etc/os-release for distribution data

2016-11-08 Thread Joshua Lock
in distro_identifier(), try lsb_release when that fails and finally fall back on various distro specific sources of OS identification. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/lsb.py | 37 - 1 file changed, 28 insertions(+), 9 del

[OE-core] [PATCH v2 0/4] Make oe.lsb.distro_identifier() more consistent

2016-11-08 Thread Joshua Lock
9303d8055c45a0f6af295d70a6f6a8b9d8d8a7c9: devtool: add "rename" subcommand (2016-11-07 11:04:17 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib joshuagl/liboe http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=joshuagl/liboe J

[OE-core] [PATCH 1/4] lib/oe/path: remove duplicate import

2016-11-07 Thread Joshua Lock
There's no need to import glob inside copyhardlinktree() as it's already imported for the entire path module. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/path.py | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index 0

[OE-core] [PATCH 3/4] lib/oe/lsb: prefer /etc/os-release for distribution data

2016-11-07 Thread Joshua Lock
in distro_identifier(), try lsb_release when that fails and finally fall back on various distro specific sources of OS identification. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/lsb.py | 34 +- 1 file changed, 25 insertions(+), 9 deletions(-)

[OE-core] [PATCH 2/4] lib/oe/lsb: make the release dict keys consistent regardless of source

2016-11-07 Thread Joshua Lock
Rather than have the distro_identifier method look for different keys in the dict depending on the source ensure that each function for retrieving release data uses the same key names in the returned dict. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/lsb.p

[OE-core] [PATCH 0/4] Make oe.lsb.distro_identifier() more consistent

2016-11-07 Thread Joshua Lock
at: git://git.openembedded.org/openembedded-core-contrib joshuagl/liboe http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=joshuagl/liboe Joshua Lock (4): lib/oe/path: remove duplicate import lib/oe/lsb: make the release dict keys consistent regardless of source lib

[OE-core] [PATCH 4/4] lib/oe/lsb: attempt to ensure consistent distro id regardless of source

2016-11-07 Thread Joshua Lock
| Ubuntu | ubuntu | Ubuntu | 16.04 | Ubuntu | Ubuntu | ubuntu | [YOCTO #10591] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/lib/oe/lsb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/ls

Re: [OE-core] [PATCH 7/9] selftest: skip runtime-test's test_testimage_install on poky-tiny distro

2016-10-18 Thread Joshua Lock
On Mon, 2016-10-17 at 11:02 -0500, Leonardo Sandoval wrote: > > On 10/17/2016 02:09 AM, Joshua Lock wrote: > > > > On Fri, 2016-10-14 at 11:40 -0500, > > leonardo.sandoval.gonza...@linux.intel.com wrote: > > > > > > From: Leonardo Sandoval <leon

Re: [OE-core] [PATCH 4/9] selftest: skip some devtool tests when distro is poky-tiny due to missing libx11

2016-10-18 Thread Joshua Lock
On Mon, 2016-10-17 at 10:19 -0500, Leonardo Sandoval wrote: > > > > > > > On 10/17/2016 06:42 AM, Burton, Ross >   wrote: > > > > >    > > > > > > > >   On 14 October 2016 at 17:40, > >

Re: [OE-core] [PATCH 2/9] selftest: skip two bbtest tests depending on distro

2016-10-18 Thread Joshua Lock
On Mon, 2016-10-17 at 11:04 -0500, Leonardo Sandoval wrote: > > On 10/17/2016 02:08 AM, Joshua Lock wrote: > > > > On Fri, 2016-10-14 at 11:40 -0500, > > leonardo.sandoval.gonza...@linux.intel.com wrote: > > > > > > From: Leonardo Sandoval <leon

Re: [OE-core] [PATCH 7/9] selftest: skip runtime-test's test_testimage_install on poky-tiny distro

2016-10-17 Thread Joshua Lock
On Fri, 2016-10-14 at 11:40 -0500, leonardo.sandoval.gonza...@linux.intel.com wrote: > From: Leonardo Sandoval > > Distro poky-tiny cannot build the core-image-full-cmdline image, so > skip the > test if this is the case. > > [YOCTO #8525] Wouldn't

Re: [OE-core] [PATCH 2/9] selftest: skip two bbtest tests depending on distro

2016-10-17 Thread Joshua Lock
On Fri, 2016-10-14 at 11:40 -0500, leonardo.sandoval.gonza...@linux.intel.com wrote: > From: Leonardo Sandoval > > There are two bbtests that just makes sense on certain distros: > test_bitbake_g cannot be done on poky-tiny and test_non_gplv3 > just

[OE-core] [PATCH 2/2] local.conf.sample.extended: remove RM_OLD_IMAGE

2016-10-12 Thread Joshua Lock
RM_OLD_IMAGE has been removed so don't include this variable in sample local.conf Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/conf/local.conf.sample.extended | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/conf/local.conf.sample.extended b/met

[OE-core] [PATCH 1/2] Remove RM_OLD_IMAGE, it's no longer useful

2016-10-12 Thread Joshua Lock
the variable and its users. Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta-selftest/recipes-test/images/wic-image-minimal.bb | 1 - meta/classes/cve-check.bbclass | 2 -- meta/classes/image-vm.bbclass | 8 meta/c

Re: [OE-core] rpm: Recover RPM4 to OE-core

2016-10-11 Thread Joshua Lock
On Fri, 2016-10-07 at 12:19 +0900, Fan Xin wrote: > Hi Joshua, > > Thanks for your info. > > Actually, our origin motivation is that we found smartpm is not  > maintained any more. We maintain smartpm for our distro at > https://github.com/ubinux/smart2 Indeed, the lack of maintenance for Smart

[OE-core] [PATCH] pseudo: backport a patch to fix renameat()

2016-10-06 Thread Joshua Lock
renameat calls under pseudo were losing extended attributes. Backport the fix for this from pseudo upstream. [YOCTO '10349] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- ...nameat-parallel-to-previous-fix-to-rename.patch | 64 ++ meta/recipes-devtools/

Re: [OE-core] rpm: Recover RPM4 to OE-core

2016-10-06 Thread Joshua Lock
Hi Fan, On Thu, 2016-10-06 at 20:18 +0900, Fan Xin wrote: > By the way, could anyone give more detail info about the bugs in RPM We removed rpm4 early this year[1] because rather than have people be surprised that it didn't work we decided to drop support for rpm4 until such time as the project

[OE-core] [PATCH] testimage: disable build tests for qemumips and qemumips64

2016-10-06 Thread Joshua Lock
by disabling the more complex build tests for QEMU MIPS machines. [YOCTO #10340] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/classes/testimage.bbclass | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass

Re: [OE-core] [PATCH] multilib_header: avoid sstate checksum issues for -nativesdk recipes

2016-09-30 Thread Joshua Lock
On Fri, 2016-09-30 at 08:29 -0700, akuster808 wrote: > > On 09/30/2016 02:09 AM, Joshua Lock wrote: > > > > Much as with -native recipes, as addressed in commit > > b15730caf0d4c40271796887505507f2501958bb, arch specific variables > > like MIPSPKGSFX_ABI we

[OE-core] [PATCH] multilib_header: avoid sstate checksum issues for -nativesdk recipes

2016-09-30 Thread Joshua Lock
in this scenario. [YOCTO #10320] Signed-off-by: Joshua Lock <joshua.g.l...@intel.com> --- meta/classes/multilib_header.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes/multilib_header.bbclass b/meta/classes/multilib_header.bbclass index 5ee0a2d..304c28e 100644 ---

Re: [OE-core] [PATCH RFC] scripts/runqemu: Be more loose when guessing QB_SYSTEM_NAME variable

2016-09-27 Thread Joshua Lock
On Tue, 2016-09-27 at 11:27 -0700, California Sullivan wrote: > Following the instructions to reproduce YOCTO #10026 I found that > runqemu would fail to start because QB_SYSTEM_NAME is null. This > patch > makes the guessing algorithm more loose allowing it to correctly > guess > the variable

[OE-core] [PATCH 2/2] buildtools-tarball: improve stamp independence

2016-09-22 Thread Joshua Lock
buildtools-tarball shouldn't be regenerated when MACHINE changes, nor should variants for other SDKMACHINE be removed from the deploy directory when SDKMACHINE changes. Remove target architecture dependencies so that deploy artefacts can overlap. Signed-off-by: Joshua Lock <joshua.

[OE-core] [PATCH 1/2] toolchain-scripts-base: add base class for toolchain_create_sdk_version

2016-09-22 Thread Joshua Lock
We use toolchain_create_sdk_version() in buildtools-tarball but don't want the extra classes toolchain-scripts pulls in, therefore split out a separate base class for this function which both toolchain-scripts and the buildtools-tarball can inherit. Signed-off-by: Joshua Lock <joshua.

  1   2   3   4   5   6   7   8   >