Re: [OE-core] file checksums versus SRC_URI globs

2020-07-01 Thread Rasmus Villemoes
On 01/07/2020 16.03, Quentin Schulz wrote: > Hi Rasmus, > > On Wed, Jul 01, 2020 at 03:51:19PM +0200, Rasmus Villemoes wrote: >> Hi, >> >> We have a recipe that uses >> >> SRC_URI += "file://somedir/*" >> > > Glob aren't supported. Use "file://somedir/" instead. Thanks, that actually works for

Re: [OE-core][PATCH 1/1 v3] classes/kernel: Use a copy of image for kernel*.rpm if fs doesn't support symlinks

2020-07-01 Thread Xu, Yanfei
On 7/1/20 9:42 PM, Bruce Ashfield wrote: On Wed, Jul 1, 2020 at 4:22 AM Xu, Yanfei wrote: On 6/28/20 8:21 PM, Xu, Yanfei wrote: On 6/25/20 12:18 AM, Richard Purdie wrote: On Wed, 2020-06-24 at 23:57 +0800, Xu, Yanfei wrote: On 6/24/20 9:08 PM, Richard Purdie wrote: On Wed, 2020-06-2

[OE-core] [PATCH v2] python3: add ldconfig rdepends for python3-ctypes

2020-07-01 Thread Yu, Mingli
From: Mingli Yu The ctypes module needs to use "ldconfig -p" to find the library path and it simply has below logic if no ldconfig installed. except OSError: pass Before the patch: >>> from ctypes.util import find_library >>> lib_path = find_library('archive') >>> print(lib_path)

Re: [OE-core] [PATCH 2/2] python3: add ldconfig rdepends for python3-ctypes

2020-07-01 Thread Yu, Mingli
On 7/1/20 10:20 PM, Richard Purdie wrote: On Wed, 2020-07-01 at 10:33 +0800, Yu, Mingli wrote: From: Mingli Yu The ctypes module needs to use "ldconfig -p" to find the library path and it simply has below logic if no ldconfig installed. except OSError: pass Before the patch: >>

[OE-core][dunfell 00/22] Pull request (cover letter only)

2020-07-01 Thread Steve Sakoman
The following changes since commit 1a98936830ba468d63e2e49d766add9e9cb75998: gstreamer1.0-plugins-bad: add support for vdpau (2020-06-23 04:33:47 -1000) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next http://cgit.openembedde

[OE-core] ✗ patchtest: failure for zeus review request (rev3)

2020-07-01 Thread Patchwork
== Series Details == Series: zeus review request (rev3) Revision: 3 URL : https://patchwork.openembedded.org/series/23013/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the prop

[OE-core] [zeus][PATCH 04/10] libjpeg-turbo: Fix CVE-2020-13790

2020-07-01 Thread Anuj Mittal
From: "jason.lau" libjpeg-turbo 2.0.4 has a heap-based buffer over-read in get_rgb_row() in rdppm.c via a malformed PPM input file. Upstream-Status: Backport [https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3de15e0c344d11d4b90f4a47136467053eb2d09a] CVE:CVE-2020-13790 Signed-off-by: Liu H

[OE-core] [zeus][PATCH 07/10] kernel-fitimage: introduce FIT_SIGN_ALG

2020-07-01 Thread Anuj Mittal
From: Richard Leitner make fitImage configuration signature algorithm selectable with FIT_SIGN_ALG. (From OE-Core rev: e24b27a2b49e97cec6153f2d642d17a901b8ba12) Signed-off-by: Richard Leitner Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Anuj Mittal --- meta/class

[OE-core] [zeus][PATCH 10/10] libpam: Remove option 'obscure' from common-password

2020-07-01 Thread Anuj Mittal
From: haiqing libpam does not support 'obscure' checks to password, there are the same checks in pam_cracklib module. And this fix can remove the below error message while updating password with 'passwd': pam_unix(passwd:chauthtok):unrecognized option[obscure] Signed-off-by: Haiqing Bai Signed-

