Re: [OE-core] [PATCH 1/8] lib/oe/path: implement is_path_under()

2018-02-22 Thread Ola x Nilsson
> From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf > Of Paul Eggleton > Sent: den 23 februari 2018 04:02 > To: openembedded-core@lists.openembedded.org > > Signed-off-by: Paul Eggleton >

[OE-core] [PATCH] package.bbclass: Include dbgsrc for static libs

2018-02-22 Thread Ola x Nilsson
The debugsource must be added from the package providing the static lib, because any package using that lib does not have access to the source code. Fixes [YOCTO #12558] Signed-off-by: Ola x Nilsson --- meta/classes/package.bbclass | 42

Re: [OE-core] [PATCH v3] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Hongzhi, Song
What do you mean "it only happens with libseccomp"? I have tried to enable or disable seccomp via CONFIG_SECCOMP, buf the results were same unless I set MountFlags=shared. Without propagation patch, all block device, such as '/dev/sda*', mounted by systemd-udev, are unaccessible to

[OE-core] [PATCH v2] bind: add packageconfig for python-support

2018-02-22 Thread Martin Hundebøll
From: Martin Hundeboll Break the hard runtime dependency on python3-core by adding a (default-on) packageconfig option for python. Signed-off-by: Martin Hundebøll --- Changes in v2: - Remove broken and unneeded build-dependency on python3(-core)

Re: [OE-core] [PATCH 2/2] glibc: Upgrade to 2.27 release

2018-02-22 Thread Khem Raj
glibc community thinks that the way we are depending upon old localedata while using newer glibc in nativesdk is not a supported usecase, and there is no guarantees of internal data structures changes between major releases, like what we are facing here. The suggestion is to ship own localedata

[OE-core] [PATCH 8/8] devtool: search: tweak help text

2018-02-22 Thread Paul Eggleton
* We now match on more than just target recipes, so don't specify that only target recipes are searched. * We're printing the SUMMARY value in addition to the name, so mention that so it's clear where that text is coming from. * Remind users that they should use quotes around the keyword to

[OE-core] [PATCH 7/8] devtool: search: also look in recipe cache

2018-02-22 Thread Paul Eggleton
If pkgdata isn't present or is incomplete, then you get either a traceback or you don't see the results you were hoping for. The recipe cache that bitbake collects during startup contains some useful information for each recipe that we could search through as well, and we can access it easily

[OE-core] [PATCH 6/8] lib/oe/recipeutils: add .txz extension to archive list

2018-02-22 Thread Paul Eggleton
Prompted by bitbake commit 2ba8a6b25ccc12e7b543e8450121e5311c7a701d, add .txz to the list of archives used within get_recipe_local_files() here as well. Signed-off-by: Paul Eggleton --- meta/lib/oe/recipeutils.py | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] [PATCH 2/8] devtool: fix poor handling of upgraded BBCLASSEXTENDed recipes

2018-02-22 Thread Paul Eggleton
Fix two aspects of handling BBCLASSEXTENDed targets (e.g. openssl-native) that have been run through "devtool upgrade": * Fix recipe name not showing up in "devtool status" * Fix "devtool reset" not deleting empty directories under the recipe directory within the workspace, which may lead to

[OE-core] [PATCH 5/8] devtool: deploy-target: don't specify ssh/scp port unless user does

2018-02-22 Thread Paul Eggleton
If the user doesn't specify a port then we should avoid specifying one on the ssh/scp command line in case the user has configured one for the host they are connecting to, which was being overridden unnecessarily. Fixes [YOCTO #12381]. Signed-off-by: Paul Eggleton

[OE-core] [PATCH 3/8] devtool: reset: delete bbappend file if _check_preserve() doesn't

2018-02-22 Thread Paul Eggleton
If the .devtool_md5 file doesn't contain a reference to the bbappend file (e.g. because devtool was interrupted before it could write that out) then _check_preserve() won't delete it, so we need to delete it separately because otherwise the recipe won't actually be reset. Signed-off-by: Paul

[OE-core] [PATCH 1/8] lib/oe/path: implement is_path_under()

2018-02-22 Thread Paul Eggleton
In a few places we have checks to see path A is under path B, by adding / to the end of the path B and then seeing if path A starts with the suffixed path B. Unfortunately there are two potential flaws: (1) path A needs to be suffixed with / as well or the directory itself won't match (semantics

[OE-core] [PATCH 4/8] devtool: finish: fix erroneously creating bbappend for relative paths

2018-02-22 Thread Paul Eggleton
After OE-Core rev 5e3fe00a0233d563781849a44f53885b4e924a9c we call os.path.abspath() on the original layer path, but we later compare that to the destination layer path. If that layer path isn't absolute but is effectively the same path, it should be writing to the original recipe but because we

[OE-core] [PATCH 0/8] devtool fixes

2018-02-22 Thread Paul Eggleton
This incorporates several of the fixes from my previous series and adds a few others - I've excluded the multi-source changes from the previous series as they may not be ready yet and it's too late in the release cycle now. These have all passed through oe-selftest locally. The following changes

