Re: [OE-core] [PATCH V3 1/1] linux-yocto: add ptest support

2018-07-04 Thread Dengke Du
Please ignore this. On 2018年07月05日 12:09, Dengke Du wrote: Signed-off-by: Dengke Du --- meta/recipes-kernel/linux/linux-yocto/run-ptest | 144 meta/recipes-kernel/linux/linux-yocto_4.14.bb | 15 +++ 2 files changed, 159 insertions(+) create mode 100644 meta/re

[OE-core] [PATCH V3 0/1] linux-yocto: add ptest support

2018-07-04 Thread Dengke Du
Changed in V3: 1. Add comments and documentation for the tests 2. Changed the results of the kernel ptest output in this format: "[PASS|SKIP|FAIL]" : testname, according to Lei yang's comments. The tests output: #result# PASS: dma-example PASS: byte

[OE-core] [PATCH V3 1/1] linux-yocto: add ptest support

2018-07-04 Thread Dengke Du
Signed-off-by: Dengke Du --- meta/recipes-kernel/linux/linux-yocto/run-ptest | 144 meta/recipes-kernel/linux/linux-yocto_4.14.bb | 15 +++ 2 files changed, 159 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto/run-ptest diff --git a/meta/recipes

Re: [OE-core] [PATCH] rpm: Avoid leaking temporary scriplet files

2018-07-04 Thread Peter Kjellerstedt
Once this hits master, it should also be cherry-picked to Rocko and Sumo. Should be straightforward as the patch hasn't changed since it was introduced. //Peter > -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openem

[OE-core] [PATCH] Revert "kernel-devicetree: Corrected normalize_dtb"

2018-07-04 Thread Martin Jansa
This reverts commit 2e7f3b2b9318d1e5395ad58131eafb873f614326. It was breaking quite common use case that the dtb files are in some subdirectory and then kernel build fails to build them. As reported by khem: http://lists.openembedded.org/pipermail/openembedded-core/2018-July/152578.html me: http:

Re: [OE-core] [PATCH V2] mesa: Fix bild with waylang and egl

2018-07-04 Thread Khem Raj
On 7/4/18 9:28 AM, Burton, Ross wrote: FWIW historically we just prepended PKG_CONFIG_SYSROOT or whatever the spelling was to the result of the pkg-config calls. I didn't know about PKG_CHECK_VAR before, that's really useful! indeed it is. Have you tried pushing this upstream? No, not

Re: [OE-core] [meta-oe][PATCH] kernel-devicetree: Corrected normalize_dtb

2018-07-04 Thread Khem Raj
On 7/2/18 8:03 AM, Paulo Neves wrote: The normalize_dtb function was buggy because it only converted from .dts suffix to .dtb suffix if the user passed a full source path to KERNEL_DEVICETREE containing the /dts/ path. The problem is that if the user did that there would be a warning. On the

Re: [OE-core] [PATCH V2] mesa: Fix bild with waylang and egl

2018-07-04 Thread Burton, Ross
FWIW historically we just prepended PKG_CONFIG_SYSROOT or whatever the spelling was to the result of the pkg-config calls. I didn't know about PKG_CHECK_VAR before, that's really useful! Have you tried pushing this upstream? Also note that I've a branch moving Mesa to Meson so we'll need to fix

Re: [OE-core] [meta-oe][PATCH] kernel-devicetree: Corrected normalize_dtb

2018-07-04 Thread Martin Jansa
Confirmed. I was seeing the same today when testing my rebased changes for kernel*bbclasses. On Wed, Jul 4, 2018 at 6:09 PM Khem Raj wrote: > > > On 7/2/18 8:03 AM, Paulo Neves wrote: > > The normalize_dtb function was buggy because > > it only converted from .dts suffix to .dtb > > suffix if t

Re: [OE-core] [meta-oe][PATCH] kernel-devicetree: Corrected normalize_dtb

2018-07-04 Thread Khem Raj
On 7/2/18 8:03 AM, Paulo Neves wrote: The normalize_dtb function was buggy because it only converted from .dts suffix to .dtb suffix if the user passed a full source path to KERNEL_DEVICETREE containing the /dts/ path. The problem is that if the user did that there would be a warning. On the