[OE-core] [zeus][PATCH 00/10] zeus review request

2020-07-01 Thread Anuj Mittal
Please review these next set of changes for zeus. Thanks, Anuj The following changes since commit ee95a399285abbde84e0148ca957b59d65bcad0a: mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG (2020-05-29 08:32:44 +0800) are available in the Git repository at: git://pu

[OE-core] [zeus][PATCH 02/10] python3: make gdbm optional

2020-07-01 Thread Anuj Mittal
From: Alexander Kanavin The use case is building a gpl3-free image, without having to rely on outdated recipes from meta-gplv2 layer. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie Signed-off-by: Anuj Mittal --- ...report-missing-dependencies-for-disa.patch | 31 +

[OE-core] [zeus][PATCH 05/10] qemu: fix CVE-2020-10702 & CVE-2020-13765

2020-07-01 Thread Anuj Mittal
From: Lee Chee Yang Signed-off-by: Lee Chee Yang Signed-off-by: Anuj Mittal --- meta/recipes-devtools/qemu/qemu.inc | 2 + .../qemu/qemu/CVE-2020-10702.patch| 52 +++ .../qemu/qemu/CVE-2020-13765.patch| 48 + 3 files changed, 1

[OE-core] [zeus][PATCH 01/10] nfs-utils: fix CVE-2019-3689

2020-07-01 Thread Anuj Mittal
From: "wenlin.k...@windriver.com" Fix CVE-2019-3689 Signed-off-by: Wenlin Kang Signed-off-by: Anuj Mittal --- ...atd-take-user-id-from-var-lib-nfs-sm.patch | 102 ++ .../nfs-utils/nfs-utils_2.4.1.bb | 1 + 2 files changed, 103 insertions(+) create mode 100644

[OE-core] [zeus][PATCH 09/10] relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist

2020-07-01 Thread Anuj Mittal
From: Peter Kjellerstedt Rewrite relocatable_native_pcfiles() so that it can handle that any of the checked pkgconfig directories are empty without causing an exception. Signed-off-by: Peter Kjellerstedt Signed-off-by: Richard Purdie (cherry picked from commit f9c5df6dc1c13e9b05ff1b47ad84ad339

[OE-core] [zeus][PATCH 08/10] kernel.bbclass: Fix Module.symvers support

2020-07-01 Thread Anuj Mittal
From: Lili Li Starting from v5.8-rc1 commit 269a535ca931 (modpost: generate vmlinux.symvers and reuse it for the second modpost"), kernel will generate new vmlinux.symvers instead of dumping all the vmlinux symbols into Module.symvers in the first pass. Error log: 'run.do_shared_workdir.1661

[OE-core] [zeus][PATCH 03/10] python3: un-break disabling the readline PACKAGECONFIG

2020-07-01 Thread Anuj Mittal
From: Alexander Kanavin Previously the readline module would have been built regardless of readline's presence in the sysroot, and the recipe would fail at package_qa. Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie Signed-off-by: Anuj Mittal --- meta/recipes-devtools/python/p

[OE-core] [zeus][PATCH 06/10] gnutls: fixed CVE-2020-13777

2020-07-01 Thread Anuj Mittal
From: haiqing GnuTLS 3.6.x before 3.6.14 uses incorrect cryptography for encrypting a session ticket Backport the patch from upstream: https://gitlab.com/gnutls/gnutls.git commit c2646aeee94e71cb15c90a3147cf3b5b0ca158ca commit 50ad8778a81f9421effa4c5a3b457f98e559b178 commit 3d7fae761e65e9d0f16d7

[oe-core][PATCH 1/1] systemd-conf: unpack to $S

2020-07-01 Thread Joe Slater
systemd-conf copies some files to the target but they are in WORKDIR and not visible to the archiver. Unpack them to S. Signed-off-by: Joe Slater --- .../systemd/systemd-conf_245.6.bb | 20 +-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/meta/reci

Re: [OE-core] Add package managers as a plugin

2020-07-01 Thread Alejandro del Castillo
Hi all, Catching up on the conversation...impressive results coming out of apk. Haven't used apk enough to have an educated opinion, but by quickly glancing at the code, I believe it uses an ad hoc solver, which might struggle with corner cases (same issues we had with opkg, before switching

[OE-core] [PATCH] curl: upgrade 7.71.0 -> 7.71.1

2020-07-01 Thread Pierre-Jean Texier via lists.openembedded.org
This release includes the following bugfixes: - cirrus-ci: disable FreeBSD 13 (again) - Curl_inet_ntop: always check the return code - CURLOPT_READFUNCTION.3: provide the upload data size up front - DYNBUF.md: fix a typo: trail => tail - escape: make the URL decode able to reject only %0

Re: [OE-core] [PATCH v2] netbase: use git fetcher

2020-07-01 Thread Richard Purdie
On Wed, 2020-07-01 at 10:05 +0800, Yu, Mingli wrote: > > On 7/1/20 4:08 AM, Richard Purdie wrote: > > On Mon, 2020-06-29 at 12:31 +0800, Yu, Mingli wrote: > > > From: Mingli Yu > > > > > > Use git repo as the the previous URL only stores > > > the latest source file and fails to locate the > > >

Re: [OE-core] [PATCH] busybox: upgrade 1.31.1 -> 1.32.0

2020-07-01 Thread Andrej Valek
Hello Wang, Sorry, but why did you change tabs->spaces in the indent level in " busybox-udhcpc-no_deconfig.patch"? No it's completely unreadable. Andrej -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of Wang Mingyu Sent: Wednesday, July 1, 2020 9:02 AM To

Re: [OE-core] [PATCH v2] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Bruce Ashfield
On Wed, Jul 1, 2020 at 10:58 AM Andrey Zhizhikin wrote: > > Fetcher provides full paths to defconfig and scc files, which awk > comparison operator does not catch during construction of > src_uri_defconfig and sccs_from_src_uri lists. This causes the > src_uri_defconfig variable to come out empty,

Re: [OE-core] [PATCH] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Andrey Zhizhikin
On Wed, Jul 1, 2020 at 4:47 PM Andrey Zhizhikin via lists.openembedded.org wrote: > > On Wed, Jul 1, 2020 at 3:32 PM Bruce Ashfield > wrote: > > > > On Wed, Jul 1, 2020 at 9:26 AM Bruce Ashfield > > wrote: > > > > > > On Wed, Jul 1, 2020 at 9:01 AM Bruce Ashfield via > > > lists.openembedded.o

[OE-core] [PATCH v2] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Andrey Zhizhikin
Fetcher provides full paths to defconfig and scc files, which awk comparison operator does not catch during construction of src_uri_defconfig and sccs_from_src_uri lists. This causes the src_uri_defconfig variable to come out empty, and fails further validation if defconfig is only supplied via SRC

[OE-core] [PATCH V2] cpio: add nativesdk support

2020-07-01 Thread hongxu
Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir] applied, sbindir = bindir in nativesdk, then routine `rmt' is installed to bindir which break `rmdir ${D}${bindir}/' failed with `Directory not empty' Don't rmdir if sbindir != bindir Signed-off-by: Hongxu Jia --- meta/recipes-e

Re: [OE-core] [PATCH] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Andrey Zhizhikin
On Wed, Jul 1, 2020 at 3:32 PM Bruce Ashfield wrote: > > On Wed, Jul 1, 2020 at 9:26 AM Bruce Ashfield > wrote: > > > > On Wed, Jul 1, 2020 at 9:01 AM Bruce Ashfield via > > lists.openembedded.org > > wrote: > > > > > > On Wed, Jul 1, 2020 at 8:58 AM Bruce Ashfield > > > wrote: > > > > > > >

Re: [OE-core] [PATCH] cpio: add nativesdk support

2020-07-01 Thread hongxu
On 7/1/20 10:29 PM, Richard Purdie wrote: On Wed, 2020-07-01 at 21:43 +0800, hongxu wrote: Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir] applied, sbindir = bindir in nativesdk, then routine `rmt' is installed to bindir which break `rmdir ${D}${bindir}/' failed with `Director