Re: [OE-core] [PATCH v3] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Hongzhi, Song
If MountFlags=slave, systemd-udevd mounts all block device,  such as '/dev/sda1' '/dev/mmcblk*' , in itself unit namespace. So other namespace, such as 'root user', has no access to use block device mentioned above. On 2018年02月23日 08:50, Otavio Salvador wrote: On Thu, Feb 22, 2018 at 11:15

Re: [OE-core] [PATCH v3] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Otavio Salvador
On Thu, Feb 22, 2018 at 11:15 AM, Hongzhi.Song wrote: > MountFlags's default value is shared in systemd-udevd.service. But upstream > sets MountFlags with slave just for keeping mounts done by udev private to > udevd, which causes block device mounted by udev unvisable

[OE-core] ✗ patchtest: failure for icecc: Remove several getVar() expand arguments

2018-02-22 Thread Patchwork
== Series Details == Series: icecc: Remove several getVar() expand arguments Revision: 1 URL : https://patchwork.openembedded.org/series/11060/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

[OE-core] [PATCH] icecc: Remove several getVar() expand arguments

2018-02-22 Thread Joshua Watt
Several of the calls to getVar() were either superfluously passing True for the expand argument, or were wrongly passing False Signed-off-by: Joshua Watt --- meta/classes/icecc.bbclass | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-)

[OE-core] [PATCH v4] u-boot-mkimage: Add dependency on dtc

2018-02-22 Thread Otavio Salvador
The dtc is used when generating images which use Device Tree and we must use the OE version to avoid relying on the host one. Reported-by: Renato Caldas Signed-off-by: Otavio Salvador --- Changes in v4: - just rdepends on dtc; it is not used

Re: [OE-core] [RFC] Rename meta-openembedded to openembedded-extras

2018-02-22 Thread akuster808
On 02/21/2018 11:55 PM, Andrea Adami wrote: > All, > it seems there is some consensus about reordering/cleaning the > "OpenEmbedded layers". > > I think that before starting any cleaning *inside* we should finally > clean up the confusion about meta-oe meta-openembedded > openembedded-layers,

[OE-core] [PATCH 0/2] opkg & opkg-utils upgrade to 0.3.6

2018-02-22 Thread Alejandro del Castillo
Alejandro del Castillo (2): opkg: upgrade to version 0.3.6 opkg-utils: upgrade to version 0.3.6 .../recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 8 .../opkg-utils/{opkg-utils_0.3.5.bb => opkg-utils_0.3.6.bb} | 4 ++--

[OE-core] [PATCH 2/2] opkg-utils: upgrade to version 0.3.6

2018-02-22 Thread Alejandro del Castillo
0.3.5 -> 0.3.6 Signed-off-by: Alejandro del Castillo --- .../recipes-devtools/opkg-utils/opkg-utils/tar_ignore_error.patch | 8 .../opkg-utils/{opkg-utils_0.3.5.bb => opkg-utils_0.3.6.bb} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-)

[OE-core] [PATCH 1/2] opkg: upgrade to version 0.3.6

