[OE-core] [PATCH] logrotate.py: fix testimage occasionally failure

2020-07-02 Thread Changqing Li
From: Changqing Li testcase test_systemd_failed occasionally failed with below error: Failed to start Rotate log files. logrotate.service: Failed with result 'exit-code'. logrotate.service: Main process exited, code=exited, status=1/FAILURE error: stat of /var/log/logrotate_test failed: No such

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-02 Thread Xu, Yanfei
On 7/2/20 8:37 PM, Bruce Ashfield wrote: On Thu, Jul 2, 2020 at 5:49 AM Xu, Yanfei wrote: On 7/2/20 3:46 PM, Richard Purdie wrote: On Thu, 2020-07-02 at 10:43 +0800, Xu, Yanfei wrote: On 7/1/20 9:42 PM, Bruce Ashfield wrote: On Wed, Jul 1, 2020 at 4:22 AM Xu, Yanfei wrote: On

[OE-core] [PATCH] baremetal-helloworld: Use do_image_complete instead of do_deploy

2020-07-02 Thread Alejandro Hernandez
To better align with upstream and mimic how images are built, use do_image and do_image_complete instead of do_deploy to populate artifacts on DEPLOY_DIR_IMAGE. Signed-off-by: Alejandro Hernandez Samaniego --- .../baremetal-helloworld_git.bb | 31 ++- 1 file

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

2020-07-02 Thread Paul Barker
On Thu, 2 Jul 2020 at 20:29, Fredrik Gustafsson wrote: > > 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 >

Re: [OE-core] ✗ patchtest: failure for "[v3] Move rpm manifest to its ..." and 2 more

2020-07-02 Thread Fredrik Gustafsson
Since I've edited four files, which one should be used as ? /Fredrik From: Patchwork Sent: Thursday, July 2, 2020 9:32 PM To: Fredrik Gustafsson Cc: openembedded-core@lists.openembedded.org Subject: ✗ patchtest: failure for "[v3] Move rpm manifest to its

[OE-core] ✗ patchtest: failure for "[v3] Move rpm manifest to its ..." and 2 more

2020-07-02 Thread Patchwork
== Series Details == Series: "[v3] Move rpm manifest to its ..." and 2 more Revision: 1 URL : https://patchwork.openembedded.org/series/24970/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] Add package managers as a plugin

2020-07-02 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

[OE-core] [PATCH v3 1/3] Move rpm manifest to its own subdir

2020-07-02 Thread Fredrik Gustafsson
This is a part of a refactor that will split the package manager code so that it's possible to use other package managers in other layers. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/manifest.py | 51 +- meta/lib/oe/package_managers/rpm/__init__.py |

[OE-core] [PATCH v3 3/3] Move deb manifest to its own subdir

2020-07-02 Thread Fredrik Gustafsson
This is a part of a refactor that will split the package manager code so that it's possible to use other package managers in other layers. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/manifest.py | 21 +--- meta/lib/oe/package_managers/deb/__init__.py | 3

[OE-core] [PATCH v3 2/3] Move ipk manifest to its own subdir

2020-07-02 Thread Fredrik Gustafsson
This is a part of a refactor that will split the package manager code so that it's possible to use other package managers in other layers. Signed-off-by: Fredrik Gustafsson --- meta/lib/oe/manifest.py | 71 +- meta/lib/oe/package_managers/ipk/__init__.py |

[OE-core] [PATCH] oeqa/selftest: recipetool/devtool: Avoid load_plugin test race

2020-07-02 Thread Richard Purdie
This bug has plagued the autobuilder for a couple of years and we've struggled to reproduce/debug it. The problem is the "lib" directory in meta-poky used during the load_plugin tests for recipetool and devtool can race and one can delete the files from the other leading to test failures.

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

2020-07-02 Thread Bruce Ashfield
On Thu, Jul 2, 2020 at 2:20 PM Bruce Ashfield via lists.openembedded.org wrote: > > On Thu, Jul 2, 2020 at 2:16 PM Steve Sakoman wrote: > > > > On Thu, Jul 2, 2020 at 8:08 AM Bruce Ashfield > > wrote: > > > > > > On Wed, Jul 1, 2020 at 9:41 PM Steve Sakoman wrote: > > > > > > > > The

Re: [OE-core] [dunfell][master][PATCH] kernel.bbclass: Fix Module.symvers support