[OE-core] [PATCH] oeqa/core/loader: refine regex to find module

2020-07-01 Thread Lee Chee Yang
From: Lee Chee Yang test case in format .. this is clear when test cases is only 3 item deep. but confused when it is 4 item deep, eg, oelib.types.TestList.test_list_nosep in this case, oelib and oelib.types can both be treated as module since module name contains only lower cases and class nam

Re: [OE-core] [PATCH] cpio: add nativesdk support

2020-07-01 Thread Richard Purdie
On Wed, 2020-07-01 at 21:43 +0800, hongxu wrote: > Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir] > applied, sbindir = bindir in nativesdk, then routine `rmt' is > installed to bindir which break `rmdir ${D}${bindir}/' failed with > `Directory not empty' > > Don't rmdir while n

Re: [OE-core] [PATCH 2/2] python3: add ldconfig rdepends for python3-ctypes

2020-07-01 Thread Richard Purdie
On Wed, 2020-07-01 at 10:33 +0800, Yu, Mingli wrote: > From: Mingli Yu > > The ctypes module needs to use "ldconfig -p" to find the > library path and it simply has below logic if no ldconfig > installed. > except OSError: > pass > > Before the patch: > >>> from ctypes.util import find

Re: [OE-core] [PATCH] gtk+3: upgrade 3.24.20 -> 3.24.21

2020-07-01 Thread Richard Purdie
On Wed, 2020-07-01 at 15:01 +0800, Wang Mingyu wrote: > Signed-off-by: Wang Mingyu > --- > .../recipes-gnome/gtk+/{gtk+3_3.24.20.bb => gtk+3_3.24.21.bb} | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > rename meta/recipes-gnome/gtk+/{gtk+3_3.24.20.bb => gtk+3_3.24.21.bb} (84%) > >

Re: [OE-core] file checksums versus SRC_URI globs

2020-07-01 Thread Quentin Schulz
Hi Rasmus, On Wed, Jul 01, 2020 at 03:51:19PM +0200, Rasmus Villemoes wrote: > Hi, > > We have a recipe that uses > > SRC_URI += "file://somedir/*" > Glob aren't supported. Use "file://somedir/" instead. Quentin -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. Vi

[OE-core] file checksums versus SRC_URI globs

2020-07-01 Thread Rasmus Villemoes
Hi, We have a recipe that uses SRC_URI += "file://somedir/*" and we have noticed that changing one of the files inside somedir does not cause the recipe to be rebuilt - in fact, no task hashes are affected; we discovered this because a clean build worked correctly, while one that uses an sstat

[OE-core] [PATCH] cpio: add nativesdk support

2020-07-01 Thread hongxu
Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir] applied, sbindir = bindir in nativesdk, then routine `rmt' is installed to bindir which break `rmdir ${D}${bindir}/' failed with `Directory not empty' Don't rmdir while nativesdk Signed-off-by: Hongxu Jia --- meta/recipes-extend

Re: [OE-core][PATCH 1/1 v3] classes/kernel: Use a copy of image for kernel*.rpm if fs doesn't support symlinks

2020-07-01 Thread Bruce Ashfield
On Wed, Jul 1, 2020 at 4:22 AM Xu, Yanfei wrote: > > > > On 6/28/20 8:21 PM, Xu, Yanfei wrote: > > > > > > On 6/25/20 12:18 AM, Richard Purdie wrote: > >> On Wed, 2020-06-24 at 23:57 +0800, Xu, Yanfei wrote: > >>> > >>> On 6/24/20 9:08 PM, Richard Purdie wrote: > On Wed, 2020-06-24 at 09:47 +