[OE-core] [PATCH] bind: Disable lmdb support

2018-07-04 Thread Khem Raj
with bind 9.11.2+ when the build host has lmdb installed, bind configure looks into host headers and wrongly interprets that it should be enabling lmdb disable lmdb to fix | configure: error: found lmdb include but not library. Signed-off-by: Khem Raj --- meta/recipes-connectivity/bind/bind_9

Re: [OE-core] [PATCH 1/2] scripts/runqemu: qemumips support up to 2GiB RAM

2018-07-04 Thread Khem Raj
i think you can squash both patches into one. Additionally we should be able to cover mipsel case as well On Tue, Jul 3, 2018 at 11:57 PM He Zhe wrote: > > OE uses qemumips to simulate a Malta board by default. > > As upstream qemu introduced: > https://git.qemu.org/?p=qemu.git;a=commit;h=94c2b6af

Re: [OE-core] [PATCH] python-setuptools.inc: avoid using += with an over-ride

2018-07-04 Thread Burton, Ross
On 4 July 2018 at 01:55, Andre McCurdy wrote: > DEPENDS += "${PYTHON_PN}" > -DEPENDS_class-native += "${PYTHON_PN}-native" > -DEPENDS_class-nativesdk += "nativesdk-${PYTHON_PN}" > +DEPENDS_class-native = "${PYTHON_PN}-native" > +DEPENDS_class-nativesdk = "nativesdk-${PYTHON_PN}" Whilst there's n

Re: [OE-core] devshell problems after distro upgrade openSUSE Leap 42.3 -> 15.0 (tmux only)

2018-07-04 Thread Steffen Sledz
On 03.07.2018 08:04, Steffen Sledz wrote: > On 02.07.2018 20:25, Khem Raj wrote: >> On Sun, Jul 1, 2018 at 11:39 PM Steffen Sledz wrote: >>> >>> After upgrading my build system from openSUSE Leap 42.3 to openSUSE Leap >>> 15.0 a >>> >>> bitbake foo -c devshell >>> >>> no longer switches to the

[OE-core] [PATCH] lttng-tools: Allow reconnect to relayd

2018-07-04 Thread He Zhe
If relayd is started after connection attempt from consumerd it will leave the session in disconnected state and causes the following inconvenience. This is covered by an upstream feature, see https://bugs.lttng.org/issues/883. Before it's done, this patches allows users to reconnect to relayd. ro

Re: [OE-core] [PATCH V2 1/1] linux-yocto: add ptest support

2018-07-04 Thread Dengke Du
On 2018年06月21日 20:57, Bruce Ashfield wrote: My general comment still stands from v1, That I don't see a lot of value in creating a whole set of custom tests and wrappers just for ptest use. i.e. ltp already has a lot of these covered. kprobes, as do the built-in self tests. The ltp doesn't c

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/systemd.py: avoid timeout problem

2018-07-04 Thread ChenQi
ping On 06/26/2018 09:48 AM, ChenQi wrote: On 06/25/2018 09:40 PM, Burton, Ross wrote: The busctl invocation will only rarely be called so is very prone to bitrot, maybe it should just always use busctl? Personally I think that there should be a way for VM time to be independent of host time

[OE-core] [PATCH 2/2] send-error-report: Fix test for name > 50 chars

2018-07-04 Thread Richard Purdie
A name > 50 chars causes a 500 internal server error and should be warned to the user but the code to do so currently doesn't work. Fix the logic. Signed-off-by: Richard Purdie --- scripts/send-error-report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/send-error-re

[OE-core] [PATCH 1/2] send-error-report: Fix dubious error reporting

2018-07-04 Thread Richard Purdie
Currently this code prints things like: ERROR: OK which is unhelpful at best. After this change it would print: ERROR: HTTP Error 500 which at least gives us something to work on. Signed-off-by: Richard Purdie --- scripts/send-error-report | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[OE-core] [PATCH] mesa: add lost Upstream-Status tag

2018-07-04 Thread Ross Burton
Signed-off-by: Ross Burton --- .../mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch| 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-Include-sys-types.h.patch b/meta/recipes-graphics/mesa/files/0003-winsys-svga-drm-In

