Re: [OE-core] [PATCH][v2] perf: fix the install-python_ext

2015-09-07 Thread Rongqing Li
ping -Roy On 2015年08月27日 09:18, Rongqing Li wrote: On 2015年08月26日 18:16, Burton, Ross wrote: On 26 August 2015 at 06:58, mailto:rongqing...@windriver.com>> wrote: +export PYTHON_SITEPACKAGES_DIR Why do you export this and then use \$(PYTHON_SITEPACKAGES_DIR), isn't just using ${PYTHO

Re: [OE-core] [PATCH] gnu-efi: Make setjmp.S portable to ARM

2015-09-07 Thread wenzong fan
On 09/07/2015 10:08 PM, Burton, Ross wrote: On 7 September 2015 at 03:19, mailto:wenzong@windriver.com>> wrote: + > Note on targets where the @ character is the start of a comment + > (eg ARM) then another character is used instead. For example the + > ARM port uses the % cha

Re: [OE-core] [oe-core][PATCH 1/1] busybox: more nails in the coffin

2015-09-07 Thread Slater, Joseph
> -Original Message- > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > Sent: Friday, September 04, 2015 10:33 PM > To: Slater, Joseph > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [oe-core][PATCH 1/1] busybox: more nails in the coffin > > On F

[OE-core] [PATCH][fido] bind: CVE-2015-1349 CVE-2015-4620 CVE-2015-5722

2015-09-07 Thread Armin Kuster
From: Armin Kuster three security fixes. Signed-off-by: Armin Kuster --- .../bind/bind/CVE-2015-1349.patch | 60 +++ .../bind/bind/CVE-2015-4620.patch | 36 ++ .../bind/bind/CVE-2015-5722.patch | 490 + meta/recipes-conne

Re: [OE-core] [PATCH 2/4] rootfs: Do not uninstall update-rc.d

2015-09-07 Thread Phil Blundell
On Mon, 2015-09-07 at 14:15 -0700, Khem Raj wrote: > > On Sep 7, 2015, at 12:36 PM, Phil Blundell wrote: > > > > On Sun, 2015-09-06 at 15:25 +, Khem Raj wrote: > >> update-rc.d is now needed by systemd to interact with sysv > >> scripts, so if we have a mixed system, then we can not uninstall

Re: [OE-core] [PATCH 2/4] rootfs: Do not uninstall update-rc.d

2015-09-07 Thread Khem Raj
> On Sep 7, 2015, at 12:36 PM, Phil Blundell wrote: > > On Sun, 2015-09-06 at 15:25 +, Khem Raj wrote: >> update-rc.d is now needed by systemd to interact with sysv >> scripts, so if we have a mixed system, then we can not uninstall >> update-rc.d as it is going to break systemd functionalit

Re: [OE-core] [PATCH 0/4] Systemd Upgrade

2015-09-07 Thread Richard Purdie
On Mon, 2015-09-07 at 14:12 -0700, Khem Raj wrote: > > On Sep 7, 2015, at 2:09 PM, Richard Purdie > > wrote: > > > > On Mon, 2015-09-07 at 14:00 -0700, Khem Raj wrote: > >>> On Sep 7, 2015, at 1:56 PM, Richard Purdie > >>> wrote: > >>> > >>> A "bitbake core-image-sato -c testimage" replicated

Re: [OE-core] [PATCH 0/4] Systemd Upgrade

2015-09-07 Thread Khem Raj
> On Sep 7, 2015, at 2:09 PM, Richard Purdie > wrote: > > On Mon, 2015-09-07 at 14:00 -0700, Khem Raj wrote: >>> On Sep 7, 2015, at 1:56 PM, Richard Purdie >>> wrote: >>> >>> A "bitbake core-image-sato -c testimage" replicated it here FWIW, have >>> you tried testimage to see if that somehow

Re: [OE-core] [PATCH 0/4] Systemd Upgrade