2018-02-22 Thread Alejandro del Castillo
0.3.5 -> 0.3.6 Signed-off-by: Alejandro del Castillo --- meta/recipes-devtools/opkg/{opkg_0.3.5.bb => opkg_0.3.6.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/opkg/{opkg_0.3.5.bb => opkg_0.3.6.bb} (95%) diff --git

[OE-core] [PATCH] linux-yocto-dev: update to v4.16-rcX

2018-02-22 Thread Bruce Ashfield
Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-dev.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto-dev.bb b/meta/recipes-kernel/linux/linux-yocto-dev.bb index

Re: [OE-core] [PATCH 3/3] gstreamer-rtsp-server: remove unnecessary dependencies

2018-02-22 Thread Anuj Mittal
On 02/22/2018 08:26 PM, Burton, Ross wrote: > On 22 February 2018 at 05:45, Anuj Mittal > wrote: > > Disable building of examples and remove dep on libcgroup which > was needed, if present, to build only one specific example. > > >

[OE-core] ✗ patchtest: failure for systemd: re-enable mount propagation for udevd (rev6)

2018-02-22 Thread Patchwork
== Series Details == Series: systemd: re-enable mount propagation for udevd (rev6) Revision: 6 URL : https://patchwork.openembedded.org/series/1447/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests

Re: [OE-core] [PATCH v3] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Burton, Ross
We used to have this but it was removed in the 232 upgrade: * Drop mount propagation patch, it only happens with libseccomp, OE doesnt enable it Is this not the case? Or are you enabling seccomp? Maybe this should be a bbappend in meta-security? Ross On 22 February 2018 at 14:15,

[OE-core] [PATCH v3] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Hongzhi.Song
MountFlags's default value is shared in systemd-udevd.service. But upstream sets MountFlags with slave just for keeping mounts done by udev private to udevd, which causes block device mounted by udev unvisable but being busy for host. So we revert it to shared to be propagated to host.

[OE-core] [PATCH v3] u-boot-mkimage: Add dependency on dtc

2018-02-22 Thread Otavio Salvador
The dtc is used when generating images which use Device Tree and we must use the OE version to avoid relying on the host one. Reported-by: Renato Caldas Signed-off-by: Otavio Salvador --- Changes in v3: - just rdepends on dtc; it is not used

[OE-core] [PATCH] man-db: replace the outdated man implementation

2018-02-22 Thread Ross Burton
From: Alexander Kanavin Until now oe-core has been using a well obsolete implementation of man. Man-db on the other hand is used by all modern Linux distros, is actively maintained, has a standard build system, and does not require 30 patches to build.

Re: [OE-core] [PATCH 07/10] man-db: replace the outdated man implementation

2018-02-22 Thread Burton, Ross
On 12 February 2018 at 11:05, Alexander Kanavin < alexander.kana...@linux.intel.com> wrote: > +if "compress_doc" in (d.getVar("INHERIT") or "").split(): > This breaks the sstate selftests as the hash code doesn't know what you're looking for in INHERIT so the entire value of INHERIT has to

[OE-core] [PATCH] sstatetests: pass the right files when comparing sigfiles

2018-02-22 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/lib/oeqa/selftest/cases/sstatetests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py b/meta/lib/oeqa/selftest/cases/sstatetests.py index 67356942634..7b008e409f4

Re: [OE-core] [PATCH] u-boot-mkimage: Add dependency on dtc

2018-02-22 Thread Otavio Salvador
On Thu, Feb 22, 2018 at 9:23 AM, Burton, Ross wrote: > Shouldn't this be dtc-native? Good catch; in fact for native it was right but for other variants, it was not. Fixed in v2. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br

[OE-core] [PATCH v2] u-boot-mkimage: Add dependency on dtc

2018-02-22 Thread Otavio Salvador
The dtc is used when generating images which use Device Tree and we must use the OE version to avoid relying on the host one. Reported-by: Renato Caldas Signed-off-by: Otavio Salvador --- Changes in v2: - add rdepends on dtc - fix depends on

Re: [OE-core] [PATCH 3/3] gstreamer-rtsp-server: remove unnecessary dependencies

2018-02-22 Thread Burton, Ross
On 22 February 2018 at 05:45, Anuj Mittal wrote: > Disable building of examples and remove dep on libcgroup which > was needed, if present, to build only one specific example. > Are the examples installed? Might be worth making this a packageconfig. > Make building of

Re: [OE-core] [PATCH] u-boot-mkimage: Add dependency on dtc

2018-02-22 Thread Burton, Ross
Shouldn't this be dtc-native? Ross On 22 February 2018 at 07:36, Otavio Salvador wrote: > The dtc is used when generating images which use Device Tree and we > must use the OE version to avoid relying on the host one. > > Reported-by: Renato Caldas

[OE-core] [PATCH] maintainers: update for change to icecc-create-env recipe name

2018-02-22 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/conf/distro/include/maintainers.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 59906f8b6de..965fd34ca04 100644 ---

Re: [OE-core] [PATCH v2] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Otavio Salvador
On Thu, Feb 22, 2018 at 5:36 AM, Hongzhi.Song wrote: > With MountFlags=slave, those mounts then become private to the systemd-udevd > namespace and are no longer accessible from outside the namespace, which is > not expected. > > Signed-off-by: Hongzhi.Song

[OE-core] [PATCH 2/2] time: 1.7 -> 1.8

2018-02-22 Thread Robert Yang
* Remove debian.patch which is already in the source. * License-Update: The license is changed to GPLv3, and move v2 one to meta-gplv2. * Merge time.inc into time_1.8.bb. Signed-off-by: Robert Yang --- meta/recipes-extended/time/time-1.7/debian.patch | 1301

[OE-core] [PATCH 1/2] git: 2.15.0 -> 2.16.1

2018-02-22 Thread Robert Yang
Add /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample to PERLTOOLS to fix: ERROR: git-2.16.1-r0 do_package_qa: QA Issue: /usr/share/git-core/templates/hooks/fsmonitor-watchman.sample contained in package git requires /usr/bin/perl, but no providers found in RDEPENDS_git?

[OE-core] [PATCH 0/2 V2] Packages upgrade

2018-02-22 Thread Robert Yang
* V2: * Merge time.inc into time_1.8.bb * Sent time_1.7.bb to meta-gplv2 * Drop nfs-utils upgrading since it can't be built with musl, and I can't fix it atm. * Drop already merged recipe ccache. * V1: Initial version // Robert The following changes since commit

[OE-core] [PATCH v2 2/3] kbd: build tests only when ptest is enabled

2018-02-22 Thread Anuj Mittal
Also include the libcheck dependency only when tests are to be built. Signed-off-by: Anuj Mittal --- meta/recipes-core/kbd/kbd_2.0.4.bb | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/kbd/kbd_2.0.4.bb

[OE-core] [PATCH v2] systemd: re-enable mount propagation for udevd

2018-02-22 Thread Hongzhi.Song
With MountFlags=slave, those mounts then become private to the systemd-udevd namespace and are no longer accessible from outside the namespace, which is not expected. Signed-off-by: Hongzhi.Song --- ...evd-re-enable-mount-propagation-for-udevd.patch | 33