[OE-core] [PATCH] elfutils: add missing Upstream-Status, drop two Debian-specific patches

2018-07-04 Thread Ross Burton
In the upgrade a large number of Upstream-Status tags were dropped, so add them back. I'm taking the stand that copying a patch Debian is carrying doesn't count as a backport. Also remove two Debian-specific patches (one for Hurd, one for kfreebsd) so we're not carrying useless patches. Signed-o

Re: [OE-core] [PATCHv3 2/4] kernel-devicetree.bbclass: Fix and simplify instalation of DTB files

2018-07-04 Thread Martin Jansa
The refactoring is already in the 3 previous patches from these 4. This is just the final fix, what do you want to separate from this? On Wed, Jul 4, 2018 at 10:54 AM Paulo Neves wrote: > Great work! > > The only issue I have with your changes is that this is basically a > rewrite and you mix fi

Re: [OE-core] [PATCH 2/2] nfs-utils: 2.1.1 -> 2.3.1

2018-07-04 Thread Robert Yang
On 07/04/2018 04:55 PM, Burton, Ross wrote: On 4 July 2018 at 03:47, Robert Yang wrote: +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch @@ -0,0 +1,22 @@ +Fixed: +configure: error: res_querydomain needed + +Upstream-Status: Backport [https://git.alpi

Re: [OE-core] [PATCH 2/2] nfs-utils: 2.1.1 -> 2.3.1

2018-07-04 Thread Burton, Ross
On 4 July 2018 at 03:47, Robert Yang wrote: > +++ > b/meta/recipes-connectivity/nfs-utils/nfs-utils/nfs-utils-musl-res_querydomain.patch > @@ -0,0 +1,22 @@ > +Fixed: > +configure: error: res_querydomain needed > + > +Upstream-Status: Backport > [https://git.alpinelinux.org/cgit/aports/tree/main/

Re: [OE-core] [PATCHv3 2/4] kernel-devicetree.bbclass: Fix and simplify instalation of DTB files

2018-07-04 Thread Paulo Neves
Great work! The only issue I have with your changes is that this is basically a rewrite and you mix fixes with refactoring. Would it be possible to split the patch into smaller patches? This would make it much easier analyze. On Wed, Jul 4, 2018 at 9:59 AM, Martin Jansa wrote: > * add 2 new va

[OE-core] [PATCHv3 4/4] kernel.bbclass: move variables for kernel artifacts names to separate bbclass

2018-07-04 Thread Martin Jansa
* this makes it easier to access these variables from some other bbclass e.g. sdcard_image-rpi.bbclass in meta-raspberry where we need to know how some files in deploy are named, but we cannot inherit kernel.bbclass as it's used in image recipe not kernel recipe * alternatively we can move th

[OE-core] [PATCHv3 3/4] kernel.bbclass: use the consistent naming schema for initramfs

2018-07-04 Thread Martin Jansa
* use INITRAMFS_BASE_NAME and INITRAMFS_SYMLINK_NAME variables, like other kernel artifacts are using * use "${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" instead of "${PV}-${PR}-${MACHINE}-${DATETIME}" to be consistent with other files * allow to modify default symlink name with INITRAMFS_SY

[OE-core] [PATCHv3 2/4] kernel-devicetree.bbclass: Fix and simplify instalation of DTB files

2018-07-04 Thread Martin Jansa
* add 2 new variables: KERNEL_DTB_BASE_NAME KERNEL_DTB_SYMLINK_NAME instead of reusing KERNEL_IMAGE_SYMLINK_NAME and than expecting that default value ${MACHINE} was being used in e.g.: DTB_SYMLINK_NAME=`echo ${symlink_name} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` * install normal DTB

[OE-core] [PATCHv3 1/4] kernel-devicetree.bbclass: Use lowercase names for shell variables

2018-07-04 Thread Martin Jansa
* just to make it more clear what is local shell variable and what is replaced by bitbake from the metadata and also to prevent the variable to be incorrectly expanded by bitbake if someone happens to define e.g. DTB_BASE_NAME Signed-off-by: Martin Jansa --- meta/classes/kernel-devicetree.