2015-09-07 Thread Richard Purdie
On Mon, 2015-09-07 at 14:00 -0700, Khem Raj wrote: > > On Sep 7, 2015, at 1:56 PM, Richard Purdie > > wrote: > > > > A "bitbake core-image-sato -c testimage" replicated it here FWIW, have > > you tried testimage to see if that somehow makes a difference? Shoudn't > > be hard to test with that an

Re: [OE-core] [PATCH 0/4] Systemd Upgrade

2015-09-07 Thread Khem Raj
> On Sep 7, 2015, at 1:56 PM, Richard Purdie > wrote: > > A "bitbake core-image-sato -c testimage" replicated it here FWIW, have > you tried testimage to see if that somehow makes a difference? Shoudn't > be hard to test with that and for sato, it should run pretty quickly. > > It all works wi

Re: [OE-core] [PATCH 0/4] Systemd Upgrade

2015-09-07 Thread Richard Purdie
On Mon, 2015-09-07 at 13:53 -0700, Khem Raj wrote: > > On Sep 7, 2015, at 12:26 PM, Richard Purdie > > wrote: > > > > On Sun, 2015-09-06 at 15:25 +, Khem Raj wrote: > >> Changes Since last time > >> - Now that 225 is out upgrade recipe to 225, changes between 224 and 225 > >> are minor > >>

Re: [OE-core] [PATCH 0/4] Systemd Upgrade

2015-09-07 Thread Khem Raj
> On Sep 7, 2015, at 12:26 PM, Richard Purdie > wrote: > > On Sun, 2015-09-06 at 15:25 +, Khem Raj wrote: >> Changes Since last time >> - Now that 225 is out upgrade recipe to 225, changes between 224 and 225 are >> minor >> but fixes in networkd are important >> - Implement systemd-sysv-

Re: [OE-core] [PATCH 2/4] rootfs: Do not uninstall update-rc.d

2015-09-07 Thread Phil Blundell
On Sun, 2015-09-06 at 15:25 +, Khem Raj wrote: > update-rc.d is now needed by systemd to interact with sysv > scripts, so if we have a mixed system, then we can not uninstall > update-rc.d as it is going to break systemd functionality The description above implies that you will only uninstall

Re: [OE-core] [PATCH 0/4] Systemd Upgrade

2015-09-07 Thread Richard Purdie
On Sun, 2015-09-06 at 15:25 +, Khem Raj wrote: > Changes Since last time > - Now that 225 is out upgrade recipe to 225, changes between 224 and 225 are > minor > but fixes in networkd are important > - Implement systemd-sysv-install for OE > - Enable getopt in busybox needed for systemd-sysv

[OE-core] [PATCH] oeqa/sstatettests: Improve output of assert

2015-09-07 Thread Richard Purdie
Currently if this fails you see: "AssertionError: 1 != 0" which is useless. Add the output of the failed command so we can stand some chance of debugging what went wrong. Signed-off-by: Richard Purdie diff --git a/meta/lib/oeqa/selftest/sstatetests.py b/meta/lib/oeqa/selftest/sstatetests.py i

[OE-core] [PATCH] bind: update to 9.10.2-p4

2015-09-07 Thread Armin Kuster
fixes two secruity issues: CVE-2015-5722 and CVE-2015-5986. see release notes for more information. ftp://ftp.isc.org/isc/bind9/9.10.2-P4/RELEASE-NOTES.bind-9.10.2-P4.html Signed-off-by: Armin Kuster --- .../bind/{bind_9.10.2-P3.bb => bind_9.10.2-P4.bb} | 4 ++-- 1 file chan

Re: [OE-core] Getting rid of "The license listed internal was not in the licenses collected" warnings?

2015-09-07 Thread Mike Looijmans
On 07-09-15 13:56, Jussi Kukkonen wrote: On 7 September 2015 at 13:14, Mike Looijmans mailto:mike.looijm...@topic.nl>> wrote: Just sped another hour or so trying to pinpoint this, but I cannot wrap my head around it. What do I have to do to add a license to a layer without these anno