Re: [OE-core] [PATCH] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Bruce Ashfield
On Wed, Jul 1, 2020 at 9:26 AM Bruce Ashfield wrote: > > On Wed, Jul 1, 2020 at 9:01 AM Bruce Ashfield via > lists.openembedded.org > wrote: > > > > On Wed, Jul 1, 2020 at 8:58 AM Bruce Ashfield > > wrote: > > > > > > On Wed, Jul 1, 2020 at 6:46 AM Andrey Zhizhikin > > > wrote: > > > > > > >

Re: [OE-core] [PATCH] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Bruce Ashfield
On Wed, Jul 1, 2020 at 9:01 AM Bruce Ashfield via lists.openembedded.org wrote: > > On Wed, Jul 1, 2020 at 8:58 AM Bruce Ashfield > wrote: > > > > On Wed, Jul 1, 2020 at 6:46 AM Andrey Zhizhikin wrote: > > > > > > Fetcher provides full paths to defconfig and scc files, which awk > > > compariso

Re: [OE-core] [PATCH] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Bruce Ashfield
On Wed, Jul 1, 2020 at 8:58 AM Bruce Ashfield wrote: > > On Wed, Jul 1, 2020 at 6:46 AM Andrey Zhizhikin wrote: > > > > Fetcher provides full paths to defconfig and scc files, which awk > > comparison operator does not catch during construction of > > src_uri_defconfig and sccs_from_src_uri lists

Re: [OE-core] [PATCH] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Bruce Ashfield
On Wed, Jul 1, 2020 at 6:46 AM Andrey Zhizhikin wrote: > > Fetcher provides full paths to defconfig and scc files, which awk > comparison operator does not catch during construction of > src_uri_defconfig and sccs_from_src_uri lists. This causes the > src_uri_defconfig variable to come out empty,

Re: [OE-core] [PATCH v3] nopackages.bbclass: Get tasks from variable