2020-07-02 Thread Bruce Ashfield
On Thu, Jul 2, 2020 at 2:14 PM Bruce Ashfield via lists.openembedded.org wrote: > > On Fri, Jun 26, 2020 at 1:47 AM wrote: > > > > From: Lili Li > > > > Starting from v5.8-rc1 commit 269a535ca931 (modpost: generate > > vmlinux.symvers and reuse it for the second modpost"), kernel will > >

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

2020-07-02 Thread Bruce Ashfield
On Thu, Jul 2, 2020 at 2:16 PM Steve Sakoman wrote: > > On Thu, Jul 2, 2020 at 8:08 AM Bruce Ashfield > wrote: > > > > On Wed, Jul 1, 2020 at 9:41 PM Steve Sakoman wrote: > > > > > > The following changes since commit > > > 1a98936830ba468d63e2e49d766add9e9cb75998: > > > > > >

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

2020-07-02 Thread Steve Sakoman
On Thu, Jul 2, 2020 at 8:08 AM Bruce Ashfield wrote: > > On Wed, Jul 1, 2020 at 9:41 PM Steve Sakoman wrote: > > > > The following changes since commit 1a98936830ba468d63e2e49d766add9e9cb75998: > > > > gstreamer1.0-plugins-bad: add support for vdpau (2020-06-23 04:33:47 > > -1000) > > > > are

Re: [OE-core] [dunfell][master][PATCH] kernel.bbclass: Fix Module.symvers support

2020-07-02 Thread Bruce Ashfield
On Fri, Jun 26, 2020 at 1:47 AM wrote: > > 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

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

2020-07-02 Thread Bruce Ashfield
On Wed, Jul 1, 2020 at 9:41 PM Steve Sakoman wrote: > > 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: > >

[OE-core] [PATCH][dunfell] common-licenses: fix filename of BSD-2-Clause-Patent

2020-07-02 Thread Ross Burton
From: Ross Burton (From OE-Core rev: 4a9c62d49940b154177d817a845188d827370607) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../{BSD-2-Clause-Patent.txt => BSD-2-Clause-Patent} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

Re: [OE-core] [PATCH 3/3] ccache: upgrade 3.7.9 -> 3.7.10

2020-07-02 Thread Andreas Müller
On Thu, Jul 2, 2020 at 2:00 PM Dmitry Baryshkov wrote: > > Hello, > > вс, 28 июн. 2020 г. в 16:34, Andreas Müller : > > > > remove SRC_URI[md5sum] > > > > Signed-off-by: Andreas Müller > > --- > > .../ccache/{ccache_3.7.9.bb => ccache_3.7.10.bb} | 3 +-- > > 1 file changed, 1

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-02 Thread Bruce Ashfield
On Thu, Jul 2, 2020 at 5:49 AM Xu, Yanfei wrote: > > > > On 7/2/20 3:46 PM, Richard Purdie wrote: > > On Thu, 2020-07-02 at 10:43 +0800, Xu, Yanfei wrote: > >> > >> On 7/1/20 9:42 PM, Bruce Ashfield wrote: > >>> On Wed, Jul 1, 2020 at 4:22 AM Xu, Yanfei > >>> wrote: > > > On

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

2020-07-02 Thread Paul Barker
On Thu, 2 Jul 2020 at 13:31, Richard Purdie wrote: > > On Wed, 2020-07-01 at 15:11 -0700, Joe Slater wrote: > > 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 > > --- > >

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

2020-07-02 Thread Richard Purdie
On Wed, 2020-07-01 at 15:11 -0700, Joe Slater wrote: > 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 +-- > >

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-02 Thread Richard Purdie
On Thu, 2020-07-02 at 17:49 +0800, Xu, Yanfei wrote: > > On 7/2/20 3:46 PM, Richard Purdie wrote: > > On Thu, 2020-07-02 at 10:43 +0800, Xu, Yanfei wrote: > > > On 7/1/20 9:42 PM, Bruce Ashfield wrote: > > > > On Wed, Jul 1, 2020 at 4:22 AM Xu, Yanfei > > > > wrote: > > > > > > > > > > On

[OE-core] [meta-python][PATCH] python3-libconf: add recipe version 2.0.1

2020-07-02 Thread Jacopo Dall'Aglio
Signed-off-by: Jacopo Dall'Aglio --- .../python/python3-libconf_2.0.1.bb | 13 + 1 file changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-libconf_2.0.1.bb diff --git

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-02 Thread Xu, Yanfei
On 7/2/20 3:46 PM, Richard Purdie wrote: On Thu, 2020-07-02 at 10:43 +0800, Xu, Yanfei wrote: 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

[OE-core] [PATCH] rootfs: do not let ldconfig to create symlinks

2020-07-02 Thread Damian Wrobel
Adds -X option to ldconfig to not create symlinks as part of the ldconfig cache creation process. It is much better to keep all needed symlinks as part of of the package then let ldconfig do the job. In the case symlink was created by ldconfig and later on the package got removed the dangling

[OE-core] [PATCH v2 2/2] qemu: fix CVE-2020-10761

2020-07-02 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- meta/recipes-devtools/qemu/qemu.inc| 1 + .../qemu/qemu/CVE-2020-10761.patch | 151 + 2 files changed, 152 insertions(+) create mode 100644

[OE-core] [PATCH v2 1/2] json-c: fix CVE-2020-12762

2020-07-02 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- .../json-c/json-c/CVE-2020-12762.patch | 160 + meta/recipes-devtools/json-c/json-c_0.14.bb| 5 +- 2 files changed, 164 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH] gtk-icon-cache.bbclass: add runtime dependency

2020-07-02 Thread Changqing Li
From: Changqing Li fix error: + /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache /var/tmp/rpm-tmp.mdYxY6: line 12: /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: No such file or directory %post(adwaita-icon-theme-3.36.1-r0.0.noarch): waitpid(2961) rc 2961 status 7f00 warning:

[OE-core] ✗ patchtest: failure for "json-c: fix CVE-2020-12762..." and 1 more

2020-07-02 Thread Patchwork
== Series Details == Series: "json-c: fix CVE-2020-12762..." and 1 more Revision: 1 URL : https://patchwork.openembedded.org/series/24957/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] [PATCH 1/2] json-c: fix CVE-2020-12762

2020-07-02 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- .../json-c/json-c/CVE-2020-12762.patch | 160 + meta/recipes-devtools/json-c/json-c_0.14.bb| 5 +- 2 files changed, 164 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 2/2] qemu: fix CVE-2020-10761

2020-07-02 Thread Lee Chee Yang
From: Lee Chee Yang Signed-off-by: Lee Chee Yang --- meta/recipes-devtools/qemu/qemu.inc| 1 + .../qemu/qemu/CVE-2020-10761.patch | 151 + 2 files changed, 152 insertions(+) create mode 100644

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-02 Thread Richard Purdie
On Thu, 2020-07-02 at 10:43 +0800, Xu, Yanfei wrote: > > 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,

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

2020-07-02 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