[OE-core] [PATCH v2] oeqa/parselogs: Updated log error whitelist.

2015-09-07 Thread Cristina Agurida
[YOCTO #7898] [YOCTO #7761] [YOCTO #7804] Signed-off-by: Cristina Agurida --- meta/lib/oeqa/runtime/parselogs.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py index ed43510..e20947b 100644 --- a/meta/lib/oeqa/ru

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

2015-09-07 Thread Richard Purdie
On Fri, 2015-09-04 at 17:16 -0500, Peter Seebach wrote: > 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

Re: [OE-core] [PATCH 04/12] gnome-icon-theme: remove the recipe

2015-09-07 Thread Martin Jansa
On Mon, Sep 07, 2015 at 12:37:35PM +0300, Alexander Kanavin wrote: > On 09/04/2015 05:16 PM, Khem Raj wrote: > > > I will send these patches only when oe-core is updated. Recipe > > moving is always controversial, and I don't want to cause confusion > > when the change is accepted by o

Re: [OE-core] [PATCH] oeqa/parselogs: Updated error log whitelist.

2015-09-07 Thread Agurida, Cristina-danielaX
Hi, Ty for the review. Related to your comments I will move those two issues to common errors. BR, Cristina Agurida QA CW Validation Engineer Phone: +40768855744 SSD Open Source Technology Center Bucharest, Romania George Constantinescu street, 3, Entrance C, Floor 4, ZIP: 020339 From: Jussi Kukk

[OE-core] [PATCH] qemurunner: Drop error to a warning to improve user feedback

2015-09-07 Thread Richard Purdie
If a task shows an error, the full log is surpressed since bitbake assumes the user has been shown what is wrong. In this code path that isn't the case and its much more helpful to show the user the full error. Therefore show a warning instead to aid usability. Signed-off-by: Richard Purdie diff

[OE-core] [PATCH] qemu: Add fixes for smc91c11 qemu segfaults on arm

2015-09-07 Thread Richard Purdie
The smc91c111.c driver appears to have several issues. The can_receive() function can return that the driver is ready when rx_fifo has not been freed yet. There is also no sanity check of rx_fifo() in _receive() which can lead to corruption of the rx_fifo array. release_packet() can also call qem

Re: [OE-core] "sub" machine types?

2015-09-07 Thread Lee Nipper
On Mon, Sep 7, 2015 at 7:08 AM, Steffen Sledz wrote: > On 07.09.2015 09:09, Steffen Sledz wrote: > > On 05.09.2015 13:29, Mike Looijmans wrote: > >> ... and I think the u-boot recipe recently learned to have multiple > targets, so you can build multiple bootloaders for a single machine too. > > >

Re: [OE-core] [PATCH 0/1] mc: add PACKAGECONFIG for util-linux

2015-09-07 Thread Burton, Ross
On 6 September 2015 at 09:12, Robert Yang wrote: > Ping. > A similar but more basic (just adding util-linux as a build dep) patch was merged as c158cdd. If you want it to be a packageconfig then please rebase. Ross -- ___ Openembedded-core mailing l

Re: [OE-core] [PATCH] gnu-efi: Make setjmp.S portable to ARM

2015-09-07 Thread Burton, Ross
On 7 September 2015 at 15:15, Phil Blundell wrote: > Surely the ARM assembly code would never have worked on x86 anyway. It's > a bit of a mystery how the original code ever worked for anyone on ARM, > given that binutils has behaved this way for nearly 20 years, but this > patch does seem like

Re: [OE-core] [PATCH] gnu-efi: Make setjmp.S portable to ARM

2015-09-07 Thread Phil Blundell
On Mon, 2015-09-07 at 15:08 +0100, Burton, Ross wrote: > > > On 7 September 2015 at 03:19, wrote: > > + > Note on targets where the @ character is the start of a > comment > + > (eg ARM) then another character is used instead. For > example the > + > A

Re: [OE-core] [PATCH] gnu-efi: Make setjmp.S portable to ARM

2015-09-07 Thread Burton, Ross
On 7 September 2015 at 03:19, wrote: > + > Note on targets where the @ character is the start of a comment > + > (eg ARM) then another character is used instead. For example the > + > ARM port uses the % character. > Is the documentation badly written or does this now broke the build on x86?

[OE-core] [PATCH 10/11] oe-publish-sdk: add script

2015-09-07 Thread Paul Eggleton
From: "qi.c...@windriver.com" Add a script to publish an extensible SDK that has previously been built to a specified destination. This published SDK is intended to be accessed by the devtool sdk-update command from an installed copy of the extensible SDK. e.g. oe-publish-sdk Signed-off-by: C

[OE-core] [PATCH 06/11] copy_buildsystem: make sure bitbake directory is copied

2015-09-07 Thread Paul Eggleton
From: "qi.c...@windriver.com" 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

[OE-core] [PATCH 11/11] devtool: add mechanism for updating extensible SDK

2015-09-07 Thread Paul Eggleton
From: "qi.c...@windriver.com" Enable updating the installed extensible SDK from a local or remote server, avoiding the need to install it again from scratch when updating. (This assumes that the updated SDK has been built and then published somewhere using the oe-publish-sdk script beforehand.)

[OE-core] [PATCH 08/11] populate_sdk_ext: don't remove the native qemu dependencies

2015-09-07 Thread Paul Eggleton
From: "qi.c...@windriver.com" 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 st

[OE-core] [PATCH 09/11] Extensible SDK: allow for installation without preparing build system

2015-09-07 Thread Paul Eggleton
From: "qi.c...@windriver.com" 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

[OE-core] [PATCH 07/11] populate_sdk_ext: consider custom configuration in local.conf

2015-09-07 Thread Paul Eggleton
From: "qi.c...@windriver.com" 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. Comments and blank lines are filtered out. Before th

[OE-core] [PATCH 00/11] Extensible SDK fixes

2015-09-07 Thread Paul Eggleton
This rolls up a set of previously posted patches from Qi and Brendan with some changes from me. Changes since the previously posted versions: * populate_sdk_ext: install the latest buildtools-tarball: - Avoid poky-specific path usage * populate_sdk_ext: consider custom configuration in local.co

[OE-core] [PATCH 03/11] toolchain-shar-extract.sh: explain why we cannot use sudo in extensible SDK

2015-09-07 Thread Paul Eggleton
From: Brendan Le Foll Signed-off-by: Brendan Le Foll --- meta/files/toolchain-shar-extract.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 27a1607..3624940 100644 --- a/meta/files/toolcha

[OE-core] [PATCH 05/11] populate_sdk_ext: install the latest buildtools-tarball

2015-09-07 Thread Paul Eggleton
From: "qi.c...@windriver.com" 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-core

[OE-core] [PATCH 04/11] classes/populate_sdk_ext: avoid poky-specific buildtools naming

2015-09-07 Thread Paul Eggleton
Only poky sets SDK_NAME to include ${IMAGE_BASENAME} (i.e. ${PN}), so we can't assume the buildtools filename will include it here. Change it to look for a file with "buildtools-nativesdk-standalone" in the name (the buildtools-tarball recipe itself sets TOOLCHAIN_OUTPUTNAME to include this.) Sign

[OE-core] [PATCH 02/11] toolchain-shar-extract.sh: better default install path for extensible SDK

2015-09-07 Thread Paul Eggleton
From: Brendan Le Foll Extensible SDK cannot be installed as root so by default offer to install it in user's home directory under distro/distro_version replacing the normal SDK version '+' char with a '_' as that's a restricted character for bitbake Signed-off-by: Brendan Le Foll Signed-off-by:

[OE-core] [PATCH 01/11] toolchain-shar-extract.sh: ensure extensible SDK install path obeys restrictions

2015-09-07 Thread Paul Eggleton
From: Brendan Le Foll There are some characters that cannot appear in the installation path, so we need to check for these Signed-off-by: Brendan Le Foll Signed-off-by: Paul Eggleton --- meta/files/toolchain-shar-extract.sh | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-

Re: [OE-core] "sub" machine types?

2015-09-07 Thread Steffen Sledz
On 07.09.2015 09:09, Steffen Sledz wrote: > On 05.09.2015 13:29, Mike Looijmans wrote: >> ... and I think the u-boot recipe recently learned to have multiple targets, >> so you can build multiple bootloaders for a single machine too. > > That sounds great. Can someone give a pointer to some docum

Re: [OE-core] Getting rid of "The license listed internal was not in the licenses collected" warnings?

2015-09-07 Thread Jussi Kukkonen
On 7 September 2015 at 13:14, Mike Looijmans wrote: > Just sped another hour or so trying to pinpoint this, but I cannot wrap my > head around it. What do I have to do to add a license to a layer without > these annoying warnings? I just tried this (with master branch) and it seems to work fine

Re: [OE-core] [PATCH] oeqa/parselogs: Updated error log whitelist.

2015-09-07 Thread Jussi Kukkonen
On 8 September 2015 at 14:51, Cristina Agurida < cristina-danielax.agur...@intel.com> wrote: > [YOCTO #7898] > [YOCTO #7760] > [YOCTO #7761] > [YOCTO #7804] > > Signed-off-by: Cristina Agurida > --- > meta/lib/oeqa/runtime/parselogs.py | 9 + > 1 file changed, 9 insertions(+) > > diff --

[OE-core] [PATCH] oeqa/parselogs: Updated error log whitelist.

2015-09-07 Thread Cristina Agurida
[YOCTO #7898] [YOCTO #7760] [YOCTO #7761] [YOCTO #7804] Signed-off-by: Cristina Agurida --- meta/lib/oeqa/runtime/parselogs.py | 9 + 1 file changed, 9 insertions(+) diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py index ed43510..367ee6d 100644 --- a

Re: [OE-core] Getting rid of "The license listed internal was not in the licenses collected" warnings?

2015-09-07 Thread Mike Looijmans
Just sped another hour or so trying to pinpoint this, but I cannot wrap my head around it. What do I have to do to add a license to a layer without these annoying warnings? Mike. On 03-07-15 09:23, Mike Looijmans wrote: In my layer.conf I have: LICENSE_PATH += "${LAYERDIR}/licenses" In t

[OE-core] [wic][PATCH] wic: round variable before converting to int

2015-09-07 Thread Ed Bartosh
Wic uses bitbake variable ROOTFS_SIZE to set correspondent partition size. This variable is a literal representing float value. Wic crashes trying to convert it to int with the error: invalid literal for int() with base 10: '10166.0' Fixed this by converting variable to float and rounding result.

[OE-core] [RFC PATCH 1/1] qemuppc64: add a configuration for a powerpc64 machine

2015-09-07 Thread Alexander Kanavin
Note that I copied and tweaked the ppc (32 bit) configuration and didn't in any way test this with qemu; I only wanted a working configuration for testing ppc64 builds using poky. But it could be a starting point. Signed-off-by: Alexander Kanavin --- meta/conf/machine/qemuppc64.conf | 11 +++

Re: [OE-core] [PATCH 04/12] gnome-icon-theme: remove the recipe

2015-09-07 Thread Alexander Kanavin
On 09/04/2015 05:16 PM, Khem Raj wrote: I will send these patches only when oe-core is updated. Recipe moving is always controversial, and I don't want to cause confusion when the change is accepted by one side and rejected by the other. On the contrary you can make a note in patch

Re: [OE-core] "sub" machine types?

2015-09-07 Thread Steffen Sledz
On 05.09.2015 13:29, Mike Looijmans wrote: > ... and I think the u-boot recipe recently learned to have multiple targets, > so you can build multiple bootloaders for a single machine too. That sounds great. Can someone give a pointer to some documentation or examples for that? -- DResearch Fah