2020-07-01 Thread Fredrik Gustafsson
Paul, it's only for adding tasks to do deltask on. Not preventing current deltasks to be done. Richard, I tried your suggestion but couldn't understand/judge the implications of changing -__deltask_regexp__ = re.compile(r"deltask\s+(?P\w+)(?P.*)") +__deltask_regexp__ = re.compile(r"

[OE-core] [PATCH] kernel/yocto: fix search for defconfig from src_uri

2020-07-01 Thread Andrey Zhizhikin
Fetcher provides full paths to defconfig and scc files, which awk comparison operator does not catch during construction of src_uri_defconfig and sccs_from_src_uri lists. This causes the src_uri_defconfig variable to come out empty, and fails further validation if defconfig is only supplied via SRC

Re: [OE-core] [PATCH v3] nopackages.bbclass: Get tasks from variable

2020-07-01 Thread Paul Barker
On Wed, 1 Jul 2020 at 11:12, Richard Purdie wrote: > > On Wed, 2020-07-01 at 11:11 +0100, Richard Purdie via > lists.openembedded.org wrote: > > On Wed, 2020-07-01 at 10:54 +0100, Richard Purdie via > > lists.openembedded.org wrote: > > > On Wed, 2020-07-01 at 10:48 +0100, Paul Barker wrote: > > >

Re: [OE-core] [PATCH v3] nopackages.bbclass: Get tasks from variable

2020-07-01 Thread Richard Purdie
On Wed, 2020-07-01 at 11:11 +0100, Richard Purdie via lists.openembedded.org wrote: > On Wed, 2020-07-01 at 10:54 +0100, Richard Purdie via > lists.openembedded.org wrote: > > On Wed, 2020-07-01 at 10:48 +0100, Paul Barker wrote: > > > On Wed, 1 Jul 2020 at 09:46, Fredrik Gustafsson > > > wrote: >

Re: [OE-core] [PATCH v3] nopackages.bbclass: Get tasks from variable

2020-07-01 Thread Richard Purdie
On Wed, 2020-07-01 at 10:54 +0100, Richard Purdie via lists.openembedded.org wrote: > On Wed, 2020-07-01 at 10:48 +0100, Paul Barker wrote: > > On Wed, 1 Jul 2020 at 09:46, Fredrik Gustafsson > > wrote: > > > Get tasks from a variable instead of having them hardcoded. This > > > will > > > enable

Re: [OE-core] [PATCH v3] nopackages.bbclass: Get tasks from variable

2020-07-01 Thread Richard Purdie
On Wed, 2020-07-01 at 10:48 +0100, Paul Barker wrote: > On Wed, 1 Jul 2020 at 09:46, Fredrik Gustafsson > wrote: > > Get tasks from a variable instead of having them hardcoded. This > > will > > enable other layers to add tasks that should be deleted when > > nopackages > > is used. > > > > Signe

Re: [OE-core] [PATCH v3] nopackages.bbclass: Get tasks from variable

2020-07-01 Thread Paul Barker
On Wed, 1 Jul 2020 at 09:46, Fredrik Gustafsson wrote: > > Get tasks from a variable instead of having them hardcoded. This will > enable other layers to add tasks that should be deleted when nopackages > is used. > > Signed-off-by: Fredrik Gustafsson > --- > meta/classes/nopackages.bbclass | 19

[OE-core] Add package managers as a plugin

2020-07-01 Thread Fredrik Gustafsson
OE-core today has three different package managers, the well-known formats deb and rpm is supported as well as ipkg that is good for embedded devices. When building and having a good cache hit, a significant amount of time is spent in the phase of generating a rootfs, which is really about the per

[OE-core] [PATCH v3] nopackages.bbclass: Get tasks from variable

2020-07-01 Thread Fredrik Gustafsson
Get tasks from a variable instead of having them hardcoded. This will enable other layers to add tasks that should be deleted when nopackages is used. Signed-off-by: Fredrik Gustafsson --- meta/classes/nopackages.bbclass | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-)

Re: [OE-core][PATCH 1/1 v3] classes/kernel: Use a copy of image for kernel*.rpm if fs doesn't support symlinks

2020-07-01 Thread Xu, Yanfei
On 6/28/20 8:21 PM, Xu, Yanfei wrote: On 6/25/20 12:18 AM, Richard Purdie wrote: On Wed, 2020-06-24 at 23:57 +0800, Xu, Yanfei wrote: On 6/24/20 9:08 PM, Richard Purdie wrote: On Wed, 2020-06-24 at 09:47 +0800, Xu, Yanfei wrote: On 6/24/20 5:51 AM, Richard Purdie wrote: On Tue, 2020-06-

[OE-core] [PATCH] gtk+3: upgrade 3.24.20 -> 3.24.21

2020-07-01 Thread Wang Mingyu
Signed-off-by: Wang Mingyu --- .../recipes-gnome/gtk+/{gtk+3_3.24.20.bb => gtk+3_3.24.21.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-gnome/gtk+/{gtk+3_3.24.20.bb => gtk+3_3.24.21.bb} (84%) diff --git a/meta/recipes-gnome/gtk+/gtk+3_3.24.20.bb b/meta/recipe

[OE-core] [PATCH] busybox: upgrade 1.31.1 -> 1.32.0

2020-07-01 Thread Wang Mingyu
refresh patch:busybox-udhcpc-no_deconfig.patch 0001-Remove-stime-function-calls.patch 0001-Remove-syscall-wrappers-around-clock_gettime-closes-.patch 0001-time-Use-64-prefix-syscall-if-we-have-to.patch 0003-runsv-Use-64-prefix-syscall-if-we-have-to.patch removed since they are included in 1.32.0