Re: [OE-core] [PATCH 03/33] gdb: update 11.1 -> 11.2

2022-02-02 Thread Denys Dmytriyenko
https://git.openembedded.org/openembedded-core/commit/?id=f24c2bf93a9549ae5a21ce378a7bf47ef052ad65

I realize these are in master-next and haven't been merged to master yet. 
Richard mentioned there are some issues with one of the autobuilder nodes 
and hence master-next is taking longer to test lately.

I don't believe bombarding Richard with duplicate patches improves his 
productivity. :) On his behalf I'm asking for a bit more patience and 
understanding...


On Wed, Feb 02, 2022 at 07:27:28PM +0100, Alexander Kanavin wrote:
> Simplyfy .inc structure: merge gdb.inc into gdb_11.2.bb, rename
> gdb-${PV}.inc to gdb.inc. This will allow easier automatic updates.
> 
> Drop upstreamed patch.
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/recipes-devtools/gdb/gdb-11.1.inc|  19 --
>  ...ian_11.1.bb => gdb-cross-canadian_11.2.bb} |   2 +-
>  .../{gdb-cross_11.1.bb => gdb-cross_11.2.bb}  |   2 +-
>  meta/recipes-devtools/gdb/gdb.inc |  27 +-
>  ...erver-register-set-selection-dynamic.patch | 317 --
>  .../gdb/{gdb_11.1.bb => gdb_11.2.bb}  |  13 +-
>  6 files changed, 31 insertions(+), 349 deletions(-)
>  delete mode 100644 meta/recipes-devtools/gdb/gdb-11.1.inc
>  rename meta/recipes-devtools/gdb/{gdb-cross-canadian_11.1.bb => 
> gdb-cross-canadian_11.2.bb} (71%)
>  rename meta/recipes-devtools/gdb/{gdb-cross_11.1.bb => gdb-cross_11.2.bb} 
> (50%)
>  delete mode 100644 
> meta/recipes-devtools/gdb/gdb/0011-AArch64-Make-gdbserver-register-set-selection-dynamic.patch
>  rename meta/recipes-devtools/gdb/{gdb_11.1.bb => gdb_11.2.bb} (80%)
> 
> diff --git a/meta/recipes-devtools/gdb/gdb-11.1.inc 
> b/meta/recipes-devtools/gdb/gdb-11.1.inc
> deleted file mode 100644
> index 5364a880e3..00
> --- a/meta/recipes-devtools/gdb/gdb-11.1.inc
> +++ /dev/null
> @@ -1,19 +0,0 @@
> -LICENSE = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
> - file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
> - file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
> - file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
> -
> -SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
> -   file://0001-make-man-install-relative-to-DESTDIR.patch \
> -   file://0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
> -   
> file://0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
> -   
> file://0005-Dont-disable-libreadline.a-when-using-disable-static.patch \
> -   file://0006-use-asm-sgidefs.h.patch \
> -   file://0007-Change-order-of-CFLAGS.patch \
> -   file://0008-resolve-restrict-keyword-conflict.patch \
> -   file://0009-Fix-invalid-sigprocmask-call.patch \
> -   file://0010-gdbserver-ctrl-c-handling.patch \
> -   
> file://0011-AArch64-Make-gdbserver-register-set-selection-dynamic.patch \
> -   "
> -SRC_URI[sha256sum] = 
> "cccfcc407b20d343fb320d4a9a2110776dd3165118ffd41f4b1b162340333f94"
> diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_11.1.bb 
> b/meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb
> similarity index 71%
> rename from meta/recipes-devtools/gdb/gdb-cross-canadian_11.1.bb
> rename to meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb
> index 301035940c..4ab2b7156d 100644
> --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_11.1.bb
> +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb
> @@ -1,3 +1,3 @@
>  require gdb-common.inc
>  require gdb-cross-canadian.inc
> -require gdb-${PV}.inc
> +require gdb.inc
> diff --git a/meta/recipes-devtools/gdb/gdb-cross_11.1.bb 
> b/meta/recipes-devtools/gdb/gdb-cross_11.2.bb
> similarity index 50%
> rename from meta/recipes-devtools/gdb/gdb-cross_11.1.bb
> rename to meta/recipes-devtools/gdb/gdb-cross_11.2.bb
> index 50cf159fdb..3b654a2f0d 100644
> --- a/meta/recipes-devtools/gdb/gdb-cross_11.1.bb
> +++ b/meta/recipes-devtools/gdb/gdb-cross_11.2.bb
> @@ -1,2 +1,2 @@
>  require gdb-cross.inc
> -require gdb-${PV}.inc
> +require gdb.inc
> diff --git a/meta/recipes-devtools/gdb/gdb.inc 
> b/meta/recipes-devtools/gdb/gdb.inc
> index 2c95ed3ca0..cf801b192b 100644
> --- a/meta/recipes-devtools/gdb/gdb.inc
> +++ b/meta/recipes-devtools/gdb/gdb.inc
> @@ -1,11 +1,18 @@
> -require gdb-common.inc
> -
> -inherit gettext pkgconfig
> -
> -#LDFLAGS:append = " -s"
> -#export CFLAGS:append=" -L${STAGING_LIBDIR}"
> -
> -# cross-canadian must not see this
> -PACKAGES =+ "gdbserver"
> -FILES:gdbserver = "${bindir}/gdbserver"
> +LICENSE = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
> + file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
> + file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
> + file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
>  
> +SRC_URI = "${GNU_MIRROR}/gdb/gdb-

Re: [OE-core] [PATCH 04/33] connman: update 1.40 -> 1.41

2022-02-02 Thread Denys Dmytriyenko
https://git.openembedded.org/openembedded-core/commit/?id=54c896c76ba5955990f27ed1ec5dd81d2f9d09e2


On Wed, Feb 02, 2022 at 07:27:29PM +0100, Alexander Kanavin wrote:
> Signed-off-by: Alexander Kanavin 
> ---
>  .../0002-resolve-musl-does-not-implement-res_ninit.patch| 2 +-
>  .../connman/{connman_1.40.bb => connman_1.41.bb}| 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>  rename meta/recipes-connectivity/connman/{connman_1.40.bb => 
> connman_1.41.bb} (85%)
> 
> diff --git 
> a/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
>  
> b/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
> index 9dca21a02f..63a8fa81b1 100644
> --- 
> a/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
> +++ 
> b/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
> @@ -1,4 +1,4 @@
> -From 01974865e4d331eeaf25248bee1bb96539c450d9 Mon Sep 17 00:00:00 2001
> +From f2e6254a48fc0bb41b1617b7832aed4977230cf9 Mon Sep 17 00:00:00 2001
>  From: Khem Raj 
>  Date: Mon, 6 Apr 2015 23:02:21 -0700
>  Subject: [PATCH] resolve: musl does not implement res_ninit
> diff --git a/meta/recipes-connectivity/connman/connman_1.40.bb 
> b/meta/recipes-connectivity/connman/connman_1.41.bb
> similarity index 85%
> rename from meta/recipes-connectivity/connman/connman_1.40.bb
> rename to meta/recipes-connectivity/connman/connman_1.41.bb
> index edb23a1267..736b78eaeb 100644
> --- a/meta/recipes-connectivity/connman/connman_1.40.bb
> +++ b/meta/recipes-connectivity/connman/connman_1.41.bb
> @@ -9,7 +9,7 @@ SRC_URI = 
> "${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
>  
>  SRC_URI:append:libc-musl = " 
> file://0002-resolve-musl-does-not-implement-res_ninit.patch"
>  
> -SRC_URI[sha256sum] = 
> "1a57ae7ce234aa3a1744aac3be5c2121d98dce999440ef8ab9cc4edfd5edcb12"
> +SRC_URI[sha256sum] = 
> "79fb40f4fdd5530c45aa8e592fb16ba23d3674f3a98cf10b89a6576f198de589"
>  
>  RRECOMMENDS:${PN} = "connman-conf"
>  RCONFLICTS:${PN} = "networkmanager"
> -- 
> 2.20.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161264): 
https://lists.openembedded.org/g/openembedded-core/message/161264
Mute This Topic: https://lists.openembedded.org/mt/88865278/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 28/33] lttng-tools: upgrade 2.13.2 -> 2.13.4

2022-02-02 Thread Denys Dmytriyenko
https://git.openembedded.org/openembedded-core/commit/?id=7de004c74447b3075abb9641843254a7a5c7233b


On Wed, Feb 02, 2022 at 07:27:53PM +0100, Alexander Kanavin wrote:
> From: Alexander Kanavin 
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  .../lttng/{lttng-tools_2.13.2.bb => lttng-tools_2.13.4.bb}  | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-kernel/lttng/{lttng-tools_2.13.2.bb => 
> lttng-tools_2.13.4.bb} (98%)
> 
> diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb 
> b/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
> similarity index 98%
> rename from meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb
> rename to meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
> index d6ce2c7e32..98b91270ba 100644
> --- a/meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb
> +++ b/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
> @@ -39,7 +39,7 @@ SRC_URI = 
> "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
> file://disable-tests.patch \
> "
>  
> -SRC_URI[sha256sum] = 
> "ced2ba00020da77fd17ac92b5a53825502409a07e3aeca28f9515d4a844fd7bd"
> +SRC_URI[sha256sum] = 
> "565f3102410a53d484f4c8ff517978f1dc59f67f9d16f872f4357f3ca12200f6"
>  
>  inherit autotools ptest pkgconfig useradd python3-dir manpages systemd
>  
> -- 
> 2.20.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161263): 
https://lists.openembedded.org/g/openembedded-core/message/161263
Mute This Topic: https://lists.openembedded.org/mt/88865309/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 15/33] ell: upgrade 0.47 -> 0.48

2022-02-02 Thread Denys Dmytriyenko
https://git.openembedded.org/openembedded-core/commit/?id=53070e8e119d90b633db8b26ba002ae95f2cfcca


On Wed, Feb 02, 2022 at 07:27:40PM +0100, Alexander Kanavin wrote:
> From: Alexander Kanavin 
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/recipes-core/ell/{ell_0.47.bb => ell_0.48.bb} | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-core/ell/{ell_0.47.bb => ell_0.48.bb} (89%)
> 
> diff --git a/meta/recipes-core/ell/ell_0.47.bb 
> b/meta/recipes-core/ell/ell_0.48.bb
> similarity index 89%
> rename from meta/recipes-core/ell/ell_0.47.bb
> rename to meta/recipes-core/ell/ell_0.48.bb
> index 1db0065a37..737302a444 100644
> --- a/meta/recipes-core/ell/ell_0.47.bb
> +++ b/meta/recipes-core/ell/ell_0.48.bb
> @@ -16,7 +16,7 @@ inherit autotools pkgconfig
>  
>  SRC_URI = 
> "https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz \
> "
> -SRC_URI[sha256sum] = 
> "4901a0baac4eb24163ceafb44fd448430361d25d8f17d89ff29f8b0b162b3eb9"
> +SRC_URI[sha256sum] = 
> "9894943042a5d6165d3e5cc354f92274fb1304004d02b4bee682ab6067cdbbd5"
>  
>  do_configure:prepend () {
>  mkdir -p ${S}/build-aux
> -- 
> 2.20.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161262): 
https://lists.openembedded.org/g/openembedded-core/message/161262
Mute This Topic: https://lists.openembedded.org/mt/88865294/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 27/33] wayland-protocols: upgrade 1.24 -> 1.25

2022-02-02 Thread Denys Dmytriyenko
https://git.openembedded.org/openembedded-core/commit/?id=66dc75cf5e6b741ef7ba011841cd5ceeebf17b36


On Wed, Feb 02, 2022 at 07:27:52PM +0100, Alexander Kanavin wrote:
> From: Alexander Kanavin 
> 
> Signed-off-by: Alexander Kanavin 
> ---
>  .../{wayland-protocols_1.24.bb => wayland-protocols_1.25.bb}| 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta/recipes-graphics/wayland/{wayland-protocols_1.24.bb => 
> wayland-protocols_1.25.bb} (91%)
> 
> diff --git a/meta/recipes-graphics/wayland/wayland-protocols_1.24.bb 
> b/meta/recipes-graphics/wayland/wayland-protocols_1.25.bb
> similarity index 91%
> rename from meta/recipes-graphics/wayland/wayland-protocols_1.24.bb
> rename to meta/recipes-graphics/wayland/wayland-protocols_1.25.bb
> index 0cfdb90b68..074801b22d 100644
> --- a/meta/recipes-graphics/wayland/wayland-protocols_1.24.bb
> +++ b/meta/recipes-graphics/wayland/wayland-protocols_1.25.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
>  
>  SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
> "
> -SRC_URI[sha256sum] = 
> "bff0d8cffeeceb35159d6f4aa6bab18c807b80642c9d50f66cba52ecf7338bc2"
> +SRC_URI[sha256sum] = 
> "f1ff0f7199d0a0da337217dd8c99979967808dc37731a1e759e822b75b571460"
>  
>  UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html";
>  
> -- 
> 2.20.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161261): 
https://lists.openembedded.org/g/openembedded-core/message/161261
Mute This Topic: https://lists.openembedded.org/mt/88865308/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2] initramfs-framework: Add overlayroot module

2022-02-02 Thread Alejandro Hernandez Samaniego

On 2/2/22 08:15, Vyacheslav Yurkov wrote:

Hi Alejandro

On 02.02.2022 07:58, Alejandro Hernandez wrote:


Hey Vyacheslav,

...I definitely tried extending the overlay-etc class but it simply 
does not work for this, since the rootfs becomes inaccessible once 
the system has booted, ...




That's what I meant. What if we added another parameter, let's say 
OVERLAY_OLDROOT_MOUNT. If it's set, then lower layer can bind mounted 
to that mount point. In that case -etc part of overlayfs-etc has to be 
changed for something else, of course, to make it more general purpose 
class. Perhaps overlayfs.bbclass can be renamed to 
overlayfs-systemd.bbclass then?

What do you think?

This is precisely the way I implemented it first, I wanted to use the 
overlay-etc class as general purpose, but sadly that doesn't work for 
this flow as its explained in the script comments, using it in that way, 
the / overlay can be mounted, however its impossible to access its 
original contents once we chroot in the overlay, hence why this belongs 
in initramfs-framework as a separate feature from the class, the 
intention is not to replace the class which provides different 
functionality.



... but it is a different use case and boot flow so I believe both 
can co-exist for different workflows depending on the user needs...


My concern here is code duplication :) If we find an issue in one 
place, we would need to change it in two places.


Thanks,
Vyacheslav


Cheers,

Alejandro




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161260): 
https://lists.openembedded.org/g/openembedded-core/message/161260
Mute This Topic: https://lists.openembedded.org/mt/88773634/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [RFC PATCH 2/2] weston: upgrade 9.0.0 -> 10.0.0

2022-02-02 Thread Alexander Kanavin
On Wed, 2 Feb 2022 at 01:27, Denys Dmytriyenko  wrote:

>
> BTW, the final 10.0.0 just got released earlier today:
>
> https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html
>
> Alex,
>
> Would it be possible to includue the link above with the full Changelog in
> the
> commit message? Thanks.
>

Yes; I just sent the final update in the latest patchset.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161259): 
https://lists.openembedded.org/g/openembedded-core/message/161259
Mute This Topic: https://lists.openembedded.org/mt/88831953/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 33/33] re2c: upgrade 2.2 -> 3.0

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-support/re2c/{re2c_2.2.bb => re2c_3.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/re2c/{re2c_2.2.bb => re2c_3.0.bb} (91%)

diff --git a/meta/recipes-support/re2c/re2c_2.2.bb 
b/meta/recipes-support/re2c/re2c_3.0.bb
similarity index 91%
rename from meta/recipes-support/re2c/re2c_2.2.bb
rename to meta/recipes-support/re2c/re2c_3.0.bb
index 9a0968a984..ab047601ae 100644
--- a/meta/recipes-support/re2c/re2c_2.2.bb
+++ b/meta/recipes-support/re2c/re2c_3.0.bb
@@ -8,7 +8,7 @@ LICENSE = "PD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=64eca4d8a3b67f9dc7656094731a2c8d"
 
 SRC_URI = 
"https://github.com/skvadrik/re2c/releases/download/${PV}/${BPN}-${PV}.tar.xz";
-SRC_URI[sha256sum] = 
"0fc45e4130a8a555d68e230d1795de0216dfe99096b61b28e67c86dfd7d86bda"
+SRC_URI[sha256sum] = 
"b3ba1461e13fe22c630a40c43885efcf585830c6f4c0d791cf82ba0b"
 UPSTREAM_CHECK_URI = "https://github.com/skvadrik/re2c/releases";
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161258): 
https://lists.openembedded.org/g/openembedded-core/message/161258
Mute This Topic: https://lists.openembedded.org/mt/88865315/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 31/33] libcap: upgrade 2.62 -> 2.63

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...nativesdk-libcap-Raise-the-size-of-arrays-containing.patch | 4 ++--
 .../recipes-support/libcap/{libcap_2.62.bb => libcap_2.63.bb} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/libcap/{libcap_2.62.bb => libcap_2.63.bb} (96%)

diff --git 
a/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch
 
b/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch
index 89f6bcd65f..9884fb5641 100644
--- 
a/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch
+++ 
b/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch
@@ -1,4 +1,4 @@
-From 42b3e19d4e584fb9b47fb471e02bb25de90ac641 Mon Sep 17 00:00:00 2001
+From fc60e000169618a4adced845b9462d36ced1efdd Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Thu, 14 Oct 2021 15:57:36 +0800
 Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl
@@ -20,7 +20,7 @@ Signed-off-by: Hongxu Jia 
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/libcap/execable.h b/libcap/execable.h
-index 0bcc5d4..6e2a080 100644
+index fee17b4..5bb0c55 100644
 --- a/libcap/execable.h
 +++ b/libcap/execable.h
 @@ -23,7 +23,7 @@
diff --git a/meta/recipes-support/libcap/libcap_2.62.bb 
b/meta/recipes-support/libcap/libcap_2.63.bb
similarity index 96%
rename from meta/recipes-support/libcap/libcap_2.62.bb
rename to meta/recipes-support/libcap/libcap_2.63.bb
index e08cac7218..4b7111890e 100644
--- a/meta/recipes-support/libcap/libcap_2.62.bb
+++ b/meta/recipes-support/libcap/libcap_2.63.bb
@@ -16,7 +16,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${
 SRC_URI:append:class-nativesdk = " \

file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \
"
-SRC_URI[sha256sum] = 
"190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2"
+SRC_URI[sha256sum] = 
"0c637b8f44fc7d8627787e9cf57f15ac06c1ddccb53e41feec5496be3466f77f"
 
 UPSTREAM_CHECK_URI = 
"https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/";
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161256): 
https://lists.openembedded.org/g/openembedded-core/message/161256
Mute This Topic: https://lists.openembedded.org/mt/88865312/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 32/33] libusb1: upgrade 1.0.24 -> 1.0.25

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../libusb/{libusb1_1.0.24.bb => libusb1_1.0.25.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libusb/{libusb1_1.0.24.bb => libusb1_1.0.25.bb} 
(94%)

diff --git a/meta/recipes-support/libusb/libusb1_1.0.24.bb 
b/meta/recipes-support/libusb/libusb1_1.0.25.bb
similarity index 94%
rename from meta/recipes-support/libusb/libusb1_1.0.24.bb
rename to meta/recipes-support/libusb/libusb1_1.0.25.bb
index e70021f4f7..ca812b018e 100644
--- a/meta/recipes-support/libusb/libusb1_1.0.24.bb
+++ b/meta/recipes-support/libusb/libusb1_1.0.25.bb
@@ -16,7 +16,7 @@ SRC_URI = 
"https://github.com/libusb/libusb/releases/download/v${PV}/libusb-${PV
 
 UPSTREAM_CHECK_URI = "https://github.com/libusb/libusb/releases";
 
-SRC_URI[sha256sum] = 
"7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a"
+SRC_URI[sha256sum] = 
"8a28ef197a797ebac2702f095e81975e2b02b2eeff2774fa909c78a74ef50849"
 
 S = "${WORKDIR}/libusb-${PV}"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161257): 
https://lists.openembedded.org/g/openembedded-core/message/161257
Mute This Topic: https://lists.openembedded.org/mt/88865314/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 27/33] wayland-protocols: upgrade 1.24 -> 1.25

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../{wayland-protocols_1.24.bb => wayland-protocols_1.25.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/wayland/{wayland-protocols_1.24.bb => 
wayland-protocols_1.25.bb} (91%)

diff --git a/meta/recipes-graphics/wayland/wayland-protocols_1.24.bb 
b/meta/recipes-graphics/wayland/wayland-protocols_1.25.bb
similarity index 91%
rename from meta/recipes-graphics/wayland/wayland-protocols_1.24.bb
rename to meta/recipes-graphics/wayland/wayland-protocols_1.25.bb
index 0cfdb90b68..074801b22d 100644
--- a/meta/recipes-graphics/wayland/wayland-protocols_1.24.bb
+++ b/meta/recipes-graphics/wayland/wayland-protocols_1.25.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
 
 SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
"
-SRC_URI[sha256sum] = 
"bff0d8cffeeceb35159d6f4aa6bab18c807b80642c9d50f66cba52ecf7338bc2"
+SRC_URI[sha256sum] = 
"f1ff0f7199d0a0da337217dd8c99979967808dc37731a1e759e822b75b571460"
 
 UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html";
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161252): 
https://lists.openembedded.org/g/openembedded-core/message/161252
Mute This Topic: https://lists.openembedded.org/mt/88865308/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 29/33] puzzles: upgrade to latest revision

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-sato/puzzles/puzzles_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb 
b/meta/recipes-sato/puzzles/puzzles_git.bb
index 0bf878fc96..381d3cc456 100644
--- a/meta/recipes-sato/puzzles/puzzles_git.bb
+++ b/meta/recipes-sato/puzzles/puzzles_git.bb
@@ -10,7 +10,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 SRC_URI = "git://git.tartarus.org/simon/puzzles.git;branch=main"
 
 UPSTREAM_CHECK_COMMITS = "1"
-SRCREV = "229d062d6ce63f0a5e00d2de62ee0fb389ccfdb6"
+SRCREV = "c43a34fbfe430d235bafc379595761880a19ed9f"
 PE = "2"
 PV = "0.0+git${SRCPV}"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161254): 
https://lists.openembedded.org/g/openembedded-core/message/161254
Mute This Topic: https://lists.openembedded.org/mt/88865310/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 30/33] diffoscope: upgrade 201 -> 202

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../diffoscope/{diffoscope_201.bb => diffoscope_202.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/diffoscope/{diffoscope_201.bb => 
diffoscope_202.bb} (92%)

diff --git a/meta/recipes-support/diffoscope/diffoscope_201.bb 
b/meta/recipes-support/diffoscope/diffoscope_202.bb
similarity index 92%
rename from meta/recipes-support/diffoscope/diffoscope_201.bb
rename to meta/recipes-support/diffoscope/diffoscope_202.bb
index b3c25e1bda..8273056c59 100644
--- a/meta/recipes-support/diffoscope/diffoscope_201.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_202.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "diffoscope"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"07bd0b2972e7c4926db7f65bcf23fd106ad42169dbdaef3dc63278af82c5e38f"
+SRC_URI[sha256sum] = 
"cf0d4e1505818403ec8678fd9b8b4c3b955fb1d041c5d826e69f20021bff8a1e"
 
 RDEPENDS:${PN} += "binutils vim squashfs-tools python3-libarchive-c 
python3-magic python3-rpm"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161255): 
https://lists.openembedded.org/g/openembedded-core/message/161255
Mute This Topic: https://lists.openembedded.org/mt/88865311/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 28/33] lttng-tools: upgrade 2.13.2 -> 2.13.4

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../lttng/{lttng-tools_2.13.2.bb => lttng-tools_2.13.4.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-kernel/lttng/{lttng-tools_2.13.2.bb => 
lttng-tools_2.13.4.bb} (98%)

diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb 
b/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
similarity index 98%
rename from meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb
rename to meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
index d6ce2c7e32..98b91270ba 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.13.2.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.13.4.bb
@@ -39,7 +39,7 @@ SRC_URI = 
"https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
file://disable-tests.patch \
"
 
-SRC_URI[sha256sum] = 
"ced2ba00020da77fd17ac92b5a53825502409a07e3aeca28f9515d4a844fd7bd"
+SRC_URI[sha256sum] = 
"565f3102410a53d484f4c8ff517978f1dc59f67f9d16f872f4357f3ca12200f6"
 
 inherit autotools ptest pkgconfig useradd python3-dir manpages systemd
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161253): 
https://lists.openembedded.org/g/openembedded-core/message/161253
Mute This Topic: https://lists.openembedded.org/mt/88865309/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 23/33] stress-ng: upgrade 0.13.10 -> 0.13.11

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../stress-ng/{stress-ng_0.13.10.bb => stress-ng_0.13.11.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/stress-ng/{stress-ng_0.13.10.bb => 
stress-ng_0.13.11.bb} (93%)

diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.13.10.bb 
b/meta/recipes-extended/stress-ng/stress-ng_0.13.11.bb
similarity index 93%
rename from meta/recipes-extended/stress-ng/stress-ng_0.13.10.bb
rename to meta/recipes-extended/stress-ng/stress-ng_0.13.11.bb
index 700ee1595e..72c9de38b1 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.13.10.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.13.11.bb
@@ -6,7 +6,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = 
"git://github.com/ColinIanKing/stress-ng.git;protocol=https;branch=master"
-SRCREV = "b81116cb69a97aa671ab207a7f600aaacca091d1"
+SRCREV = "48be8ff4ffc4a04a0e3b5f2feaf63cce0cbd4f2b"
 S = "${WORKDIR}/git"
 
 DEPENDS = "coreutils-native"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161248): 
https://lists.openembedded.org/g/openembedded-core/message/161248
Mute This Topic: https://lists.openembedded.org/mt/88865302/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 26/33] piglit: upgrade to latest revision

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...file.py-make-test-lists-reproducible.patch | 31 -
 ...gen_tcs-tes_input_tests.py-do-not-ha.patch | 44 ---
 ...lizer.py-make-.gz-files-reproducible.patch | 30 -
 ...sort-the-file-list-before-working-on.patch | 28 
 meta/recipes-graphics/piglit/piglit_git.bb|  6 +--
 5 files changed, 1 insertion(+), 138 deletions(-)
 delete mode 100644 
meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
 delete mode 100644 
meta/recipes-graphics/piglit/piglit/0001-generated_tests-gen_tcs-tes_input_tests.py-do-not-ha.patch
 delete mode 100644 
meta/recipes-graphics/piglit/piglit/0001-serializer.py-make-.gz-files-reproducible.patch
 delete mode 100644 
meta/recipes-graphics/piglit/piglit/0001-tests-shader.py-sort-the-file-list-before-working-on.patch

diff --git 
a/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
 
b/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
deleted file mode 100644
index c90f601cfa..00
--- 
a/meta/recipes-graphics/piglit/piglit/0001-framework-profile.py-make-test-lists-reproducible.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 9086d42df1f3134bafcfe33ff16db7bbb9d9a0fd Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Mon, 30 Nov 2020 23:08:22 +
-Subject: [PATCH] framework/profile.py: make test lists reproducible
-
-These are created with os.walk, which yields different
-order depending on where it's run.
-
-Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/610]
-Signed-off-by: Alexander Kanavin 

- framework/profile.py | 6 +-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/framework/profile.py b/framework/profile.py
-index c210e535e..9b5d51d68 100644
 a/framework/profile.py
-+++ b/framework/profile.py
-@@ -528,7 +528,11 @@ class TestProfile(object):
- else:
- opts[n] = self.test_list[n]
- else:
--opts = self.test_list  # pylint: disable=redefined-variable-type
-+opts = collections.OrderedDict()
-+test_keys = list(self.test_list.keys())
-+test_keys.sort()
-+for k in test_keys:
-+opts[k] = self.test_list[k]
- 
- for k, v in self.filters.run(opts.items()):
- yield k, v
diff --git 
a/meta/recipes-graphics/piglit/piglit/0001-generated_tests-gen_tcs-tes_input_tests.py-do-not-ha.patch
 
b/meta/recipes-graphics/piglit/piglit/0001-generated_tests-gen_tcs-tes_input_tests.py-do-not-ha.patch
deleted file mode 100644
index cb675e8d99..00
--- 
a/meta/recipes-graphics/piglit/piglit/0001-generated_tests-gen_tcs-tes_input_tests.py-do-not-ha.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 1b23539aece156f6fe0789cb988f22e5915228f6 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 10 Nov 2020 17:12:32 +
-Subject: [PATCH 1/2] generated_tests/gen_tcs/tes_input_tests.py: do not
- hardcode the full binary path
-
-This helps reproducibility.
-
-Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/610]
-Signed-off-by: Alexander Kanavin 

- generated_tests/gen_tcs_input_tests.py | 2 +-
- generated_tests/gen_tes_input_tests.py | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/generated_tests/gen_tcs_input_tests.py 
b/generated_tests/gen_tcs_input_tests.py
-index face4f19a..e36671af4 100644
 a/generated_tests/gen_tcs_input_tests.py
-+++ b/generated_tests/gen_tcs_input_tests.py
-@@ -272,7 +272,7 @@ class Test(object):
- relative probe rgb (0.75, 0.75) (0.0, 1.0, 0.0)
- """)
- 
--test = test.format(self=self, generator_command=" ".join(sys.argv))
-+test = test.format(self=self, 
generator_command="generated_tests/gen_tcs_input_tests.py")
- 
- filename = self.filename()
- dirname = os.path.dirname(filename)
-diff --git a/generated_tests/gen_tes_input_tests.py 
b/generated_tests/gen_tes_input_tests.py
-index 3d847b5cc..954840b20 100644
 a/generated_tests/gen_tes_input_tests.py
-+++ b/generated_tests/gen_tes_input_tests.py
-@@ -301,7 +301,7 @@ class Test(object):
- relative probe rgb (0.75, 0.75) (0.0, 1.0, 0.0)
- """)
- 
--test = test.format(self=self, generator_command=" ".join(sys.argv))
-+test = test.format(self=self, 
generator_command="generated_tests/gen_tes_input_tests.py")
- 
- filename = self.filename()
- dirname = os.path.dirname(filename)
--- 
-2.17.1
-
diff --git 
a/meta/recipes-graphics/piglit/piglit/0001-serializer.py-make-.gz-files-reproducible.patch
 
b/meta/recipes-graphics/piglit/piglit/0001-serializer.py-make-.gz-files-reproducible.patch
deleted file mode 100644
index a1db2987ac..00
--- 
a/meta/recipes-graphics/piglit/piglit/000

[OE-core] [PATCH 24/33] harfbuzz: upgrade 3.2.0 -> 3.3.1

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../harfbuzz/{harfbuzz_3.2.0.bb => harfbuzz_3.3.1.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/harfbuzz/{harfbuzz_3.2.0.bb => harfbuzz_3.3.1.bb} 
(95%)

diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_3.2.0.bb 
b/meta/recipes-graphics/harfbuzz/harfbuzz_3.3.1.bb
similarity index 95%
rename from meta/recipes-graphics/harfbuzz/harfbuzz_3.2.0.bb
rename to meta/recipes-graphics/harfbuzz/harfbuzz_3.3.1.bb
index 647bafc4d3..656b556d29 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_3.2.0.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_3.3.1.bb
@@ -12,7 +12,7 @@ UPSTREAM_CHECK_URI = 
"https://github.com/${BPN}/${BPN}/releases";
 UPSTREAM_CHECK_REGEX = "harfbuzz-(?P\d+(\.\d+)+).tar"
 
 SRC_URI = 
"https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.xz";
-SRC_URI[sha256sum] = 
"0ada50a1c199bb6f70843ab893c55867743a443b84d087d54df08ad883ebc2cd"
+SRC_URI[sha256sum] = 
"8c083384838f39f4a4856a6584def595b10cc071754a08d5e999293462b34296"
 
 inherit meson pkgconfig lib_package gtk-doc gobject-introspection
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161249): 
https://lists.openembedded.org/g/openembedded-core/message/161249
Mute This Topic: https://lists.openembedded.org/mt/88865304/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 25/33] mesa: upgrade 21.3.4 -> 21.3.5

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 .../mesa/{mesa-gl_21.3.4.bb => mesa-gl_21.3.5.bb}   | 0
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 meta/recipes-graphics/mesa/{mesa_21.3.4.bb => mesa_21.3.5.bb}   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/mesa/{mesa-gl_21.3.4.bb => mesa-gl_21.3.5.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_21.3.4.bb => mesa_21.3.5.bb} (100%)

diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.3.4.bb 
b/meta/recipes-graphics/mesa/mesa-gl_21.3.5.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_21.3.4.bb
rename to meta/recipes-graphics/mesa/mesa-gl_21.3.5.bb
diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 71cc3b4617..e8093f5665 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -23,7 +23,7 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://0001-v3dv-account-for-64bit-time_t-on-32bit-arches.patch \
"
 
-SRC_URI[sha256sum] = 
"77104fd4a93bce69da3b0982f8ee88ba7c4fb98cfc491a669894339cdcd4a67d"
+SRC_URI[sha256sum] = 
"d93b2a9d2464ee856d7637a07dff6b7cd950f295ad58518bb959f76882cf4a4c"
 
 UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)"
 
diff --git a/meta/recipes-graphics/mesa/mesa_21.3.4.bb 
b/meta/recipes-graphics/mesa/mesa_21.3.5.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa_21.3.4.bb
rename to meta/recipes-graphics/mesa/mesa_21.3.5.bb
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161250): 
https://lists.openembedded.org/g/openembedded-core/message/161250
Mute This Topic: https://lists.openembedded.org/mt/88865306/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 22/33] cups: upgrade 2.4.0 -> 2.4.1

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/cups/{cups_2.4.0.bb => cups_2.4.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/cups/{cups_2.4.0.bb => cups_2.4.1.bb} (51%)

diff --git a/meta/recipes-extended/cups/cups_2.4.0.bb 
b/meta/recipes-extended/cups/cups_2.4.1.bb
similarity index 51%
rename from meta/recipes-extended/cups/cups_2.4.0.bb
rename to meta/recipes-extended/cups/cups_2.4.1.bb
index 42be34c4f3..27c88f82c7 100644
--- a/meta/recipes-extended/cups/cups_2.4.0.bb
+++ b/meta/recipes-extended/cups/cups_2.4.1.bb
@@ -2,4 +2,4 @@ require cups.inc
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[sha256sum] = 
"9abecec128ca6847c5bb2d3e3d30c87b782c0697b9acf284d16fa38f80a3a6de"
+SRC_URI[sha256sum] = 
"c7339f75f8d4f2dec50c673341a45fc06b6885bb6d4366d6bf59a4e6c10ae178"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161247): 
https://lists.openembedded.org/g/openembedded-core/message/161247
Mute This Topic: https://lists.openembedded.org/mt/88865301/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 19/33] python3-cython: upgrade 0.29.26 -> 0.29.27

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/python/python-cython.inc  | 2 +-
 .../{python3-cython_0.29.26.bb => python3-cython_0.29.27.bb}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-cython_0.29.26.bb => 
python3-cython_0.29.27.bb} (100%)

diff --git a/meta/recipes-devtools/python/python-cython.inc 
b/meta/recipes-devtools/python/python-cython.inc
index 278da5ea72..aeff3e77ef 100644
--- a/meta/recipes-devtools/python/python-cython.inc
+++ b/meta/recipes-devtools/python/python-cython.inc
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=e23fadd6ceef8c618fc1c65191d846fa"
 PYPI_PACKAGE = "Cython"
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[sha256sum] = 
"af377d543a762867da11fcf6e558f7a4a535ff8693f30cce123fab10c00fa312"
+SRC_URI[sha256sum] = 
"c6a442504db906dfc13a480e96850cced994ecdc076bcf492c43515b78f70da2"
 UPSTREAM_CHECK_REGEX = "Cython-(?P.*)\.tar"
 
 inherit pypi
diff --git a/meta/recipes-devtools/python/python3-cython_0.29.26.bb 
b/meta/recipes-devtools/python/python3-cython_0.29.27.bb
similarity index 100%
rename from meta/recipes-devtools/python/python3-cython_0.29.26.bb
rename to meta/recipes-devtools/python/python3-cython_0.29.27.bb
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161244): 
https://lists.openembedded.org/g/openembedded-core/message/161244
Mute This Topic: https://lists.openembedded.org/mt/88865298/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 21/33] python3-pip: upgrade 21.3.1 -> 22.0.2

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

License-Update: copyright years

Signed-off-by: Alexander Kanavin 
---
 .../python/{python3-pip_21.3.1.bb => python3-pip_22.0.2.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-pip_21.3.1.bb => 
python3-pip_22.0.2.bb} (79%)

diff --git a/meta/recipes-devtools/python/python3-pip_21.3.1.bb 
b/meta/recipes-devtools/python/python3-pip_22.0.2.bb
similarity index 79%
rename from meta/recipes-devtools/python/python3-pip_21.3.1.bb
rename to meta/recipes-devtools/python/python3-pip_22.0.2.bb
index c893135059..e70a9556e3 100644
--- a/meta/recipes-devtools/python/python3-pip_21.3.1.bb
+++ b/meta/recipes-devtools/python/python3-pip_22.0.2.bb
@@ -2,7 +2,7 @@ SUMMARY = "The PyPA recommended tool for installing Python 
packages"
 HOMEPAGE = "https://pypi.org/project/pip";
 SECTION = "devel/python"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c4fa2b50f55649f43060fa04b0919b9b"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=63ec52baf95163b597008bb46db68030"
 
 DEPENDS += "python3 python3-setuptools-native"
 
@@ -10,7 +10,7 @@ inherit pypi setuptools3
 
 SRC_URI += "file://0001-change-shebang-to-python3.patch"
 
-SRC_URI[sha256sum] = 
"fd11ba3d0fdb4c07fbc5ecbba0b1b719809420f25038f8ee3cd913d3faa3033a"
+SRC_URI[sha256sum] = 
"27b4b70c34ec35f77947f777070d8331adbb1e444842e98e7150c288dc0caea4"
 
 do_install:append() {
 # Install as pip3 and leave pip2 as default
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161246): 
https://lists.openembedded.org/g/openembedded-core/message/161246
Mute This Topic: https://lists.openembedded.org/mt/88865300/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 20/33] python3-hypothesis: upgrade 6.36.0 -> 6.36.1

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...ython3-hypothesis_6.36.0.bb => python3-hypothesis_6.36.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.36.0.bb => 
python3-hypothesis_6.36.1.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.36.0.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.36.1.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.36.0.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.36.1.bb
index 3918d7d15c..24def74905 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.36.0.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.36.1.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
 file://test_rle.py \
 "
 
-SRC_URI[sha256sum] = 
"2b9c56faa067d660f0802679689f825bf142eec8261ab9e2e6ea916b1d8278a1"
+SRC_URI[sha256sum] = 
"46cbee9d7aed822149af75ec63d5f86cd1042df69b2e8eae17b26a56a4dda781"
 
 RDEPENDS:${PN} += " \
 python3-attrs \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161245): 
https://lists.openembedded.org/g/openembedded-core/message/161245
Mute This Topic: https://lists.openembedded.org/mt/88865299/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 18/33] mmc-utils: upgrade to latest revision

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/mmc/mmc-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb 
b/meta/recipes-devtools/mmc/mmc-utils_git.bb
index 5ccdaceb79..918c0a429c 100644
--- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
 
 SRCBRANCH ?= "master"
-SRCREV = "3969aa4804edb8aed7bcb3c958e49d0c7388b067"
+SRCREV = "fd41dca5b14df7faefdda5dc6c0bbcdc8f6facc0"
 
 PV = "0.1+git${SRCPV}"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161243): 
https://lists.openembedded.org/g/openembedded-core/message/161243
Mute This Topic: https://lists.openembedded.org/mt/88865297/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 17/33] lua: upgrade 5.4.3 -> 5.4.4

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 ...9057a5146755e737c479850f87fd0e3b6868.patch | 43 ---
 .../lua/{lua_5.4.3.bb => lua_5.4.4.bb}| 12 ++
 2 files changed, 3 insertions(+), 52 deletions(-)
 delete mode 100644 
meta/recipes-devtools/lua/lua/74d99057a5146755e737c479850f87fd0e3b6868.patch
 rename meta/recipes-devtools/lua/{lua_5.4.3.bb => lua_5.4.4.bb} (80%)

diff --git 
a/meta/recipes-devtools/lua/lua/74d99057a5146755e737c479850f87fd0e3b6868.patch 
b/meta/recipes-devtools/lua/lua/74d99057a5146755e737c479850f87fd0e3b6868.patch
deleted file mode 100644
index dcdc04837d..00
--- 
a/meta/recipes-devtools/lua/lua/74d99057a5146755e737c479850f87fd0e3b6868.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 74d99057a5146755e737c479850f87fd0e3b6868 Mon Sep 17 00:00:00 2001
-From: Roberto Ierusalimschy 
-Date: Wed, 3 Nov 2021 15:04:18 -0300
-Subject: [PATCH] Bug: C stack overflow with coroutines
-
-'coroutine.resume' did not increment counter of C calls when
-continuing execution after a protected error (that is,
-while running 'precover').

- ldo.c |  6 --
- testes/cstack.lua | 14 ++
- 2 files changed, 18 insertions(+), 2 deletions(-)
-
-Upstream-Status: Backport 
[https://github.com/lua/lua/commit/74d99057a5146755e737c479850f87fd0e3b6868.patch]
-CVE: CVE-2021-43519
-
-diff --git a/src/ldo.c b/src/ldo.c
-index d0edc8b4f..66f890364 100644
 a/src/ldo.c
-+++ b/src/ldo.c
-@@ -759,11 +759,10 @@ static void resume (lua_State *L, void *ud) {
-   StkId firstArg = L->top - n;  /* first argument */
-   CallInfo *ci = L->ci;
-   if (L->status == LUA_OK)  /* starting a coroutine? */
--ccall(L, firstArg - 1, LUA_MULTRET, 1);  /* just call its body */
-+ccall(L, firstArg - 1, LUA_MULTRET, 0);  /* just call its body */
-   else {  /* resuming from previous yield */
- lua_assert(L->status == LUA_YIELD);
- L->status = LUA_OK;  /* mark that it is running (again) */
--luaE_incCstack(L);  /* control the C stack */
- if (isLua(ci)) {  /* yielded inside a hook? */
-   L->top = firstArg;  /* discard arguments */
-   luaV_execute(L, ci);  /* just continue running Lua code */
-@@ -814,6 +813,9 @@ LUA_API int lua_resume (lua_State *L, lua_State *from, int 
nargs,
-   else if (L->status != LUA_YIELD)  /* ended with errors? */
- return resume_error(L, "cannot resume dead coroutine", nargs);
-   L->nCcalls = (from) ? getCcalls(from) : 0;
-+  if (getCcalls(L) >= LUAI_MAXCCALLS)
-+return resume_error(L, "C stack overflow", nargs);
-+  L->nCcalls++;
-   luai_userstateresume(L, nargs);
-   api_checknelems(L, (L->status == LUA_OK) ? nargs + 1 : nargs);
-   status = luaD_rawrunprotected(L, resume, &nargs);
diff --git a/meta/recipes-devtools/lua/lua_5.4.3.bb 
b/meta/recipes-devtools/lua/lua_5.4.4.bb
similarity index 80%
rename from meta/recipes-devtools/lua/lua_5.4.3.bb
rename to meta/recipes-devtools/lua/lua_5.4.4.bb
index a204242bc0..f50328ecfd 100644
--- a/meta/recipes-devtools/lua/lua_5.4.3.bb
+++ b/meta/recipes-devtools/lua/lua_5.4.4.bb
@@ -7,19 +7,13 @@ HOMEPAGE = "http://www.lua.org/";
 SRC_URI = "http://www.lua.org/ftp/lua-${PV}.tar.gz;name=tarballsrc \
file://lua.pc.in \
${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 
'http://www.lua.org/tests/lua-${PV_testsuites}-tests.tar.gz;name=tarballtest 
file://run-ptest ', '', d)} \
-   file://74d99057a5146755e737c479850f87fd0e3b6868.patch \
"
 
 # if no test suite matches PV release of Lua exactly, download the suite for 
the closest Lua release.
-PV_testsuites = "5.4.3"
+PV_testsuites = "5.4.4"
 
-SRC_URI[tarballsrc.sha256sum] = 
"f8612276169e3bfcbcfb8f226195bfc6e466fe13042f1076cbde92b7ec96bbfb"
-SRC_URI[tarballtest.sha256sum] = 
"5d29c3022897a8290f280ebe1c6853248dfa35a668e1fc02ba9c8cde4e7bf110"
-
-# remove at next version upgrade or when output changes
-# was added after intermittent repro failures poisoned the cache
-PR = "r1"
-HASHEQUIV_HASH_VERSION .= ".2"
+SRC_URI[tarballsrc.sha256sum] = 
"164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61"
+SRC_URI[tarballtest.sha256sum] = 
"04d28355cd67a2299dfe5708b55a0ff221ccb1a3907a3113cc103ccc05ac6aad"
 
 inherit pkgconfig binconfig ptest
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161242): 
https://lists.openembedded.org/g/openembedded-core/message/161242
Mute This Topic: https://lists.openembedded.org/mt/88865296/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 16/33] glib-2.0: upgrade 2.70.2 -> 2.70.3

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch  | 2 +-
 .../glib-2.0/{glib-2.0_2.70.2.bb => glib-2.0_2.70.3.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-core/glib-2.0/{glib-2.0_2.70.2.bb => glib-2.0_2.70.3.bb} 
(96%)

diff --git a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch 
b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
index 2118c7e6b9..d3bb05e669 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
@@ -1,4 +1,4 @@
-From f4b144cbcd474d5f4982e654607fd609e056b532 Mon Sep 17 00:00:00 2001
+From d4e95568151cb7a62b6a29a4d2c3f532fd55c98c Mon Sep 17 00:00:00 2001
 From: Ross Burton 
 Date: Fri, 11 Mar 2016 15:35:55 +
 Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.70.2.bb 
b/meta/recipes-core/glib-2.0/glib-2.0_2.70.3.bb
similarity index 96%
rename from meta/recipes-core/glib-2.0/glib-2.0_2.70.2.bb
rename to meta/recipes-core/glib-2.0/glib-2.0_2.70.3.bb
index df0dde5080..760f71dcda 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.70.2.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.70.3.bb
@@ -20,7 +20,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz 
\
"
 SRC_URI:append:class-native = " file://relocate-modules.patch"
 
-SRC_URI[sha256sum] = 
"0551459c85cd3da3d58ddc9016fd28be5af503f5e1615a71ba5b512ac945806f"
+SRC_URI[sha256sum] = 
"233fa4841c1e19e396db7607d58f6b75ba3313c50bf0fce07b2e3532d5eb7d46"
 
 # Find any meson cross files in FILESPATH that are relevant for the current
 # build (using siteinfo) and add them to EXTRA_OEMESON.
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161241): 
https://lists.openembedded.org/g/openembedded-core/message/161241
Mute This Topic: https://lists.openembedded.org/mt/88865295/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 15/33] ell: upgrade 0.47 -> 0.48

2022-02-02 Thread Alexander Kanavin
From: Alexander Kanavin 

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-core/ell/{ell_0.47.bb => ell_0.48.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/ell/{ell_0.47.bb => ell_0.48.bb} (89%)

diff --git a/meta/recipes-core/ell/ell_0.47.bb 
b/meta/recipes-core/ell/ell_0.48.bb
similarity index 89%
rename from meta/recipes-core/ell/ell_0.47.bb
rename to meta/recipes-core/ell/ell_0.48.bb
index 1db0065a37..737302a444 100644
--- a/meta/recipes-core/ell/ell_0.47.bb
+++ b/meta/recipes-core/ell/ell_0.48.bb
@@ -16,7 +16,7 @@ inherit autotools pkgconfig
 
 SRC_URI = 
"https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz \
"
-SRC_URI[sha256sum] = 
"4901a0baac4eb24163ceafb44fd448430361d25d8f17d89ff29f8b0b162b3eb9"
+SRC_URI[sha256sum] = 
"9894943042a5d6165d3e5cc354f92274fb1304004d02b4bee682ab6067cdbbd5"
 
 do_configure:prepend () {
 mkdir -p ${S}/build-aux
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161240): 
https://lists.openembedded.org/g/openembedded-core/message/161240
Mute This Topic: https://lists.openembedded.org/mt/88865294/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 13/33] xf86-input-libinput: update 1.2.0 -> 1.2.1

2022-02-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...86-input-libinput_1.2.0.bb => xf86-input-libinput_1.2.1.bb} | 3 ++-
 meta/recipes-graphics/xorg-driver/xorg-driver-common.inc   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_1.2.0.bb => 
xf86-input-libinput_1.2.1.bb} (67%)

diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.2.0.bb 
b/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.2.1.bb
similarity index 67%
rename from meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.2.0.bb
rename to meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.2.1.bb
index b0168df8d1..e1c47aa5e7 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.2.0.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.2.1.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a22925127bd3c827c384cedd23ed2309"
 
 DEPENDS += "libinput"
 
-SRC_URI[sha256sum] = 
"f80da3c514fe1cbf57fa1b1bd6ff97f6b0a1f87466ad89247bac59cd0a5869f6"
+XORG_DRIVER_COMPRESSOR = ".tar.xz"
+SRC_URI[sha256sum] = 
"8151db5b9ddb317c0ce92dcb62da9a8db5079e5b8a95b60abc854da21e7e971b"
 
 FILES:${PN} += "${datadir}/X11/xorg.conf.d"
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc 
b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
index 65c5e3c48a..0b1df44fe0 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
@@ -8,7 +8,8 @@ PE = "2"
 
 DEPENDS = "virtual/xserver xorgproto util-macros"
 
-SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2"
+XORG_DRIVER_COMPRESSOR ?= ".tar.bz2"
+SRC_URI = 
"${XORG_MIRROR}/individual/driver/${BPN}-${PV}${XORG_DRIVER_COMPRESSOR}"
 
 FILES:${PN} += " ${libdir}/xorg/modules/drivers/*.so"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161238): 
https://lists.openembedded.org/g/openembedded-core/message/161238
Mute This Topic: https://lists.openembedded.org/mt/88865292/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 14/33] libgpg-error: update 1.43 -> 1.44

2022-02-02 Thread Alexander Kanavin
Drop accepted patch.

Signed-off-by: Alexander Kanavin 
---
 ...not-hardcode-gnu-libc-when-generatin.patch | 27 ---
 ...gpg-error_1.43.bb => libgpg-error_1.44.bb} |  3 +--
 2 files changed, 1 insertion(+), 29 deletions(-)
 delete mode 100644 
meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch
 rename meta/recipes-support/libgpg-error/{libgpg-error_1.43.bb => 
libgpg-error_1.44.bb} (89%)

diff --git 
a/meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch
 
b/meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch
deleted file mode 100644
index ef7a7df1b8..00
--- 
a/meta/recipes-support/libgpg-error/libgpg-error/0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 7437acb228678ea5d8288b930b4f5b72c3d449ed Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Mon, 24 May 2021 11:03:42 +0200
-Subject: [PATCH] configure.ac: do not hardcode gnu libc when generating
- lock-obj
-
-This erroneously excluded e.g. musl libc.
-
-Upstream-Status: Submitted [by email to gni...@fsij.org,gnupg-de...@gnupg.org]
-Signed-off-by: Alexander Kanavin 

- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index c0aab53..6d46d13 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -603,7 +603,7 @@ if test x"$gl_use_threads" = xno; then
-   AC_MSG_NOTICE([generated src/lock-obj-pub.native.h for $host])
- elif test x$cross_compiling = xyes; then
-   case $host in
--*-*-linux-gnu*)
-+*-*-linux-*)
- AC_CHECK_TOOL(OBJDUMP, [objdump])
- if test -n "$OBJDUMP"; then
-   lock_obj_h_generated=yes
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.43.bb 
b/meta/recipes-support/libgpg-error/libgpg-error_1.44.bb
similarity index 89%
rename from meta/recipes-support/libgpg-error/libgpg-error_1.43.bb
rename to meta/recipes-support/libgpg-error/libgpg-error_1.44.bb
index fe3824b8e0..e3171f0f25 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.43.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.44.bb
@@ -17,10 +17,9 @@ UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html";
 SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
file://pkgconfig.patch \
file://0001-Do-not-fail-when-testing-config-scripts.patch \
-   
file://0001-configure.ac-do-not-hardcode-gnu-libc-when-generatin.patch \
"
 
-SRC_URI[sha256sum] = 
"a9ab83ca7acc442a5bd846a75b920285ff79bdb4e3d34aa382be88ed2c3aebaf"
+SRC_URI[sha256sum] = 
"8e3d2da7a8b9a104dd8e9212ebe8e0daf86aa838cc1314ba6bc4de8f2d8a1ff9"
 
 BINCONFIG = "${bindir}/gpg-error-config"
 
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161239): 
https://lists.openembedded.org/g/openembedded-core/message/161239
Mute This Topic: https://lists.openembedded.org/mt/88865293/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 12/33] sudo: update 1.9.8p2 -> 1.9.9

2022-02-02 Thread Alexander Kanavin
License-Update: markdown conversion, copyright years

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-extended/sudo/sudo.inc   | 2 +-
 meta/recipes-extended/sudo/{sudo_1.9.8p2.bb => sudo_1.9.9.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/sudo/{sudo_1.9.8p2.bb => sudo_1.9.9.bb} (96%)

diff --git a/meta/recipes-extended/sudo/sudo.inc 
b/meta/recipes-extended/sudo/sudo.inc
index 82040de8aa..05d030c2e9 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sudo.ws";
 BUGTRACKER = "http://www.sudo.ws/bugs/";
 SECTION = "admin"
 LICENSE = "ISC & BSD-3-Clause & BSD-2-Clause & Zlib"
-LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=b969d389e79703121cbffc9f3ea18a8b \
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=16cf60b466f3a0606427a7b624a3a670 \
 
file://plugins/sudoers/redblack.c;beginline=1;endline=46;md5=03e35317699ba00b496251e0dfe9f109
 \
 
file://lib/util/reallocarray.c;beginline=3;endline=15;md5=397dd45c7683e90b9f8bf24638cf03bf
 \
 
file://lib/util/fnmatch.c;beginline=3;endline=27;md5=004d7d2866ba1f5b41174906849d2e0f
 \
diff --git a/meta/recipes-extended/sudo/sudo_1.9.8p2.bb 
b/meta/recipes-extended/sudo/sudo_1.9.9.bb
similarity index 96%
rename from meta/recipes-extended/sudo/sudo_1.9.8p2.bb
rename to meta/recipes-extended/sudo/sudo_1.9.9.bb
index b2afd1f98c..f1c0339bb3 100644
--- a/meta/recipes-extended/sudo/sudo_1.9.8p2.bb
+++ b/meta/recipes-extended/sudo/sudo_1.9.9.bb
@@ -8,7 +8,7 @@ SRC_URI = "https://www.sudo.ws/dist/sudo-${PV}.tar.gz \
 
 PAM_SRC_URI = "file://sudo.pam"
 
-SRC_URI[sha256sum] = 
"9e3b8b8da7def43b6e60c257abe80467205670fd0f7c081de1423c414b680f2d"
+SRC_URI[sha256sum] = 
"6d6ee863a3bc26c87661093a74ec63e10fd031ceba714642d21636dfe25e3e00"
 
 DEPENDS += " virtual/crypt ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 
'libpam', '', d)}"
 RDEPENDS:${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 
'pam-plugin-limits pam-plugin-keyinit', '', d)}"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161237): 
https://lists.openembedded.org/g/openembedded-core/message/161237
Mute This Topic: https://lists.openembedded.org/mt/88865290/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 11/33] at: update 3.2.2 -> 3.2.4

2022-02-02 Thread Alexander Kanavin
Drop patch for issue fixed upstream.

Change additional source copying to be a part of do_configure
to allow automated upgrades.

Signed-off-by: Alexander Kanavin 
---
 .../at/at/fix_parallel_build_error.patch  | 37 ---
 .../at/{at_3.2.2.bb => at_3.2.4.bb}   | 24 ++--
 2 files changed, 11 insertions(+), 50 deletions(-)
 delete mode 100644 meta/recipes-extended/at/at/fix_parallel_build_error.patch
 rename meta/recipes-extended/at/{at_3.2.2.bb => at_3.2.4.bb} (81%)

diff --git a/meta/recipes-extended/at/at/fix_parallel_build_error.patch 
b/meta/recipes-extended/at/at/fix_parallel_build_error.patch
deleted file mode 100644
index e4f32b82b6..00
--- a/meta/recipes-extended/at/at/fix_parallel_build_error.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 24ef2a6544f9c7ec01bc7ae73dffa2974a1e251d Mon Sep 17 00:00:00 2001
-From: Chen Qi 
-Date: Wed, 5 Dec 2018 09:46:22 +0800
-Subject: [PATCH] fix parallel build error
-
-make -j was failing sometimesa like this
-| ccache i586-poky-linux-gcc -march=i586 
--sysroot=/home/nitin/build/build0/tmp/sysroots/i586-poky-linux -I. 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb 
-feliminate-unused-debug-types -o atd atd.o daemon.o  -lfl  -lpam -Wl,-O1 
-Wl,--as-needed
-| parsetime.l:5:19: fatal error: y.tab.h: No such file or directory
-| compilation terminated.
-| make: *** [lex.yy.o] Error 1
-| make: *** Waiting for unfinished jobs
-
-Fixed the issue by adding a dependency in the makefile.
-Nitin 
-2010/09/02
-
-Upstream-Status: Pending
-
-Signed-off-by: Scott Garman 
-Signed-off-by: Chen Qi 

- Makefile.in | 2 ++
- 1 file changed, 2 insertions(+)
-
-Index: at-3.2.1/Makefile.in
-===
 at-3.2.1.orig/Makefile.in
-+++ at-3.2.1/Makefile.in
-@@ -83,6 +83,8 @@ y.tab.c y.tab.h: parsetime.y
- lex.yy.c: parsetime.l
-   $(LEX) -i parsetime.l
- 
-+parsetime.l: y.tab.h
-+
- atd.service: atd.service.in
-   cat $< | sed -e 's![@]sbindir[@]!$(sbindir)!g' | sed -e 
's![@]atjobdir[@]!$(atjobdir)!g' > $@
- 
diff --git a/meta/recipes-extended/at/at_3.2.2.bb 
b/meta/recipes-extended/at/at_3.2.4.bb
similarity index 81%
rename from meta/recipes-extended/at/at_3.2.2.bb
rename to meta/recipes-extended/at/at_3.2.4.bb
index 14b9dace2a..af8c3d6b4c 100644
--- a/meta/recipes-extended/at/at_3.2.2.bb
+++ b/meta/recipes-extended/at/at_3.2.4.bb
@@ -23,21 +23,20 @@ RCONFLICTS:${PN} = "atd"
 RREPLACES:${PN} = "atd"
 
 SRC_URI = "http://software.calhariz.com/at/${BPN}_${PV}.orig.tar.gz \
-file://fix_parallel_build_error.patch \
-file://posixtm.c \
-file://posixtm.h \
-file://file_replacement_with_gplv2.patch \
-file://atd.init \
-file://atd.service \
-${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \
-file://makefile-fix-parallel.patch \
-file://0001-remove-glibc-assumption.patch \
-"
+   file://posixtm.c \
+   file://posixtm.h \
+   file://file_replacement_with_gplv2.patch \
+   file://atd.init \
+   file://atd.service \
+   ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', 
'', d)} \
+   file://makefile-fix-parallel.patch \
+   file://0001-remove-glibc-assumption.patch \
+   "
 
 PAM_SRC_URI = "file://pam.conf.patch \
file://configure-add-enable-pam.patch"
 
-SRC_URI[sha256sum] = 
"2211da14914fde1f9cc83592838fb6385a32fb11fcecb7816c77700df6559088"
+SRC_URI[sha256sum] = 
"76990cbb6f4b9bfedb926637904fdcc0d4fa20b6596b9c932117a49a0624c684"
 
 EXTRA_OECONF += "ac_cv_path_SENDMAIL=/bin/true \
  --with-daemon_username=root \
@@ -53,10 +52,9 @@ INITSCRIPT_PARAMS = "defaults"
 
 SYSTEMD_SERVICE:${PN} = "atd.service"
 
-copy_sources() {
+do_configure:prepend() {
cp -f ${WORKDIR}/posixtm.[ch] ${S}
 }
-do_patch[postfuncs] += "copy_sources"
 
 do_install () {
oe_runmake -e "IROOT=${D}" install
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161236): 
https://lists.openembedded.org/g/openembedded-core/message/161236
Mute This Topic: https://lists.openembedded.org/mt/88865288/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 08/33] git: build manpages from source subject to manpages PACKAGECONFIG

2022-02-02 Thread Alexander Kanavin
This allows automated updates, and better aligns with how
documentation is handled in oe-core.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/git/git_2.34.1.bb | 18 ++
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/meta/recipes-devtools/git/git_2.34.1.bb 
b/meta/recipes-devtools/git/git_2.34.1.bb
index a762ebac99..71ff6d444c 100644
--- a/meta/recipes-devtools/git/git_2.34.1.bb
+++ b/meta/recipes-devtools/git/git_2.34.1.bb
@@ -8,7 +8,6 @@ DEPENDS = "openssl curl zlib expat"
 PROVIDES:append:class-native = " git-replacement-native"
 
 SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
-   
${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages \
file://fixsort.patch \
 "
 
@@ -21,6 +20,7 @@ CVE_PRODUCT = "git-scm:git"
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[cvsserver] = ""
 PACKAGECONFIG[svn] = ""
+PACKAGECONFIG[manpages] = ",,asciidoc-native xmlto-native"
 
 EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
--without-tcltk \
@@ -29,7 +29,7 @@ EXTRA_OECONF = 
"--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
 EXTRA_OECONF:append:class-nativesdk = " --with-gitconfig=/etc/gitconfig "
 
 # Needs brokensep as this doesn't use automake
-inherit autotools-brokensep perlnative bash-completion
+inherit autotools-brokensep perlnative bash-completion manpages
 
 EXTRA_OEMAKE = "NO_PYTHON=1 CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
 EXTRA_OEMAKE += "'PERL_PATH=/usr/bin/env perl'"
@@ -40,19 +40,22 @@ do_compile:prepend () {
# Remove perl/perl.mak to fix the out-of-date perl.mak error
# during rebuild
rm -f perl/perl.mak
+
+if [ "${@bb.utils.filter('PACKAGECONFIG', 'manpages', d)}" ]; then
+oe_runmake man
+fi
 }
 
 do_install () {
oe_runmake install DESTDIR="${D}" bindir=${bindir} \
template_dir=${datadir}/git-core/templates
 
-   for section in man1 man5 man7; do
-   install -d ${D}/${mandir}/$section
-   install -t ${D}/${mandir}/$section ${WORKDIR}/$section/*
-   done
-
install -d ${D}/${datadir}/bash-completion/completions/
install -m 644 ${S}/contrib/completion/git-completion.bash 
${D}/${datadir}/bash-completion/completions/git
+
+if [ "${@bb.utils.filter('PACKAGECONFIG', 'manpages', d)}" ]; then
+oe_runmake install-man DESTDIR="${D}"
+fi
 }
 
 perl_native_fixup () {
@@ -146,4 +149,3 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
 EXTRA_OEMAKE += "NO_GETTEXT=1"
 
 SRC_URI[tarball.sha256sum] = 
"fc4eb5ecb9299db91cdd156c06cdeb41833f53adc5631ddf8c0cb13eaa2911c1"
-SRC_URI[manpages.sha256sum] = 
"220f1ed68582caeddf79c4db15e4eaa4808ec01fd11889e19232f0a74d7f31b0"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161233): 
https://lists.openembedded.org/g/openembedded-core/message/161233
Mute This Topic: https://lists.openembedded.org/mt/88865284/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 10/33] python3-pycryptodome: update 3.12.0 -> 3.14.0

2022-02-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/python/python-pycryptodome.inc | 2 +-
 meta/recipes-devtools/python/python3-pycryptodome_3.12.0.bb  | 5 -
 meta/recipes-devtools/python/python3-pycryptodome_3.14.0.bb  | 5 +
 ...cryptodomex_3.12.0.bb => python3-pycryptodomex_3.14.0.bb} | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-pycryptodome_3.12.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-pycryptodome_3.14.0.bb
 rename meta/recipes-devtools/python/{python3-pycryptodomex_3.12.0.bb => 
python3-pycryptodomex_3.14.0.bb} (69%)

diff --git a/meta/recipes-devtools/python/python-pycryptodome.inc 
b/meta/recipes-devtools/python/python-pycryptodome.inc
index 071af557ea..29fe80d224 100644
--- a/meta/recipes-devtools/python/python-pycryptodome.inc
+++ b/meta/recipes-devtools/python/python-pycryptodome.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.rst;md5=29242a70410a4eeff488a28164e7ab93"
 
 inherit pypi
 
-PYPI_PACKAGE_EXT = "zip"
+PYPI_PACKAGE_EXT = "tar.gz"
 
 RDEPENDS:${PN} += " \
 ${PYTHON_PN}-io \
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.12.0.bb 
b/meta/recipes-devtools/python/python3-pycryptodome_3.12.0.bb
deleted file mode 100644
index a732441a7a..00
--- a/meta/recipes-devtools/python/python3-pycryptodome_3.12.0.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require python-pycryptodome.inc
-inherit setuptools3
-
-SRC_URI[sha256sum] = 
"12c7343aec5a3b3df5c47265281b12b611f26ec9367b6129199d67da54b768c1"
-
diff --git a/meta/recipes-devtools/python/python3-pycryptodome_3.14.0.bb 
b/meta/recipes-devtools/python/python3-pycryptodome_3.14.0.bb
new file mode 100644
index 00..fb2f8d5ff0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pycryptodome_3.14.0.bb
@@ -0,0 +1,5 @@
+require python-pycryptodome.inc
+inherit setuptools3
+
+SRC_URI[sha256sum] = 
"ceea92a4b8ba6c50d8d70f2efbb4ea14b002dac4160ce4dda33f1b7442f8158a"
+
diff --git a/meta/recipes-devtools/python/python3-pycryptodomex_3.12.0.bb 
b/meta/recipes-devtools/python/python3-pycryptodomex_3.14.0.bb
similarity index 69%
rename from meta/recipes-devtools/python/python3-pycryptodomex_3.12.0.bb
rename to meta/recipes-devtools/python/python3-pycryptodomex_3.14.0.bb
index 5f88419ce4..b83549840d 100644
--- a/meta/recipes-devtools/python/python3-pycryptodomex_3.12.0.bb
+++ b/meta/recipes-devtools/python/python3-pycryptodomex_3.14.0.bb
@@ -1,7 +1,7 @@
 require python-pycryptodome.inc
 inherit setuptools3
 
-SRC_URI[sha256sum] = 
"922e9dac0166e4617e5c7980d2cff6912a6eb5cb5c13e7ece222438650bd7f66"
+SRC_URI[sha256sum] = 
"2d8bda8f949b79b78b293706aa7fc1e5c171c62661252bfdd5d12c70acd03282"
 
 FILES:${PN}-tests = " \
 ${PYTHON_SITEPACKAGES_DIR}/Cryptodome/SelfTest/ \
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161235): 
https://lists.openembedded.org/g/openembedded-core/message/161235
Mute This Topic: https://lists.openembedded.org/mt/88865287/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 09/33] git: update 2.34.1 -> 2.35.1

2022-02-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/git/{git_2.34.1.bb => git_2.35.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/git/{git_2.34.1.bb => git_2.35.1.bb} (98%)

diff --git a/meta/recipes-devtools/git/git_2.34.1.bb 
b/meta/recipes-devtools/git/git_2.35.1.bb
similarity index 98%
rename from meta/recipes-devtools/git/git_2.34.1.bb
rename to meta/recipes-devtools/git/git_2.35.1.bb
index 71ff6d444c..62017b98ef 100644
--- a/meta/recipes-devtools/git/git_2.34.1.bb
+++ b/meta/recipes-devtools/git/git_2.35.1.bb
@@ -148,4 +148,4 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
  "
 EXTRA_OEMAKE += "NO_GETTEXT=1"
 
-SRC_URI[tarball.sha256sum] = 
"fc4eb5ecb9299db91cdd156c06cdeb41833f53adc5631ddf8c0cb13eaa2911c1"
+SRC_URI[tarball.sha256sum] = 
"9845a37dd01f9faaa7d8aa2078399d3aea91b43819a5efea6e2877b0af09bd43"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161234): 
https://lists.openembedded.org/g/openembedded-core/message/161234
Mute This Topic: https://lists.openembedded.org/mt/88865286/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 07/33] git: merge .inc into .bb

2022-02-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/git/git.inc   | 141 ---
 meta/recipes-devtools/git/git_2.34.1.bb | 142 +++-
 2 files changed, 141 insertions(+), 142 deletions(-)
 delete mode 100644 meta/recipes-devtools/git/git.inc

diff --git a/meta/recipes-devtools/git/git.inc 
b/meta/recipes-devtools/git/git.inc
deleted file mode 100644
index 1d74270fdd..00
--- a/meta/recipes-devtools/git/git.inc
+++ /dev/null
@@ -1,141 +0,0 @@
-SUMMARY = "Distributed version control system"
-HOMEPAGE = "http://git-scm.com";
-DESCRIPTION = "Git is a free and open source distributed version control 
system designed to handle everything from small to very large projects with 
speed and efficiency."
-SECTION = "console/utils"
-LICENSE = "GPLv2"
-DEPENDS = "openssl curl zlib expat"
-
-PROVIDES:append:class-native = " git-replacement-native"
-
-SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
-   
${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages \
-   file://fixsort.patch \
-"
-
-S = "${WORKDIR}/git-${PV}"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"
-
-CVE_PRODUCT = "git-scm:git"
-
-PACKAGECONFIG ??= ""
-PACKAGECONFIG[cvsserver] = ""
-PACKAGECONFIG[svn] = ""
-
-EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
-   --without-tcltk \
-   --without-iconv \
-"
-EXTRA_OECONF:append:class-nativesdk = " --with-gitconfig=/etc/gitconfig "
-
-# Needs brokensep as this doesn't use automake
-inherit autotools-brokensep perlnative bash-completion
-
-EXTRA_OEMAKE = "NO_PYTHON=1 CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
-EXTRA_OEMAKE += "'PERL_PATH=/usr/bin/env perl'"
-EXTRA_OEMAKE += "COMPUTE_HEADER_DEPENDENCIES=no"
-EXTRA_OEMAKE:append:class-native = " NO_CROSS_DIRECTORY_HARDLINKS=1"
-
-do_compile:prepend () {
-   # Remove perl/perl.mak to fix the out-of-date perl.mak error
-   # during rebuild
-   rm -f perl/perl.mak
-}
-
-do_install () {
-   oe_runmake install DESTDIR="${D}" bindir=${bindir} \
-   template_dir=${datadir}/git-core/templates
-
-   for section in man1 man5 man7; do
-   install -d ${D}/${mandir}/$section
-   install -t ${D}/${mandir}/$section ${WORKDIR}/$section/*
-   done
-
-   install -d ${D}/${datadir}/bash-completion/completions/
-   install -m 644 ${S}/contrib/completion/git-completion.bash 
${D}/${datadir}/bash-completion/completions/git
-}
-
-perl_native_fixup () {
-   sed -i -e 's#${STAGING_BINDIR_NATIVE}/perl-native/#${bindir}/#' \
-  -e 's#${libdir}/perl-native/#${libdir}/#' \
-   ${@d.getVar("PERLTOOLS").replace(' /',d.getVar('D') + '/')}
-
-   if [ ! "${@bb.utils.filter('PACKAGECONFIG', 'cvsserver', d)}" ]; then
-   # Only install the git cvsserver command if explicitly requested
-   # as it requires the DBI Perl module, which does not exist in
-   # OE-Core.
-   rm ${D}${libexecdir}/git-core/git-cvsserver \
-  ${D}${bindir}/git-cvsserver
-   fi
-
-   if [ ! "${@bb.utils.filter('PACKAGECONFIG', 'svn', d)}" ]; then
-   # Only install the git svn command and all Git::SVN Perl modules
-   # if explicitly requested as they require the SVN::Core Perl
-   # module, which does not exist in OE-Core.
-   rm -r ${D}${libexecdir}/git-core/git-svn \
- ${D}${datadir}/perl5/Git/SVN*
-   fi
-}
-
-REL_GIT_EXEC_PATH = "${@os.path.relpath(libexecdir, bindir)}/git-core"
-REL_GIT_TEMPLATE_DIR = "${@os.path.relpath(datadir, 
bindir)}/git-core/templates"
-
-do_install:append:class-target () {
-   perl_native_fixup
-}
-
-do_install:append:class-native() {
-   create_wrapper ${D}${bindir}/git \
-   GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \
-   GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR}
-}
-
-do_install:append:class-nativesdk() {
-   create_wrapper ${D}${bindir}/git \
-   GIT_EXEC_PATH='`dirname $''realpath`'/${REL_GIT_EXEC_PATH} \
-   GIT_TEMPLATE_DIR='`dirname $''realpath`'/${REL_GIT_TEMPLATE_DIR}
-   perl_native_fixup
-}
-
-FILES:${PN} += "${datadir}/git-core ${libexecdir}/git-core/"
-
-PERLTOOLS = " \
-${bindir}/git-cvsserver \
-${libexecdir}/git-core/git-add--interactive \
-${libexecdir}/git-core/git-archimport \
-${libexecdir}/git-core/git-cvsexportcommit \
-${libexecdir}/git-core/git-cvsimport \
-${libexecdir}/git-core/git-cvsserver \
-${libexecdir}/git-core/git-send-email \
-${libexecdir}/git-core/git-svn \
-${libexecdir}/git-core/git-instaweb \
-${datadir}/gitweb/gitweb.cgi \
-${datadir}/git-core/templates/hooks/prepare-commit-msg.sample \
-${datadir}/git-core/templates/hooks/pre-rebase.sample \
-${datadir}/git-core/template

[OE-core] [PATCH 06/33] cmake: update 3.22.1 -> 3.22.2

2022-02-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../cmake/{cmake-native_3.22.1.bb => cmake-native_3.22.2.bb}| 0
 meta/recipes-devtools/cmake/cmake.inc   | 2 +-
 .../recipes-devtools/cmake/{cmake_3.22.1.bb => cmake_3.22.2.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/cmake/{cmake-native_3.22.1.bb => 
cmake-native_3.22.2.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_3.22.1.bb => cmake_3.22.2.bb} (100%)

diff --git a/meta/recipes-devtools/cmake/cmake-native_3.22.1.bb 
b/meta/recipes-devtools/cmake/cmake-native_3.22.2.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake-native_3.22.1.bb
rename to meta/recipes-devtools/cmake/cmake-native_3.22.2.bb
diff --git a/meta/recipes-devtools/cmake/cmake.inc 
b/meta/recipes-devtools/cmake/cmake.inc
index 628734ac73..9276db3c56 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -21,7 +21,7 @@ SRC_URI = 
"https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch 
\
 "
 
-SRC_URI[sha256sum] = 
"0e998229549d7b3f368703d20e248e7ee1f853910d42704aa87918c213ea82c0"
+SRC_URI[sha256sum] = 
"3c1c478b9650b107d452c5bd545c72e2fad4e37c09b89a1984b9a2f46df6aced"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/cmake/cmake_3.22.1.bb 
b/meta/recipes-devtools/cmake/cmake_3.22.2.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake_3.22.1.bb
rename to meta/recipes-devtools/cmake/cmake_3.22.2.bb
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161231): 
https://lists.openembedded.org/g/openembedded-core/message/161231
Mute This Topic: https://lists.openembedded.org/mt/88865282/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 05/33] util-linux: update 2.37.2 -> 2.37.3

2022-02-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...til-linux-libuuid_2.37.2.bb => util-linux-libuuid_2.37.3.bb} | 0
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 .../util-linux/{util-linux_2.37.2.bb => util-linux_2.37.3.bb}   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/util-linux/{util-linux-libuuid_2.37.2.bb => 
util-linux-libuuid_2.37.3.bb} (100%)
 rename meta/recipes-core/util-linux/{util-linux_2.37.2.bb => 
util-linux_2.37.3.bb} (100%)

diff --git a/meta/recipes-core/util-linux/util-linux-libuuid_2.37.2.bb 
b/meta/recipes-core/util-linux/util-linux-libuuid_2.37.3.bb
similarity index 100%
rename from meta/recipes-core/util-linux/util-linux-libuuid_2.37.2.bb
rename to meta/recipes-core/util-linux/util-linux-libuuid_2.37.3.bb
diff --git a/meta/recipes-core/util-linux/util-linux.inc 
b/meta/recipes-core/util-linux/util-linux.inc
index 1e3cd28801..0309332722 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -37,4 +37,4 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
file://avoid_parallel_tests.patch \
"
 
-SRC_URI[sha256sum] = 
"6a0764c1aae7fb607ef8a6dd2c0f6c47d5e5fd27aa08820abaad9ec14e28e9d9"
+SRC_URI[sha256sum] = 
"590c592e58cd6bf38519cb467af05ce6a1ab18040e3e3418f24bcfb2f55f9776"
diff --git a/meta/recipes-core/util-linux/util-linux_2.37.2.bb 
b/meta/recipes-core/util-linux/util-linux_2.37.3.bb
similarity index 100%
rename from meta/recipes-core/util-linux/util-linux_2.37.2.bb
rename to meta/recipes-core/util-linux/util-linux_2.37.3.bb
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161230): 
https://lists.openembedded.org/g/openembedded-core/message/161230
Mute This Topic: https://lists.openembedded.org/mt/88865281/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 04/33] connman: update 1.40 -> 1.41

2022-02-02 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0002-resolve-musl-does-not-implement-res_ninit.patch| 2 +-
 .../connman/{connman_1.40.bb => connman_1.41.bb}| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/connman/{connman_1.40.bb => connman_1.41.bb} 
(85%)

diff --git 
a/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
 
b/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
index 9dca21a02f..63a8fa81b1 100644
--- 
a/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
+++ 
b/meta/recipes-connectivity/connman/connman/0002-resolve-musl-does-not-implement-res_ninit.patch
@@ -1,4 +1,4 @@
-From 01974865e4d331eeaf25248bee1bb96539c450d9 Mon Sep 17 00:00:00 2001
+From f2e6254a48fc0bb41b1617b7832aed4977230cf9 Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Mon, 6 Apr 2015 23:02:21 -0700
 Subject: [PATCH] resolve: musl does not implement res_ninit
diff --git a/meta/recipes-connectivity/connman/connman_1.40.bb 
b/meta/recipes-connectivity/connman/connman_1.41.bb
similarity index 85%
rename from meta/recipes-connectivity/connman/connman_1.40.bb
rename to meta/recipes-connectivity/connman/connman_1.41.bb
index edb23a1267..736b78eaeb 100644
--- a/meta/recipes-connectivity/connman/connman_1.40.bb
+++ b/meta/recipes-connectivity/connman/connman_1.41.bb
@@ -9,7 +9,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
 
 SRC_URI:append:libc-musl = " 
file://0002-resolve-musl-does-not-implement-res_ninit.patch"
 
-SRC_URI[sha256sum] = 
"1a57ae7ce234aa3a1744aac3be5c2121d98dce999440ef8ab9cc4edfd5edcb12"
+SRC_URI[sha256sum] = 
"79fb40f4fdd5530c45aa8e592fb16ba23d3674f3a98cf10b89a6576f198de589"
 
 RRECOMMENDS:${PN} = "connman-conf"
 RCONFLICTS:${PN} = "networkmanager"
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161229): 
https://lists.openembedded.org/g/openembedded-core/message/161229
Mute This Topic: https://lists.openembedded.org/mt/88865278/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 03/33] gdb: update 11.1 -> 11.2

2022-02-02 Thread Alexander Kanavin
Simplyfy .inc structure: merge gdb.inc into gdb_11.2.bb, rename
gdb-${PV}.inc to gdb.inc. This will allow easier automatic updates.

Drop upstreamed patch.

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/gdb/gdb-11.1.inc|  19 --
 ...ian_11.1.bb => gdb-cross-canadian_11.2.bb} |   2 +-
 .../{gdb-cross_11.1.bb => gdb-cross_11.2.bb}  |   2 +-
 meta/recipes-devtools/gdb/gdb.inc |  27 +-
 ...erver-register-set-selection-dynamic.patch | 317 --
 .../gdb/{gdb_11.1.bb => gdb_11.2.bb}  |  13 +-
 6 files changed, 31 insertions(+), 349 deletions(-)
 delete mode 100644 meta/recipes-devtools/gdb/gdb-11.1.inc
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_11.1.bb => 
gdb-cross-canadian_11.2.bb} (71%)
 rename meta/recipes-devtools/gdb/{gdb-cross_11.1.bb => gdb-cross_11.2.bb} (50%)
 delete mode 100644 
meta/recipes-devtools/gdb/gdb/0011-AArch64-Make-gdbserver-register-set-selection-dynamic.patch
 rename meta/recipes-devtools/gdb/{gdb_11.1.bb => gdb_11.2.bb} (80%)

diff --git a/meta/recipes-devtools/gdb/gdb-11.1.inc 
b/meta/recipes-devtools/gdb/gdb-11.1.inc
deleted file mode 100644
index 5364a880e3..00
--- a/meta/recipes-devtools/gdb/gdb-11.1.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-LICENSE = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
-LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
-   file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
-   file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
-   file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
-
-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
-   file://0001-make-man-install-relative-to-DESTDIR.patch \
-   file://0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
-   
file://0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
-   
file://0005-Dont-disable-libreadline.a-when-using-disable-static.patch \
-   file://0006-use-asm-sgidefs.h.patch \
-   file://0007-Change-order-of-CFLAGS.patch \
-   file://0008-resolve-restrict-keyword-conflict.patch \
-   file://0009-Fix-invalid-sigprocmask-call.patch \
-   file://0010-gdbserver-ctrl-c-handling.patch \
-   
file://0011-AArch64-Make-gdbserver-register-set-selection-dynamic.patch \
-   "
-SRC_URI[sha256sum] = 
"cccfcc407b20d343fb320d4a9a2110776dd3165118ffd41f4b1b162340333f94"
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_11.1.bb 
b/meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb
similarity index 71%
rename from meta/recipes-devtools/gdb/gdb-cross-canadian_11.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb
index 301035940c..4ab2b7156d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian_11.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_11.2.bb
@@ -1,3 +1,3 @@
 require gdb-common.inc
 require gdb-cross-canadian.inc
-require gdb-${PV}.inc
+require gdb.inc
diff --git a/meta/recipes-devtools/gdb/gdb-cross_11.1.bb 
b/meta/recipes-devtools/gdb/gdb-cross_11.2.bb
similarity index 50%
rename from meta/recipes-devtools/gdb/gdb-cross_11.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross_11.2.bb
index 50cf159fdb..3b654a2f0d 100644
--- a/meta/recipes-devtools/gdb/gdb-cross_11.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross_11.2.bb
@@ -1,2 +1,2 @@
 require gdb-cross.inc
-require gdb-${PV}.inc
+require gdb.inc
diff --git a/meta/recipes-devtools/gdb/gdb.inc 
b/meta/recipes-devtools/gdb/gdb.inc
index 2c95ed3ca0..cf801b192b 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -1,11 +1,18 @@
-require gdb-common.inc
-
-inherit gettext pkgconfig
-
-#LDFLAGS:append = " -s"
-#export CFLAGS:append=" -L${STAGING_LIBDIR}"
-
-# cross-canadian must not see this
-PACKAGES =+ "gdbserver"
-FILES:gdbserver = "${bindir}/gdbserver"
+LICENSE = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+   file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
+   file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
+   file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
 
+SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.xz \
+   file://0001-make-man-install-relative-to-DESTDIR.patch \
+   file://0002-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
+   
file://0003-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
+   
file://0005-Dont-disable-libreadline.a-when-using-disable-static.patch \
+   file://0006-use-asm-sgidefs.h.patch \
+   file://0007-Change-order-of-CFLAGS.patch \
+   file://0008-resolve-restrict-keyword-conflict.patch \
+   file://0009-Fix-invalid-sigprocmask-call.patch \
+   file://0010-gdbserver-ctrl-c-handling.patch \
+   "
+SRC_URI[sha256sum] = 
"1497c36a71881b8671a9a84a0ee40faab788ca30d7ba19d8463c3cc787152e32"

[OE-core] [PATCH 02/33] weston: upgrade 9.0.0 -> 10.0.0

2022-02-02 Thread Alexander Kanavin
Release announcement with changes:
https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html

Upstream has deprecated both weston-launch and fbdev backend, so let's
not delay the inevitable and find replacements.

Fbdev can be replaced by passing --use-pixman to drm backend;
this will bypass the opengl paths and use CPU for rendering.
Apply where GL is too slow or unavailable.

weston-launch can be replaced by starting weston directly, with
a seat management daemon for support. This is provided either
by systemd, or on systemd-less systems, by seatd. The sysvinit
startup scripts and tests have been rewritten accordingly. Bonus
fix: under sysvinit weston now starts under weston user as it should,
and not under root.

Upstream discussion:
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725

License-Update: copyright years

Signed-off-by: Alexander Kanavin 
---
 meta/lib/oeqa/runtime/cases/weston.py |   6 +-
 .../recipes-graphics/wayland/weston-init/init |   2 +-
 .../wayland/weston-init/weston-start  |  30 +--
 ...d-drm-Re-order-gbm-destruction-at-DR.patch |  50 -
 ...001-meson.build-fix-incorrect-header.patch |  32 ---
 ...ntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch |  47 -
 ...ovide-a-default-version-that-doesn-t.patch | 199 --
 .../weston/dont-use-plane-add-prop.patch  |  13 +-
 .../{weston_9.0.0.bb => weston_10.0.0.bb} |  27 ++-
 9 files changed, 29 insertions(+), 377 deletions(-)
 delete mode 100644 
meta/recipes-graphics/wayland/weston/0001-libweston-backend-drm-Re-order-gbm-destruction-at-DR.patch
 delete mode 100644 
meta/recipes-graphics/wayland/weston/0001-meson.build-fix-incorrect-header.patch
 delete mode 100644 
meta/recipes-graphics/wayland/weston/0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch
 delete mode 100644 
meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
 rename meta/recipes-graphics/wayland/{weston_9.0.0.bb => weston_10.0.0.bb} 
(86%)

diff --git a/meta/lib/oeqa/runtime/cases/weston.py 
b/meta/lib/oeqa/runtime/cases/weston.py
index b3a7c2776d..b81cc299ef 100644
--- a/meta/lib/oeqa/runtime/cases/weston.py
+++ b/meta/lib/oeqa/runtime/cases/weston.py
@@ -10,7 +10,7 @@ import threading
 import time
 
 class WestonTest(OERuntimeTestCase):
-weston_log_file = '/tmp/weston.log'
+weston_log_file = '/tmp/weston-2.log'
 
 @classmethod
 def tearDownClass(cls):
@@ -31,13 +31,13 @@ class WestonTest(OERuntimeTestCase):
 return output.split(" ")
 
 def get_weston_command(self, cmd):
-return 'export XDG_RUNTIME_DIR=/run/user/0; export 
WAYLAND_DISPLAY=wayland-0; %s' % cmd
+return 'export XDG_RUNTIME_DIR=/run/user/`id -u weston`; export 
WAYLAND_DISPLAY=wayland-1; %s' % cmd
 
 def run_weston_init(self):
 if 'systemd' in self.tc.td['VIRTUAL-RUNTIME_init_manager']:
 self.target.run('systemd-run --collect --unit=weston-ptest.service 
--uid=0 -p PAMName=login -p TTYPath=/dev/tty6 -E XDG_RUNTIME_DIR=/tmp -E 
WAYLAND_DISPLAY=wayland-0 /usr/bin/weston --socket=wayland-1 --log=%s' % 
self.weston_log_file)
 else:
-self.target.run(self.get_weston_command('openvt -- weston 
--socket=wayland-1 --log=%s' % self.weston_log_file))
+self.target.run(self.get_weston_command('openvt -- weston 
--socket=wayland-2 --log=%s' % self.weston_log_file))
 
 def get_new_wayland_processes(self, existing_wl_processes):
 try_cnt = 0
diff --git a/meta/recipes-graphics/wayland/weston-init/init 
b/meta/recipes-graphics/wayland/weston-init/init
index a849f29bcb..d3b0d1873e 100644
--- a/meta/recipes-graphics/wayland/weston-init/init
+++ b/meta/recipes-graphics/wayland/weston-init/init
@@ -32,7 +32,7 @@ case "$1" in
 . /etc/profile
export HOME=ROOTHOME
 
-weston-start -- $OPTARGS
+WESTON_USER=weston weston-start $OPTARGS &
   ;;
 
   stop)
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start 
b/meta/recipes-graphics/wayland/weston-init/weston-start
index 0f1bc4c29d..01670cd4f5 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -6,7 +6,7 @@ export PATH="/sbin:/usr/sbin:/bin:/usr/bin"
 
 usage() {
cat <] [-- ]
+   $0 []
 EOF
 }
 
@@ -18,11 +18,6 @@ add_weston_argument() {
weston_args="$weston_args $1"
 }
 
-# Add openvt extra argument
-add_openvt_argument() {
-   openvt_args="$openvt_args $1"
-
-}
 ## Add module to --modules argument
 add_weston_module() {
if [[ "x${weston_modules}" == "x" ]]; then
@@ -37,33 +32,12 @@ if [ -n "$WAYLAND_DISPLAY" ]; then
 fi
 
 if [ -n "$WESTON_USER" ]; then
-   if [ -z "$WESTON_TTY" ]; then
-   echo "ERROR: If you have WESTON_USER variable set, you also 
need WESTON_TTY."
-   exit 1
-   fi
if [ -z "$WESTON_GROUP" ]; then
# no explicit WES

[OE-core] [PATCH 01/33] seatd: add recipe

2022-02-02 Thread Alexander Kanavin
This is needed to run weston properly as non-root in the absence
of systemd-logind, and other compositors will likely require seatd
as well.

Signed-off-by: Alexander Kanavin 
---
 meta/conf/distro/include/maintainers.inc |  1 +
 meta/recipes-core/seatd/seatd/init   | 45 
 meta/recipes-core/seatd/seatd_0.6.3.bb   | 29 +++
 3 files changed, 75 insertions(+)
 create mode 100644 meta/recipes-core/seatd/seatd/init
 create mode 100644 meta/recipes-core/seatd/seatd_0.6.3.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index ae25287c11..cb289a0eee 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -684,6 +684,7 @@ RECIPE_MAINTAINER:pn-rxvt-unicode = "Unassigned 
"
 RECIPE_MAINTAINER:pn-sato-screenshot = "Ross Burton "
 RECIPE_MAINTAINER:pn-sbc = "Unassigned "
 RECIPE_MAINTAINER:pn-screen = "Anuj Mittal "
+RECIPE_MAINTAINER:pn-seatd = "Alexander Kanavin "
 RECIPE_MAINTAINER:pn-sed = "Chen Qi "
 RECIPE_MAINTAINER:pn-serf = "Anuj Mittal "
 RECIPE_MAINTAINER:pn-setserial = "Yi Zhao "
diff --git a/meta/recipes-core/seatd/seatd/init 
b/meta/recipes-core/seatd/seatd/init
new file mode 100644
index 00..0589c765ac
--- /dev/null
+++ b/meta/recipes-core/seatd/seatd/init
@@ -0,0 +1,45 @@
+#!/bin/sh
+#
+### BEGIN INIT INFO
+# Provides: seatd
+# Required-Start: $local_fs $remote_fs
+# Required-Stop: $local_fs $remote_fs
+# Default-Start: 2 3 4 5
+# Default-Stop:  0 1 6
+### END INIT INFO
+
+killproc() {
+pid=`/bin/pidof $1`
+[ "$pid" != "" ] && kill $pid
+}
+
+case "$1" in
+  start)
+seatd -g video -n 1 > /tmp/seatd-start-notify &
+[ -s /tmp/seatd-start-notify ] && exit 0
+sleep 0.1
+[ -s /tmp/seatd-start-notify ] && exit 0
+sleep 0.5
+[ -s /tmp/seatd-start-notify ] && exit 0
+sleep 5
+[ -s /tmp/seatd-start-notify ] && exit 0
+exit 1
+  ;;
+
+  stop)
+echo "Stopping seatd"
+killproc seatd
+  ;;
+
+  restart)
+   $0 stop
+sleep 1
+$0 start
+  ;;
+
+  *)
+echo "usage: $0 { start | stop | restart }"
+  ;;
+esac
+
+exit 0
diff --git a/meta/recipes-core/seatd/seatd_0.6.3.bb 
b/meta/recipes-core/seatd/seatd_0.6.3.bb
new file mode 100644
index 00..0e1a79dddf
--- /dev/null
+++ b/meta/recipes-core/seatd/seatd_0.6.3.bb
@@ -0,0 +1,29 @@
+SUMMARY = "A minimal seat management daemon, and a universal seat management 
library."
+DESCRIPTION = "Seat management takes care of mediating access to shared 
devices (graphics, input), without requiring the applications needing access to 
be root."
+HOMEPAGE = "https://git.sr.ht/~kennylevinsen/seatd";
+
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=715a99d2dd552e6188e74d4ed2914d5a"
+
+SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master \
+   file://init"
+SRCREV = "88db55f6068c1c01d85b61aa6adff0a6b2a8dce8"
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig update-rc.d
+
+PACKAGECONFIG ?= "libseat-builtin"
+
+PACKAGECONFIG[libseat-builtin] = 
"-Dlibseat-builtin=enabled,-Dlibseat-builtin=disabled"
+
+do_install:append() {
+if [ "${VIRTUAL-RUNTIME_init_manager}" != "systemd" ]; then
+install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/seatd
+fi
+}
+
+INITSCRIPT_NAME = "seatd"
+INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
+INHIBIT_UPDATERCD_BBCLASS = 
"${@oe.utils.conditional('VIRTUAL-RUNTIME_init_manager', 'systemd', '1', '', 
d)}"
+
-- 
2.20.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161226): 
https://lists.openembedded.org/g/openembedded-core/message/161226
Mute This Topic: https://lists.openembedded.org/mt/88865275/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 05/12] gstreamer1.0-plugins-ugly: 1.18.5 -> 1.19.90

2022-02-02 Thread Jose Quaresma
Hi Claudius,

Claudius Heine  escreveu no dia quarta, 2/02/2022 à(s) 13:43:

> Feature `gpl` was added, which allows building gpl licensed codecs.
>
> Signed-off-by: Claudius Heine 
> ---
>  ...s-ugly_1.18.5.bb => gstreamer1.0-plugins-ugly_1.19.90.bb} | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>  rename meta/recipes-multimedia/gstreamer/{
> gstreamer1.0-plugins-ugly_1.18.5.bb =>
> gstreamer1.0-plugins-ugly_1.19.90.bb} (89%)
>
> diff --git a/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-ugly_1.18.5.bb b/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-ugly_1.19.90.bb
> similarity index 89%
> rename from meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-ugly_1.18.5.bb
> rename to meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-ugly_1.19.90.bb
> index 9777aaee19..53d8d0ed07 100644
> --- a/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-ugly_1.18.5.bb
> +++ b/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-ugly_1.19.90.bb
> @@ -13,7 +13,7 @@ LICENSE_FLAGS = "commercial"
>  SRC_URI = " \
>
> https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
> \
>  "
> -SRC_URI[sha256sum] =
> "df32803e98f8a9979373fa2ca7e05e62f977b1097576d3a80619d9f5c69f66d9"
> +SRC_URI[sha256sum] =
> "5242a42c3fad209030bd2e8630b08ae93821384c2278965764a039d31ab2a246"
>
>  S = "${WORKDIR}/gst-plugins-ugly-${PV}"
>
> @@ -23,7 +23,7 @@ GST_PLUGIN_SET_HAS_EXAMPLES = "0"
>
>  PACKAGECONFIG ??= " \
>  ${GSTREAMER_ORC} \
> -a52dec mpeg2dec \
> +a52dec mpeg2dec gpl \
>

This will require commercial licence support
https://docs.yoctoproject.org/dev-manual/common-tasks.html?highlight=license_flags#enabling-commercially-licensed-recipes


>  "
>
>  PACKAGECONFIG[a52dec]   = "-Da52dec=enabled,-Da52dec=disabled,liba52"
> @@ -33,6 +33,7 @@ PACKAGECONFIG[cdio] =
> "-Dcdio=enabled,-Dcdio=disabled,libcdio"
>  PACKAGECONFIG[dvdread]  =
> "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
>  PACKAGECONFIG[mpeg2dec] =
> "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
>  PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
> +PACKAGECONFIG[gpl]  = "-Dgpl=enabled,-Dgpl=disabled"
>
>  EXTRA_OEMESON += " \
>  -Ddoc=disabled \
> --
> 2.34.1
>
>

-- 
Best regards,

José Quaresma

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161225): 
https://lists.openembedded.org/g/openembedded-core/message/161225
Mute This Topic: https://lists.openembedded.org/mt/88858022/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 04/12] gstreamer1.0-plugins-bad: 1.18.5 -> 1.19.90

2022-02-02 Thread Jose Quaresma
Hi, Claudius

There are some new options on the gstreamer bad that are not updated on
this patch.
more precisely what will be done to use the new gpl option ?

# License-related feature options
option('gpl', type: 'feature', value: 'disabled', yield: true,
  description: 'Allow build plugins that have (A)GPL-licensed dependencies')


Claudius Heine  escreveu no dia quarta, 2/02/2022 à(s) 13:43:

> Features `libmms` and `ofa` where removed upstream.
>
> Patches where rebased.
>
> Signed-off-by: Claudius Heine 
> ---
>  ...missing-opencv-data-dir-in-yocto-buil.patch | 17 -
>  .../0005-msdk-fix-includedir-path.patch| 18 +-
>  bb => gstreamer1.0-plugins-bad_1.19.90.bb} |  4 +---
>  3 files changed, 18 insertions(+), 21 deletions(-)
>  rename meta/recipes-multimedia/gstreamer/{
> gstreamer1.0-plugins-bad_1.18.5.bb => gstreamer1.0-plugins-bad_1.19.90.bb}
> (97%)
>
> diff --git
> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
> index b816709066..2b9854b45e 100644
> ---
> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
> +++
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
> @@ -19,31 +19,30 @@ diff --git a/ext/opencv/meson.build
> b/ext/opencv/meson.build
>  index 0b0b3fc..0ed3344 100644
>  --- a/ext/opencv/meson.build
>  +++ b/ext/opencv/meson.build
> -@@ -78,20 +78,21 @@ else
> +@@ -84,20 +84,21 @@ if not opencv_found
>   endif
>
>   if opencv_found
>  +  pkgconf_sysroot = run_command(python3, '-c', 'import os;
> print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
> -   opencv_prefix = opencv_dep.get_pkgconfig_variable('prefix')
> +   opencv_prefix = opencv_dep.get_variable('prefix')
> gstopencv_cargs += ['-DOPENCV_PREFIX="' + opencv_prefix + '"']
>
> # Check the data dir used by opencv for its xml data files
> # Use prefix from pkg-config to be compatible with cross-compilation
> --  r = run_command('test', '-d', opencv_prefix + '/share/opencv')
> -+  r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix +
> '/share/opencv')
> +-  r = run_command('test', '-d', opencv_prefix + '/share/opencv', check:
> false)
> ++  r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix +
> '/share/opencv', check: false)
> if r.returncode() == 0
>   gstopencv_cargs += '-DOPENCV_PATH_NAME="opencv"'
> else
> --r = run_command('test', '-d', opencv_prefix + '/share/OpenCV')
> -+r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix +
> '/share/OpenCV')
> +-r = run_command('test', '-d', opencv_prefix + '/share/OpenCV',
> check: false)
> ++r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix +
> '/share/OpenCV', check: false)
>   if r.returncode() == 0
> gstopencv_cargs += '-DOPENCV_PATH_NAME="OpenCV"'
>   else
> --  r = run_command('test', '-d', opencv_prefix + '/share/opencv4')
> -+  r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix +
> '/share/opencv4')
> +-  r = run_command('test', '-d', opencv_prefix + '/share/opencv4',
> check: false)
> ++  r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix +
> '/share/opencv4', check: false)
> if r.returncode() == 0
>   gstopencv_cargs += '-DOPENCV_PATH_NAME="opencv4"'
> else
>  --
>  2.28.0
> -
> diff --git
> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
> index cb3bb7d361..5a89be79d0 100644
> ---
> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
> +++
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
> @@ -16,16 +16,16 @@ diff --git a/sys/msdk/meson.build
> b/sys/msdk/meson.build
>  index 6346c9451..068f38548 100644
>  --- a/sys/msdk/meson.build
>  +++ b/sys/msdk/meson.build
> -@@ -40,7 +40,9 @@ endif
> +@@ -46,7 +46,9 @@ if mfx_api != 'oneVPL'
> +   mfx_dep = dependency('libmfx', version: ['>= 1.0', '<= 1.99'],
> required: false)
>
> - mfx_dep = dependency('libmfx', required: false)
> - if mfx_dep.found()
> -+  pkgconf_sysroot = run_command(python3, '-c', 'import os;
> print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
> -   mfx_incdir = mfx_dep.get_pkgconfig_variable('includedir')
> -+  mfx_incdir = pkgconf_sysroot +  mfx_incdir
> -   mfx_inc = []
> - else
> -   # Old versions of MediaSDK don't provide a pkg-config file
> +   if mfx_dep.found()
> ++pkgconf_sysroot = run_command(python3, '-c', 'import os;
> print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip

Re: [OE-core] [PATCH 02/12] gstreamer1.0-plugins-base: 1.18.5 -> 1.19.90

2022-02-02 Thread Jose Quaresma
Hi,

Claudius Heine  escreveu no dia quarta, 2/02/2022 à(s) 13:42:

> Signed-off-by: Claudius Heine 
> ---
>  ...004-glimagesink-Downrank-to-marginal.patch | 32 ---
>  ...b => gstreamer1.0-plugins-base_1.19.90.bb} |  5 ++-
>  2 files changed, 2 insertions(+), 35 deletions(-)
>  delete mode 100644
> meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
>  rename meta/recipes-multimedia/gstreamer/{
> gstreamer1.0-plugins-base_1.18.5.bb =>
> gstreamer1.0-plugins-base_1.19.90.bb} (94%)
>
> diff --git
> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
> b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
> deleted file mode 100644
> index f45ea65ef3..00
> ---
> a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -From 79841a02ee754eba736cb32aaf2ed2b2fc0483d4 Mon Sep 17 00:00:00 2001
> -From: Alexander Kanavin 
> -Date: Thu, 24 Sep 2015 19:47:32 +0300
> -Subject: [PATCH 4/4] glimagesink: Downrank to marginal
> -
> -On desktop, where there is good OpenGL, xvimagesink will come up first,
> -on other platforms, OpenGL can't be trusted because it's either software
> (like
> -in a VM) or broken (like on embedded)., so let ximagesink come above.
> -
> -Upstream-Status: Submitted [
> https://bugzilla.gnome.org/show_bug.cgi?id=751684]
> -
> -Signed-off-by: Alexander Kanavin 
> 
> - ext/gl/gstopengl.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/ext/gl/gstopengl.c b/ext/gl/gstopengl.c
> -index 302e845..463be9c 100644
>  a/ext/gl/gstopengl.c
> -+++ b/ext/gl/gstopengl.c
> -@@ -127,7 +127,7 @@ plugin_init (GstPlugin * plugin)
> - #endif
> -
> -   if (!gst_element_register (plugin, "glimagesink",
> --  GST_RANK_SECONDARY, gst_gl_image_sink_bin_get_type ())) {
> -+  GST_RANK_MARGINAL, gst_gl_image_sink_bin_get_type ())) {
> - return FALSE;
> -   }
> -
> ---
> -2.28.0
> -
> diff --git a/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-base_1.18.5.bb b/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-base_1.19.90.bb
> similarity index 94%
> rename from meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-base_1.18.5.bb
> rename to meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-base_1.19.90.bb
> index 180241828f..5b02d4565a 100644
> --- a/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-base_1.18.5.bb
> +++ b/meta/recipes-multimedia/gstreamer/
> gstreamer1.0-plugins-base_1.19.90.bb
> @@ -4,15 +4,14 @@ DESCRIPTION = "'Base' GStreamer plugins and helper
> libraries"
>  HOMEPAGE = "https://gstreamer.freedesktop.org/";
>  BUGTRACKER = "
> https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues";
>  LICENSE = "GPLv2+ & LGPLv2+"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770"
>
>  SRC_URI = "
> https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz
> \
>
> file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \
> file://0003-viv-fb-Make-sure-config.h-is-included.patch \
> file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch \
> -   file://0004-glimagesink-Downrank-to-marginal.patch \
>

Why is this patch dropped? As Far as I know it is not merged upstream.


> "
> -SRC_URI[sha256sum] =
> "960b7af4585700db0fdd5b843554e11e2564fed9e061f591fae88a7be6446fa3"
> +SRC_URI[sha256sum] =
> "667c5cbfae1873c8291b5911bedbf20ce92ee607b8b1b3d37120ed54e452db00"
>
>  S = "${WORKDIR}/gst-plugins-base-${PV}"
>
> --
> 2.34.1
>
>

-- 
Best regards,

José Quaresma

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161223): 
https://lists.openembedded.org/g/openembedded-core/message/161223
Mute This Topic: https://lists.openembedded.org/mt/88858012/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] scripts/runqemu-ifdown: Don't treat the last iptables command as special

2022-02-02 Thread Daniel Mueller via lists.openembedded.org
The runqemu-ifup script performs a bunch of setup steps that
runqemu-ifdown attempts to undo later on. While a bunch of said setup
operations are considered fatal should they fail, the iptables based NAT
setup notably is not.
The tear down procedure in runqemu-ifdown, however, has the iptables
based tear down as the last operation, with the status of it determining
the overall status of the script. Hence, if this step fails, the script
is considered a failure overall. That is arguably inconsistent: If the
NAT setup did not succeed, the tear down cannot succeed either.
To ensure similarity of the two paths, let's not treat the last iptables
tear down operation any special and allow it to fail the runqemu-ifdown
script, but just ignore failures.

Background: we have seen a NAT related setup problem on the ifup path
(which didn't cause script failure), but then saw an issue bubbled up
when this operation was meant to be undone on the ifdown path.

Signed-off-by: Daniel Müller 
---
 scripts/runqemu-ifdown | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/runqemu-ifdown b/scripts/runqemu-ifdown
index a104c3..e0eb53 100755
--- a/scripts/runqemu-ifdown
+++ b/scripts/runqemu-ifdown
@@ -64,3 +64,4 @@ n=$[ (`echo $TAP | sed 's/tap//'` * 2) + 1 ]
 dest=$[ (`echo $TAP | sed 's/tap//'` * 2) + 2 ]
 $IPTABLES -D POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$n/32
 $IPTABLES -D POSTROUTING -t nat -j MASQUERADE -s 192.168.7.$dest/32
+true
--
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161222): 
https://lists.openembedded.org/g/openembedded-core/message/161222
Mute This Topic: https://lists.openembedded.org/mt/88863551/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [hardknott] qemu CVE backports

2022-02-02 Thread Sakib Sajal

Hi Anuj,

The patches did go through. However, the patches are sent in two 
different threads, the first patch in one thread and patches 2 to 8 in 
another thread. Please merge the commits accordingly.


Sorry for the noise.

Sakib

On 2022-02-02 11:21, Sakib Sajal wrote:

Hi,

I am having trouble sending multiple patches at a time. I will 
individually send the patches in reply to this mail.


Sorry for the inconvenience.

Sakib





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161221): 
https://lists.openembedded.org/g/openembedded-core/message/161221
Mute This Topic: https://lists.openembedded.org/mt/88861937/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] rng-tools: add systemd-udev-settle wants to service

2022-02-02 Thread bkylerussell
Thanks, Claudius.

On Wed, Feb 2, 2022 at 8:08 AM Claudius Heine  wrote:

> Hi Kyle,
>
> On 2022-02-02 13:38, Kyle Russell wrote:
> > Is this the correct approach?  Even the systemd-udev-settle.service man
> > pages recommends not using its service.  Were the kernel modules really
> > not loaded when rngd started?  Or is the original problem just a matter
> > of waiting for sufficient entropy?
>
> IIRC, the rngd could not find any random source device node (/dev/hwrng
> in that case), so the service failed to start.
>

If /dev/hwrng didn't exist, this feels like the original problem was a
misconfigured
kernel or module that wasn't being loaded properly.


> The patch you are commenting on only adds `Wants` weak dependency to
> make sure `systemd-udev-settle.service` is pulled in to the job queue,
> the `After` ordering rule was already there.
>

Correct.  Just because an `After` exists does not mean the service gets
pulled into
the job queue, so prior to this change no other service was causing the
deprecated
systemd-udev-settle.service to be run during boot.  But now, every device
including
openssh (which has a default PACKAGECONFIG option for rng-tools) now depends
on this deprecated service, which may cause unexpected boot delays.


> So changing this service file to be triggered by a udev event or maybe
> wrap it in a script, which makes sure the right modules are loaded and
> device nodes are available, could be an improvement, but it would be out
> of scope of this patch IMO.
>

I'm more curious whether this change should be reverted from upstream.  It
seems
like a drop-in file could have been applied to your distro instead of
adding a dependency
on a deprecated service for all openssh users.

Kyle


> >
> > On Fri, Sep 17, 2021 at 4:08 AM Claudius Heine  > > wrote:
> >
> > rngd needs to start after `systemd-udev-settle` in order for the
> kernel
> > modules of the random source hardware to be loaded before it is
> started.
> >
> > However, since the `rngd.service` does not require or want
> > `systemd-udev-settle.service` it might not be scheduled for start and
> > the `After=systemd-udev-settle.service` there has no effect.
> >
> > Adding `Wants=systemd-udev-settle.service` provides a weak
> requirement
> > to it, so that the `rngd` is started after it, if possible.
> >
> > Signed-off-by: Claudius Heine mailto:c...@denx.de>>
> > ---
> >
> > Hi,
> >
> > this is a fix, which should probably be backported to the maintained
> > releases.
> >
> > regards,
> > Claudius
> >
> >   meta/recipes-support/rng-tools/rng-tools/rngd.service | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service
> > b/meta/recipes-support/rng-tools/rng-tools/rngd.service
> > index 0559b97991..568686e80e 100644
> > --- a/meta/recipes-support/rng-tools/rng-tools/rngd.service
> > +++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service
> > @@ -3,6 +3,7 @@ Description=Hardware RNG Entropy Gatherer Daemon
> >   DefaultDependencies=no
> >   After=systemd-udev-settle.service
> >   Before=sysinit.target shutdown.target
> > +Wants=systemd-udev-settle.service
> >   Conflicts=shutdown.target
> >
> >   [Service]
> > --
> > 2.33.0
> >
> >
> > 
> >
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161220): 
https://lists.openembedded.org/g/openembedded-core/message/161220
Mute This Topic: https://lists.openembedded.org/mt/85671578/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [hardknott] qemu CVE backports

2022-02-02 Thread Sakib Sajal

Hi,

I am having trouble sending multiple patches at a time. I will 
individually send the patches in reply to this mail.


Sorry for the inconvenience.

Sakib


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161219): 
https://lists.openembedded.org/g/openembedded-core/message/161219
Mute This Topic: https://lists.openembedded.org/mt/88861937/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [dunfell][PATCH RFC] busybox.inc: Create temporary busybox links during install

2022-02-02 Thread Jate Sujjavanich
I have performed a major distribution upgrade in the past. This was with
rpm which requires bash. I did not have issues with utilities required by
the upgrade disappearing.

I believe rpm installs the new file, and then removes old files. Does opkg
remove the old binary before installing the new version?


-Jate

On Fri, Jan 28, 2022 at 8:12 AM Bryan Evenson 
wrote:

> Andrej,
>
> > -Original Message-
> > From: Valek, Andrej 
> > Sent: Friday, January 28, 2022 6:39 AM
> > To: openembedded-core@lists.openembedded.org; Bryan Evenson
> > 
> > Subject: Re: [dunfell][PATCH RFC] busybox.inc: Create temporary busybox
> > links during install
> >
> > Hello Bryan,
> >
> > So looks like, there is some kind of problem.
> >
> > Was you able to run the busybox command after upgrade like, "busybox ls
> /"
> > ?
>
> In this particular case, after upgrade both "busybox ls" and "ls" worked.
> However, that was partly because for this particular case the packages were
> identical but I just forced a version number change.  None of the files
> were actually different after the upgrade.  Failure to replace files didn't
> affect operation.  When I was upgrading my image from the morty release to
> the dunfell release, there was a change in util-linux that conflicted with
> busybox if they both didn't upgrade cleanly and the update-alternatives
> installation step would fail for both.  In that case "busybox ls" would
> still work but "ls" would not.  Repeated upgrade attempts didn't fix it.  I
> had to manually delete certain files that were not deleted during the
> initial upgrade attempt and then upgrade packages manually in a particular
> order to get the system fully operational again.
>
> >  - If yes, there is a problem, that update alternatives hasn't been
> processed
> > correctly. Try direct command after reboot, if possible
> >  - If no, lets continue with patch creation based on the master branch
>
> I will continue work on a patch based on master.  I'm going to try testing
> a few other cases so I don't anticipate having a patch ready until early
> next week.
>
> Thanks,
> Bryan
>
> >
> > Cheers,
> > Andrej
> >
> > On Thu, 2022-01-27 at 14:39 +, Bryan Evenson wrote:
> > > Andrej,
> > >
> > > > -Original Message-
> > > > From: Valek, Andrej 
> > > > Sent: Saturday, January 22, 2022 2:26 AM
> > > > To: openembedded-core@lists.openembedded.org; Bryan Evenson
> > > > 
> > > > Subject: Re: [dunfell][PATCH RFC] busybox.inc: Create temporary
> > > > busybox links during install
> > > >
> > > > Hello again,
> > > >
> > > > Maybe a general question. Is it working in current master? I do not
> > > > want to brake dunfell, just applying something, which will create a
> > > > lot of divergence.
> > > >
> > >
> > > I wasn't able to build an image based on the latest master as of
> > > Monday.  From the error messages I think it had something to do with
> > > the addition of setuptools3-base that wasn't complete yet.  I was able
> > > to build and run an image based on the latest honister branch.
> > > The master branch has four commits for busybox that honsiter does not
> > > have.  In those four commits, I see no changes to any of the
> > > installation steps.  Based on this information, I'd say its safe to
> > > say that testing on the latest honister branch should confirm whether
> > > the problem is still present or not.
> > >
> > > To test, I first built my image and directly programmed it on my
> > > hardware.  My image is based upon core-image-minimal, uses sysvinit
> > > for an init system and opkg for a package manager.  I have also added
> > > bash, cronie, dhcpcd and util-linux to my image; I've added others but
> > > these seem to produce the most obvious errors.
> > >
> > > After programming the image on my hardware, I added PR="r1" to the gcc
> > > recipe.  This forced all the packages to get rebuilt and increment the
> > > version number (if anyone knows a simpler way to accomplish this, let
> > > me know).  I then created a package feed with this update and
> > > attempted an upgrade.
> > >
> > > To upgrade, I did:
> > > opkg update
> > > opkg --download-only upgrade
> > > opkg upgrade > full_upgrade.txt 2>&1 &
> > >
> > > I download all the packages to be upgraded first.  I then sent the
> > > upgrade process to the background so I could check other things during
> > > the upgrade process.
> > >
> > > During the upgrade, I would occasionally execute "ls -l" to verify
> > > that the file full_upgrade.txt existed and was still growing.  About a
> > > minute into the upgrade process when I executed "ls -l" I got the
> > > error message:
> > >
> > > ls: not found
> > >
> > > From that point on until upgrade was complete I had to execute
> > > "busybox ls -l" to see the current directory file list.  After upgrade
> > > was complete, I checked full_upgrade.txt for error messages.
> > > I saw the following:
> > >
> > > /usr/bin/update-alternatives: line 1: sed: not found  (occurred 102
> > > times)
>

[OE-core] [hardknott][PATCH 5/8] qemu: fix CVE-2021-3713

2022-02-02 Thread Sakib Sajal
Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/qemu/qemu.inc   |  1 +
 .../qemu/qemu/CVE-2021-3713.patch | 68 +++
 2 files changed, 69 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3713.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 4198d3a52c..970aa96608 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -77,6 +77,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2021-3595_1.patch \
file://CVE-2021-3595_2.patch \
file://CVE-2021-3594.patch \
+   file://CVE-2021-3713.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3713.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3713.patch
new file mode 100644
index 00..33fca66d3d
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3713.patch
@@ -0,0 +1,68 @@
+From 9a8f71ec660e67c51cc5905dd9d2a12ff78ce743 Mon Sep 17 00:00:00 2001
+From: Gerd Hoffmann 
+Date: Wed, 18 Aug 2021 14:05:05 +0200
+Subject: [PATCH 08/12] uas: add stream number sanity checks.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The device uses the guest-supplied stream number unchecked, which can
+lead to guest-triggered out-of-band access to the UASDevice->data3 and
+UASDevice->status3 fields.  Add the missing checks.
+
+Fixes: CVE-2021-3713
+Signed-off-by: Gerd Hoffmann 
+Reported-by: Chen Zhe 
+Reported-by: Tan Jingguo 
+Reviewed-by: Philippe Mathieu-Daudé 
+Message-Id: <20210818120505.1258262-2-kra...@redhat.com>
+(cherry picked from commit 13b250b12ad3c59114a6a17d59caf073ce45b33a)
+Signed-off-by: Michael Roth 
+
+Upstream-Status: Backport [36403e8788a264dc96174f52584681ebcb4f54b1]
+CVE: CVE-2021-3713
+
+Signed-off-by: Sakib Sajal 
+---
+ hw/usb/dev-uas.c | 11 +++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/hw/usb/dev-uas.c b/hw/usb/dev-uas.c
+index cec071d96..157734eb0 100644
+--- a/hw/usb/dev-uas.c
 b/hw/usb/dev-uas.c
+@@ -831,6 +831,9 @@ static void usb_uas_handle_data(USBDevice *dev, USBPacket 
*p)
+ }
+ break;
+ case UAS_PIPE_ID_STATUS:
++if (p->stream > UAS_MAX_STREAMS) {
++goto err_stream;
++}
+ if (p->stream) {
+ QTAILQ_FOREACH(st, &uas->results, next) {
+ if (st->stream == p->stream) {
+@@ -858,6 +861,9 @@ static void usb_uas_handle_data(USBDevice *dev, USBPacket 
*p)
+ break;
+ case UAS_PIPE_ID_DATA_IN:
+ case UAS_PIPE_ID_DATA_OUT:
++if (p->stream > UAS_MAX_STREAMS) {
++goto err_stream;
++}
+ if (p->stream) {
+ req = usb_uas_find_request(uas, p->stream);
+ } else {
+@@ -893,6 +899,11 @@ static void usb_uas_handle_data(USBDevice *dev, USBPacket 
*p)
+ p->status = USB_RET_STALL;
+ break;
+ }
++
++err_stream:
++error_report("%s: invalid stream %d", __func__, p->stream);
++p->status = USB_RET_STALL;
++return;
+ }
+ 
+ static void usb_uas_unrealize(USBDevice *dev)
+-- 
+2.31.1
+
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161212): 
https://lists.openembedded.org/g/openembedded-core/message/161212
Mute This Topic: https://lists.openembedded.org/mt/88860987/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [hardknott][PATCH 8/8] qemu: fix CVE-2021-20196

2022-02-02 Thread Sakib Sajal
Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/qemu/qemu.inc   |  2 +
 .../qemu/qemu/CVE-2021-20196_1.patch  | 54 +++
 .../qemu/qemu/CVE-2021-20196_2.patch  | 67 +++
 3 files changed, 123 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-20196_1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-20196_2.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 4a5379893c..3401fd7194 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -80,6 +80,8 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2021-3713.patch \
file://CVE-2021-3748.patch \
file://CVE-2021-3930.patch \
+   file://CVE-2021-20196_1.patch \
+   file://CVE-2021-20196_2.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-20196_1.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-20196_1.patch
new file mode 100644
index 00..8b1ad0423b
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-20196_1.patch
@@ -0,0 +1,54 @@
+From e907ff3d4cb7fd20d402f45355059e67d0dc93e7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 
+Date: Wed, 24 Nov 2021 17:15:34 +0100
+Subject: [PATCH 11/12] hw/block/fdc: Extract blk_create_empty_drive()
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+We are going to re-use this code in the next commit,
+so extract it as a new blk_create_empty_drive() function.
+
+Inspired-by: Hanna Reitz 
+Signed-off-by: Philippe Mathieu-Daudé 
+Message-id: 20211124161536.631563-2-phi...@redhat.com
+Signed-off-by: John Snow 
+
+Upstream-Status: Backport [b154791e7b6d4ca5cdcd54443484d97360bd7ad2]
+CVE: CVE-2021-20196
+
+Signed-off-by: Sakib Sajal 
+---
+ hw/block/fdc.c | 9 +++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/hw/block/fdc.c b/hw/block/fdc.c
+index 4c2c35e22..854b4f172 100644
+--- a/hw/block/fdc.c
 b/hw/block/fdc.c
+@@ -61,6 +61,12 @@
+ } while (0)
+ 
+ 
++/* Anonymous BlockBackend for empty drive */
++static BlockBackend *blk_create_empty_drive(void)
++{
++return blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL);
++}
++
+ //
+ /* qdev floppy bus  */
+ 
+@@ -543,8 +549,7 @@ static void floppy_drive_realize(DeviceState *qdev, Error 
**errp)
+ }
+ 
+ if (!dev->conf.blk) {
+-/* Anonymous BlockBackend for an empty drive */
+-dev->conf.blk = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL);
++dev->conf.blk = blk_create_empty_drive();
+ ret = blk_attach_dev(dev->conf.blk, qdev);
+ assert(ret == 0);
+ 
+-- 
+2.31.1
+
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-20196_2.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-20196_2.patch
new file mode 100644
index 00..dd442ccb8f
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-20196_2.patch
@@ -0,0 +1,67 @@
+From 1d48445a951fd5504190a38abeda70ea9372cf77 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 
+Date: Wed, 24 Nov 2021 17:15:35 +0100
+Subject: [PATCH 12/12] hw/block/fdc: Kludge missing floppy drive to fix
+ CVE-2021-20196
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Guest might select another drive on the bus by setting the
+DRIVE_SEL bit of the DIGITAL OUTPUT REGISTER (DOR).
+The current controller model doesn't expect a BlockBackend
+to be NULL. A simple way to fix CVE-2021-20196 is to create
+an empty BlockBackend when it is missing. All further
+accesses will be safely handled, and the controller state
+machines keep behaving correctly.
+
+Cc: qemu-sta...@nongnu.org
+Fixes: CVE-2021-20196
+Reported-by: Gaoning Pan (Ant Security Light-Year Lab) 
+Reviewed-by: Darren Kenny 
+Reviewed-by: Hanna Reitz 
+Signed-off-by: Philippe Mathieu-Daudé 
+Message-id: 20211124161536.631563-3-phi...@redhat.com
+BugLink: https://bugs.launchpad.net/qemu/+bug/1912780
+Resolves: https://gitlab.com/qemu-project/qemu/-/issues/338
+Reviewed-by: Darren Kenny 
+Reviewed-by: Hanna Reitz 
+Signed-off-by: Philippe Mathieu-Daudé 
+Signed-off-by: John Snow 
+
+Upstream-Status: Backport [1ab95af033a419e7a64e2d58e67dd96b20af5233]
+CVE: CVE-2021-20196
+
+Signed-off-by: Sakib Sajal 
+---
+ hw/block/fdc.c | 14 +-
+ 1 file changed, 13 insertions(+), 1 deletion(-)
+
+diff --git a/hw/block/fdc.c b/hw/block/fdc.c
+index 854b4f172..a736c4d14 100644
+--- a/hw/block/fdc.c
 b/hw/block/fdc.c
+@@ -1365,7 +1365,19 @@ static FDrive *get_drv(FDCtrl *fdctrl, int unit)
+ 
+ static FDrive *get_cur_drv(FDCtrl *fdctrl)
+ {
+-return get_drv(fdctrl, fdctrl->cur_drv);
++FDrive *cur_drv = get_drv(fdctrl, fdctrl->cur_drv);
++
+

[OE-core] [hardknott][PATCH 6/8] qemu: fix CVE-2021-3748

2022-02-02 Thread Sakib Sajal
Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/qemu/qemu.inc   |   1 +
 .../qemu/qemu/CVE-2021-3748.patch | 127 ++
 2 files changed, 128 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3748.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 970aa96608..7648ce9a38 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -78,6 +78,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2021-3595_2.patch \
file://CVE-2021-3594.patch \
file://CVE-2021-3713.patch \
+   file://CVE-2021-3748.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3748.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3748.patch
new file mode 100644
index 00..4765f24739
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3748.patch
@@ -0,0 +1,127 @@
+From bacc200f623647632258f7efc0f098ac30dd4225 Mon Sep 17 00:00:00 2001
+From: Jason Wang 
+Date: Thu, 2 Sep 2021 13:44:12 +0800
+Subject: [PATCH 09/12] virtio-net: fix use after unmap/free for sg
+
+When mergeable buffer is enabled, we try to set the num_buffers after
+the virtqueue elem has been unmapped. This will lead several issues,
+E.g a use after free when the descriptor has an address which belongs
+to the non direct access region. In this case we use bounce buffer
+that is allocated during address_space_map() and freed during
+address_space_unmap().
+
+Fixing this by storing the elems temporarily in an array and delay the
+unmap after we set the the num_buffers.
+
+This addresses CVE-2021-3748.
+
+Reported-by: Alexander Bulekov 
+Fixes: fbe78f4f55c6 ("virtio-net support")
+Cc: qemu-sta...@nongnu.org
+Signed-off-by: Jason Wang 
+
+Upstream-Status: Backport [bedd7e93d01961fcb16a97ae45d93acf357e11f6]
+CVE: CVE-2021-3748
+
+Signed-off-by: Sakib Sajal 
+---
+ hw/net/virtio-net.c | 39 ---
+ 1 file changed, 32 insertions(+), 7 deletions(-)
+
+diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
+index 9179013ac..df1d30e2c 100644
+--- a/hw/net/virtio-net.c
 b/hw/net/virtio-net.c
+@@ -1665,10 +1665,13 @@ static ssize_t virtio_net_receive_rcu(NetClientState 
*nc, const uint8_t *buf,
+ VirtIONet *n = qemu_get_nic_opaque(nc);
+ VirtIONetQueue *q = virtio_net_get_subqueue(nc);
+ VirtIODevice *vdev = VIRTIO_DEVICE(n);
++VirtQueueElement *elems[VIRTQUEUE_MAX_SIZE];
++size_t lens[VIRTQUEUE_MAX_SIZE];
+ struct iovec mhdr_sg[VIRTQUEUE_MAX_SIZE];
+ struct virtio_net_hdr_mrg_rxbuf mhdr;
+ unsigned mhdr_cnt = 0;
+-size_t offset, i, guest_offset;
++size_t offset, i, guest_offset, j;
++ssize_t err;
+ 
+ if (!virtio_net_can_receive(nc)) {
+ return -1;
+@@ -1699,6 +1702,12 @@ static ssize_t virtio_net_receive_rcu(NetClientState 
*nc, const uint8_t *buf,
+ 
+ total = 0;
+ 
++if (i == VIRTQUEUE_MAX_SIZE) {
++virtio_error(vdev, "virtio-net unexpected long buffer chain");
++err = size;
++goto err;
++}
++
+ elem = virtqueue_pop(q->rx_vq, sizeof(VirtQueueElement));
+ if (!elem) {
+ if (i) {
+@@ -1710,7 +1719,8 @@ static ssize_t virtio_net_receive_rcu(NetClientState 
*nc, const uint8_t *buf,
+  n->guest_hdr_len, n->host_hdr_len,
+  vdev->guest_features);
+ }
+-return -1;
++err = -1;
++goto err;
+ }
+ 
+ if (elem->in_num < 1) {
+@@ -1718,7 +1728,8 @@ static ssize_t virtio_net_receive_rcu(NetClientState 
*nc, const uint8_t *buf,
+  "virtio-net receive queue contains no in buffers");
+ virtqueue_detach_element(q->rx_vq, elem, 0);
+ g_free(elem);
+-return -1;
++err = -1;
++goto err;
+ }
+ 
+ sg = elem->in_sg;
+@@ -1755,12 +1766,13 @@ static ssize_t virtio_net_receive_rcu(NetClientState 
*nc, const uint8_t *buf,
+ if (!n->mergeable_rx_bufs && offset < size) {
+ virtqueue_unpop(q->rx_vq, elem, total);
+ g_free(elem);
+-return size;
++err = size;
++goto err;
+ }
+ 
+-/* signal other side */
+-virtqueue_fill(q->rx_vq, elem, total, i++);
+-g_free(elem);
++elems[i] = elem;
++lens[i] = total;
++i++;
+ }
+ 
+ if (mhdr_cnt) {
+@@ -1770,10 +1782,23 @@ static ssize_t virtio_net_receive_rcu(NetClientState 
*nc, const uint8_t *buf,
+  &mhdr.num_buffers, sizeof mhdr.num_buffers);
+ }
+ 
++for (j = 0; j < i; j++) {
++/* signal other side */
++virtqueue_fill(q->rx_vq, elems[j], lens[j], j);
++g_free(elems[j]);
++}
++
+ virtqueue_flush

[OE-core] [hardknott][PATCH 3/8] qemu: fix CVE-2021-3595

2022-02-02 Thread Sakib Sajal
Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/qemu/qemu.inc   |   2 +
 .../qemu/qemu/CVE-2021-3595_1.patch   |  41 +++
 .../qemu/qemu/CVE-2021-3595_2.patch   | 253 ++
 3 files changed, 296 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3595_1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3595_2.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 6b544a4344..811bdff426 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -74,6 +74,8 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2021-3592_2.patch \
file://CVE-2021-3592_3.patch \
file://CVE-2021-3593.patch \
+   file://CVE-2021-3595_1.patch \
+   file://CVE-2021-3595_2.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3595_1.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3595_1.patch
new file mode 100644
index 00..9a0d39aa05
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3595_1.patch
@@ -0,0 +1,41 @@
+From 6b62a09d6c264cb84f560a418beb027f47bc5069 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= 
+Date: Fri, 4 Jun 2021 16:34:30 +0400
+Subject: [PATCH 05/12] tftp: check tftp_input buffer size
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fixes: CVE-2021-3595
+Fixes: https://gitlab.freedesktop.org/slirp/libslirp/-/issues/46
+
+Signed-off-by: Marc-André Lureau 
+
+Upstream-Status: Backport [3f17948137155f025f7809fdc38576d5d2451c3d]
+CVE: CVE-2021-3595
+
+Signed-off-by: Sakib Sajal 
+---
+ slirp/src/tftp.c | 6 +-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/slirp/src/tftp.c b/slirp/src/tftp.c
+index c6950ee10..e06911d42 100644
+--- a/slirp/src/tftp.c
 b/slirp/src/tftp.c
+@@ -446,7 +446,11 @@ static void tftp_handle_error(Slirp *slirp, struct 
sockaddr_storage *srcsas,
+ 
+ void tftp_input(struct sockaddr_storage *srcsas, struct mbuf *m)
+ {
+-struct tftp_t *tp = (struct tftp_t *)m->m_data;
++struct tftp_t *tp = mtod_check(m, offsetof(struct tftp_t, x.tp_buf));
++
++if (tp == NULL) {
++return;
++}
+ 
+ switch (ntohs(tp->tp_op)) {
+ case TFTP_RRQ:
+-- 
+2.31.1
+
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3595_2.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3595_2.patch
new file mode 100644
index 00..2c95bf74a1
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3595_2.patch
@@ -0,0 +1,253 @@
+From d71caef98e331268519578fc0437e2ac02586940 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= 
+Date: Fri, 4 Jun 2021 20:01:20 +0400
+Subject: [PATCH 06/12] tftp: introduce a header structure
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Instead of using a composed structure and potentially reading past the
+incoming buffer, use a different structure for the header.
+
+Signed-off-by: Marc-André Lureau 
+
+Upstream-Status: Backport [990163cf3ac86b7875559f49602c4d76f46f6f30]
+CVE: CVE-2021-3595
+
+Signed-off-by: Sakib Sajal 
+---
+ slirp/src/tftp.c | 60 +---
+ slirp/src/tftp.h |  6 -
+ 2 files changed, 36 insertions(+), 30 deletions(-)
+
+diff --git a/slirp/src/tftp.c b/slirp/src/tftp.c
+index e06911d42..a19c889d3 100644
+--- a/slirp/src/tftp.c
 b/slirp/src/tftp.c
+@@ -50,7 +50,7 @@ static void tftp_session_terminate(struct tftp_session *spt)
+ }
+ 
+ static int tftp_session_allocate(Slirp *slirp, struct sockaddr_storage 
*srcsas,
+- struct tftp_t *tp)
++ struct tftphdr *hdr)
+ {
+ struct tftp_session *spt;
+ int k;
+@@ -75,7 +75,7 @@ found:
+ memcpy(&spt->client_addr, srcsas, sockaddr_size(srcsas));
+ spt->fd = -1;
+ spt->block_size = 512;
+-spt->client_port = tp->udp.uh_sport;
++spt->client_port = hdr->udp.uh_sport;
+ spt->slirp = slirp;
+ 
+ tftp_session_update(spt);
+@@ -84,7 +84,7 @@ found:
+ }
+ 
+ static int tftp_session_find(Slirp *slirp, struct sockaddr_storage *srcsas,
+- struct tftp_t *tp)
++ struct tftphdr *hdr)
+ {
+ struct tftp_session *spt;
+ int k;
+@@ -94,7 +94,7 @@ static int tftp_session_find(Slirp *slirp, struct 
sockaddr_storage *srcsas,
+ 
+ if (tftp_session_in_use(spt)) {
+ if (sockaddr_equal(&spt->client_addr, srcsas)) {
+-if (spt->client_port == tp->udp.uh_sport) {
++if (spt->client_port == hdr->udp.uh_sport) {
+ return k;
+ }
+ }
+@@ -148,13 +148,13 @@ static struct tftp_t *tftp_prep_mbuf_data(struct 
tftp_session *spt,
+ }
+ 
+ static void tftp_udp_o

[OE-core] [hardknott][PATCH 1/8] qemu: fix CVE-2021-3592

2022-02-02 Thread Sakib Sajal
Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/qemu/qemu.inc   |   3 +
 .../qemu/qemu/CVE-2021-3592_1.patch   |  58 ++
 .../qemu/qemu/CVE-2021-3592_2.patch   | 165 ++
 .../qemu/qemu/CVE-2021-3592_3.patch   |  40 +
 4 files changed, 266 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3592_1.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3592_2.patch
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3592_3.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 463339e42b..6c00bf274b 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -70,6 +70,9 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2021-3607.patch \
file://CVE-2021-3608.patch \
file://CVE-2021-3682.patch \
+   file://CVE-2021-3592_1.patch \
+   file://CVE-2021-3592_2.patch \
+   file://CVE-2021-3592_3.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3592_1.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3592_1.patch
new file mode 100644
index 00..e374959594
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3592_1.patch
@@ -0,0 +1,58 @@
+From 0123c625aed2ed0679fa8c084104699d918c1da6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= 
+Date: Fri, 4 Jun 2021 15:58:25 +0400
+Subject: [PATCH 01/12] Add mtod_check()
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Recent security issues demonstrate the lack of safety care when casting
+a mbuf to a particular structure type. At least, it should check that
+the buffer is large enough. The following patches will make use of this
+function.
+
+Signed-off-by: Marc-André Lureau 
+
+Upstream-Status: Backport [93e645e72a056ec0b2c16e0299fc5c6b94e4ca17]
+CVE: CVE-2021-3592
+
+Signed-off-by: Sakib Sajal 
+---
+ slirp/src/mbuf.c | 11 +++
+ slirp/src/mbuf.h |  1 +
+ 2 files changed, 12 insertions(+)
+
+diff --git a/slirp/src/mbuf.c b/slirp/src/mbuf.c
+index 54ec721eb..cb2e97108 100644
+--- a/slirp/src/mbuf.c
 b/slirp/src/mbuf.c
+@@ -222,3 +222,14 @@ struct mbuf *dtom(Slirp *slirp, void *dat)
+ 
+ return (struct mbuf *)0;
+ }
++
++void *mtod_check(struct mbuf *m, size_t len)
++{
++if (m->m_len >= len) {
++return m->m_data;
++}
++
++DEBUG_ERROR("mtod failed");
++
++return NULL;
++}
+diff --git a/slirp/src/mbuf.h b/slirp/src/mbuf.h
+index 546e7852c..2015e3232 100644
+--- a/slirp/src/mbuf.h
 b/slirp/src/mbuf.h
+@@ -118,6 +118,7 @@ void m_inc(struct mbuf *, int);
+ void m_adj(struct mbuf *, int);
+ int m_copy(struct mbuf *, struct mbuf *, int, int);
+ struct mbuf *dtom(Slirp *, void *);
++void *mtod_check(struct mbuf *, size_t len);
+ 
+ static inline void ifs_init(struct mbuf *ifm)
+ {
+-- 
+2.31.1
+
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3592_2.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3592_2.patch
new file mode 100644
index 00..799a95417e
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3592_2.patch
@@ -0,0 +1,165 @@
+From fc2a4797f55016e78f2cde4806b05368fa5b7a97 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= 
+Date: Fri, 4 Jun 2021 19:25:28 +0400
+Subject: [PATCH 02/12] bootp: limit vendor-specific area to input packet
+ memory buffer
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+sizeof(bootp_t) currently holds DHCP_OPT_LEN. Remove this optional field
+from the structure, to help with the following patch checking for
+minimal header size. Modify the bootp_reply() function to take the
+buffer boundaries and avoiding potential buffer overflow.
+
+Related to CVE-2021-3592.
+
+https://gitlab.freedesktop.org/slirp/libslirp/-/issues/44
+
+Signed-off-by: Marc-André Lureau 
+
+Upstream-Status: Backport [f13cad45b25d92760bb0ad67bec0300a4d7d5275]
+CVE: CVE-2021-3592
+
+Signed-off-by: Sakib Sajal 
+---
+ slirp/src/bootp.c | 26 +++---
+ slirp/src/bootp.h |  2 +-
+ slirp/src/mbuf.c  |  5 +
+ slirp/src/mbuf.h  |  1 +
+ 4 files changed, 22 insertions(+), 12 deletions(-)
+
+diff --git a/slirp/src/bootp.c b/slirp/src/bootp.c
+index 46e96810a..e0db8d196 100644
+--- a/slirp/src/bootp.c
 b/slirp/src/bootp.c
+@@ -92,21 +92,22 @@ found:
+ return bc;
+ }
+ 
+-static void dhcp_decode(const struct bootp_t *bp, int *pmsg_type,
++static void dhcp_decode(const struct bootp_t *bp,
++const uint8_t *bp_end,
++int *pmsg_type,
+ struct in_addr *preq_addr)
+ {
+-const uint8_t *p, *p_end;
++const uint8_t *p;
+ int len, tag;
+ 
+ *pmsg_type = 0;
+ preq_addr->s_addr = htonl(0L);
+ 
+ p = bp->bp_vend;
+-p_end = p + 

[OE-core] [hardknott][PATCH 2/8] qemu: fix CVE-2021-3593

2022-02-02 Thread Sakib Sajal
Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/qemu/qemu.inc   |  1 +
 .../qemu/qemu/CVE-2021-3593.patch | 40 +++
 2 files changed, 41 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3593.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 6c00bf274b..6b544a4344 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -73,6 +73,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2021-3592_1.patch \
file://CVE-2021-3592_2.patch \
file://CVE-2021-3592_3.patch \
+   file://CVE-2021-3593.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3593.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3593.patch
new file mode 100644
index 00..dd14c240a8
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3593.patch
@@ -0,0 +1,40 @@
+From fe99634066e1074aaf55e83b576385877d7e4bcc Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= 
+Date: Fri, 4 Jun 2021 16:32:55 +0400
+Subject: [PATCH 04/12] upd6: check udp6_input buffer size
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fixes: CVE-2021-3593
+Fixes: https://gitlab.freedesktop.org/slirp/libslirp/-/issues/45
+
+Signed-off-by: Marc-André Lureau 
+
+Upstream-Status: Backport [de71c15de66ba9350bf62c45b05f8fbff166517b]
+CVE: CVE-2021-3593
+
+Signed-off-by: Sakib Sajal 
+---
+ slirp/src/udp6.c | 5 -
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/slirp/src/udp6.c b/slirp/src/udp6.c
+index 6f9486bbc..8c490e4d1 100644
+--- a/slirp/src/udp6.c
 b/slirp/src/udp6.c
+@@ -28,7 +28,10 @@ void udp6_input(struct mbuf *m)
+ ip = mtod(m, struct ip6 *);
+ m->m_len -= iphlen;
+ m->m_data += iphlen;
+-uh = mtod(m, struct udphdr *);
++uh = mtod_check(m, sizeof(struct udphdr));
++if (uh == NULL) {
++goto bad;
++}
+ m->m_len += iphlen;
+ m->m_data -= iphlen;
+ 
+-- 
+2.31.1
+
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161215): 
https://lists.openembedded.org/g/openembedded-core/message/161215
Mute This Topic: https://lists.openembedded.org/mt/88860990/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [hardknott][PATCH 7/8] qemu: fix CVE-2021-3930

2022-02-02 Thread Sakib Sajal
Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/qemu/qemu.inc   |  1 +
 .../qemu/qemu/CVE-2021-3930.patch | 53 +++
 2 files changed, 54 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3930.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 7648ce9a38..4a5379893c 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -79,6 +79,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2021-3594.patch \
file://CVE-2021-3713.patch \
file://CVE-2021-3748.patch \
+   file://CVE-2021-3930.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3930.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3930.patch
new file mode 100644
index 00..bfbe5cee33
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3930.patch
@@ -0,0 +1,53 @@
+From cdca50eff9c38367be54f92839734ab490c8b0f7 Mon Sep 17 00:00:00 2001
+From: Mauro Matteo Cascella 
+Date: Thu, 4 Nov 2021 17:31:38 +0100
+Subject: [PATCH 10/12] hw/scsi/scsi-disk: MODE_PAGE_ALLS not allowed in MODE
+ SELECT commands
+
+This avoids an off-by-one read of 'mode_sense_valid' buffer in
+hw/scsi/scsi-disk.c:mode_sense_page().
+
+Fixes: CVE-2021-3930
+Cc: qemu-sta...@nongnu.org
+Reported-by: Alexander Bulekov 
+Fixes: a8f4bbe2900 ("scsi-disk: store valid mode pages in a table")
+Fixes: #546
+Reported-by: Qiuhao Li 
+Signed-off-by: Mauro Matteo Cascella 
+Signed-off-by: Paolo Bonzini 
+
+Upstream-Status: Backport [b3af7fdf9cc537f8f0dd3e2423d83f5c99a457e8]
+CVE: CVE-2021-3930
+
+Signed-off-by: Sakib Sajal 
+---
+ hw/scsi/scsi-disk.c | 6 ++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c
+index 90841ad79..5b44ed7d8 100644
+--- a/hw/scsi/scsi-disk.c
 b/hw/scsi/scsi-disk.c
+@@ -1100,6 +1100,7 @@ static int mode_sense_page(SCSIDiskState *s, int page, 
uint8_t **p_outbuf,
+ uint8_t *p = *p_outbuf + 2;
+ int length;
+ 
++assert(page < ARRAY_SIZE(mode_sense_valid));
+ if ((mode_sense_valid[page] & (1 << s->qdev.type)) == 0) {
+ return -1;
+ }
+@@ -1441,6 +1442,11 @@ static int scsi_disk_check_mode_select(SCSIDiskState 
*s, int page,
+ return -1;
+ }
+ 
++/* MODE_PAGE_ALLS is only valid for MODE SENSE commands */
++if (page == MODE_PAGE_ALLS) {
++return -1;
++}
++
+ p = mode_current;
+ memset(mode_current, 0, inlen + 2);
+ len = mode_sense_page(s, page, &p, 0);
+-- 
+2.31.1
+
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161211): 
https://lists.openembedded.org/g/openembedded-core/message/161211
Mute This Topic: https://lists.openembedded.org/mt/88860986/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [hardknott][PATCH 4/8] qemu: fix CVE-2021-3594

2022-02-02 Thread Sakib Sajal
Signed-off-by: Sakib Sajal 
---
 meta/recipes-devtools/qemu/qemu.inc   |  1 +
 .../qemu/qemu/CVE-2021-3594.patch | 40 +++
 2 files changed, 41 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/CVE-2021-3594.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 811bdff426..4198d3a52c 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -76,6 +76,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
file://CVE-2021-3593.patch \
file://CVE-2021-3595_1.patch \
file://CVE-2021-3595_2.patch \
+   file://CVE-2021-3594.patch \
"
 UPSTREAM_CHECK_REGEX = "qemu-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/qemu/qemu/CVE-2021-3594.patch 
b/meta/recipes-devtools/qemu/qemu/CVE-2021-3594.patch
new file mode 100644
index 00..c99ba7a7cc
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/CVE-2021-3594.patch
@@ -0,0 +1,40 @@
+From 7a5ffd5475f2cbfe3cf91d9584893f1a4b3b4dff Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= 
+Date: Fri, 4 Jun 2021 16:40:23 +0400
+Subject: [PATCH 07/12] udp: check upd_input buffer size
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fixes: CVE-2021-3594
+Fixes: https://gitlab.freedesktop.org/slirp/libslirp/-/issues/47
+
+Signed-off-by: Marc-André Lureau 
+
+Upstream-Status: Backport [74572be49247c8c5feae7c6e0b50c4f569ca9824]
+CVE: CVE-2021-3594
+
+Signed-off-by: Sakib Sajal 
+---
+ slirp/src/udp.c | 5 -
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/slirp/src/udp.c b/slirp/src/udp.c
+index 0ad44d7c0..18b4acdfa 100644
+--- a/slirp/src/udp.c
 b/slirp/src/udp.c
+@@ -93,7 +93,10 @@ void udp_input(register struct mbuf *m, int iphlen)
+ /*
+  * Get IP and UDP header together in first mbuf.
+  */
+-ip = mtod(m, struct ip *);
++ip = mtod_check(m, iphlen + sizeof(struct udphdr));
++if (ip == NULL) {
++goto bad;
++}
+ uh = (struct udphdr *)((char *)ip + iphlen);
+ 
+ /*
+-- 
+2.31.1
+
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161210): 
https://lists.openembedded.org/g/openembedded-core/message/161210
Mute This Topic: https://lists.openembedded.org/mt/88860985/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] systemd: allow to create directory whose path contains symlink

2022-02-02 Thread Pavel Zhukov
Systemd version 250 has a regression which blocks mountd service from
creating subdirectories if path contains symlink. This blocks bind
mounts under /var/run, /lib for example.

Bug-Url: https://github.com/systemd/systemd/issues/22334

Signed-off-by: Pavel Zhukov 
---
 ...reate-directory-whose-path-contains-.patch | 130 ++
 meta/recipes-core/systemd/systemd_250.3.bb|   1 +
 2 files changed, 131 insertions(+)
 create mode 100644 
meta/recipes-core/systemd/systemd/0001-mkdir-allow-to-create-directory-whose-path-contains-.patch

diff --git 
a/meta/recipes-core/systemd/systemd/0001-mkdir-allow-to-create-directory-whose-path-contains-.patch
 
b/meta/recipes-core/systemd/systemd/0001-mkdir-allow-to-create-directory-whose-path-contains-.patch
new file mode 100644
index 00..003db430b7
--- /dev/null
+++ 
b/meta/recipes-core/systemd/systemd/0001-mkdir-allow-to-create-directory-whose-path-contains-.patch
@@ -0,0 +1,130 @@
+From b060c53503339c45808efeb4294a03105a2999a5 Mon Sep 17 00:00:00 2001
+From: Yu Watanabe 
+Date: Wed, 2 Feb 2022 14:05:45 +0900
+Subject: [PATCH] mkdir: allow to create directory whose path contains symlink
+Cc: pa...@zhukoff.net
+
+Upstream-Status: Backport
+Upstream-Url: https://github.com/systemd/systemd/pull/22359
+
+Signed-off-by: Pavel Zhukov 
+
+
+core/mount: fail early if directory cannot be created
+
+Prompted by #22334.
+
+mkdir: CHASE_NONEXISTENT cannot used in chase_symlinks_and_stat()
+
+mkdir: allow to create directory whose path contains symlink
+
+Fixes a regression caused by 3008a6f21c1c42efe852d69798a2fdd63fe657ec.
+
+Before the commit, when `mkdir_parents_internal()` is called from `mkdir_p()`,
+it uses `_mkdir()` as `flag` is zero. But after the commit, 
`mkdir_safe_internal()`
+is always used. Hence, if the path contains a symlink, it fails with -ENOTDIR.
+
+To fix the issue, this makes `mkdir_p()` calls `mkdir_parents_internal()` with
+MKDIR_FOLLOW_SYMLINK flag.
+
+Fixes #22334.
+
+test: add a test for mkdir_p()
+---
+ src/basic/mkdir.c |  4 ++--
+ src/core/mount.c  |  4 +++-
+ src/test/meson.build  |  2 ++
+ src/test/test-mkdir.c | 30 ++
+ 4 files changed, 37 insertions(+), 3 deletions(-)
+ create mode 100644 src/test/test-mkdir.c
+
+diff --git a/src/basic/mkdir.c b/src/basic/mkdir.c
+index 6e2b94d024..51a0d74e87 100644
+--- a/src/basic/mkdir.c
 b/src/basic/mkdir.c
+@@ -42,7 +42,7 @@ int mkdir_safe_internal(
+ if ((flags & MKDIR_FOLLOW_SYMLINK) && S_ISLNK(st.st_mode)) {
+ _cleanup_free_ char *p = NULL;
+ 
+-r = chase_symlinks_and_stat(path, NULL, CHASE_NONEXISTENT, 
&p, &st, NULL);
++r = chase_symlinks_and_stat(path, NULL, 0, &p, &st, NULL);
+ if (r < 0)
+ return r;
+ if (r == 0)
+@@ -162,7 +162,7 @@ int mkdir_p_internal(const char *prefix, const char *path, 
mode_t mode, uid_t ui
+ 
+ assert(_mkdirat != mkdirat);
+ 
+-r = mkdir_parents_internal(prefix, path, mode, uid, gid, flags, 
_mkdirat);
++r = mkdir_parents_internal(prefix, path, mode, uid, gid, flags | 
MKDIR_FOLLOW_SYMLINK, _mkdirat);
+ if (r < 0)
+ return r;
+ 
+diff --git a/src/core/mount.c b/src/core/mount.c
+index 0170406351..c650b5abe2 100644
+--- a/src/core/mount.c
 b/src/core/mount.c
+@@ -1027,8 +1027,10 @@ static void mount_enter_mounting(Mount *m) {
+ r = mkdir_p_label(p->what, m->directory_mode);
+ /* mkdir_p_label() can return -EEXIST if the target path 
exists and is not a directory - which is
+  * totally OK, in case the user wants us to overmount a 
non-directory inode. */
+-if (r < 0 && r != -EEXIST)
++if (r < 0 && r != -EEXIST) {
+ log_unit_error_errno(UNIT(m), r, "Failed to make bind 
mount source '%s': %m", p->what);
++goto fail;
++}
+ }
+ 
+ if (p) {
+diff --git a/src/test/meson.build b/src/test/meson.build
+index 9a1c481f22..7aa1d9c6ea 100644
+--- a/src/test/meson.build
 b/src/test/meson.build
+@@ -193,6 +193,8 @@ tests += [
+ 
+ [['src/test/test-macro.c']],
+ 
++[['src/test/test-mkdir.c']],
++
+ [['src/test/test-json.c']],
+ 
+ [['src/test/test-modhex.c']],
+diff --git a/src/test/test-mkdir.c b/src/test/test-mkdir.c
+new file mode 100644
+index 00..c715d5f096
+--- /dev/null
 b/src/test/test-mkdir.c
+@@ -0,0 +1,30 @@
++/* SPDX-License-Identifier: LGPL-2.1-or-later */
++
++#include 
++
++#include "mkdir.h"
++#include "path-util.h"
++#include "rm-rf.h"
++#include "tests.h"
++#include "tmpfile-util.h"
++
++TEST(mkdir_p) {
++_cleanup_(rm_rf_physical_and_freep) char *tmp = NULL;
++_cleanup_free_ char *p = NULL;
++
++assert_se(mkdtemp_malloc("/tmp/test-mkdir-XX", &tmp) >= 0);
++
++assert_se(p = path_join(tmp, "run"));
++assert_

[OE-core] [PATCH 12/12] gst-devtools: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 .../{gst-devtools_1.18.5.bb => gst-devtools_1.19.90.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.18.5.bb => 
gst-devtools_1.19.90.bb} (94%)

diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gst-devtools_1.19.90.bb
similarity index 94%
rename from meta/recipes-multimedia/gstreamer/gst-devtools_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gst-devtools_1.19.90.bb
index 1b46b89cb9..fc3ecd46a1 100644
--- a/meta/recipes-multimedia/gstreamer/gst-devtools_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.19.90.bb
@@ -12,7 +12,7 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}
file://0001-connect-has-a-different-signature-on-musl.patch \
"
 
-SRC_URI[sha256sum] = 
"fecffc86447daf5c2a06843c757a991d745caa2069446a0d746e99b13f7cb079"
+SRC_URI[sha256sum] = 
"a51061e4a799a24dcc6ccea5350ab1366fcae53331f8067bd6f52d50c6d822f3"
 
 DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 
gstreamer1.0-plugins-base"
 RRECOMMENDS:${PN} = "git"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161208): 
https://lists.openembedded.org/g/openembedded-core/message/161208
Mute This Topic: https://lists.openembedded.org/mt/88858025/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 09/12] gstreamer1.0-vaapi: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 ...treamer1.0-vaapi_1.18.5.bb => gstreamer1.0-vaapi_1.19.90.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.18.5.bb => 
gstreamer1.0-vaapi_1.19.90.bb} (95%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.19.90.bb
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.19.90.bb
index 9a68a3fadf..aa3509c7bb 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.19.90.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz";
 
-SRC_URI[sha256sum] = 
"4a460fb95559f41444eb24864ad2d9e37922b6eea941510310319fc3e0ba727b"
+SRC_URI[sha256sum] = 
"437f614d6fc8904f97feb6a297e42f09d9cd9c6c05f1ebc96a95f1c1b89f2f69"
 
 S = "${WORKDIR}/${REALPN}-${PV}"
 DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base 
gstreamer1.0-plugins-bad"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161205): 
https://lists.openembedded.org/g/openembedded-core/message/161205
Mute This Topic: https://lists.openembedded.org/mt/88858021/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 08/12] gstreamer1.0-omx: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 .../{gstreamer1.0-omx_1.18.5.bb => gstreamer1.0-omx_1.19.90.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.18.5.bb => 
gstreamer1.0-omx_1.19.90.bb} (95%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.19.90.bb
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.19.90.bb
index b2c1eb3ea0..45a304f624 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.19.90.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz";
 
-SRC_URI[sha256sum] = 
"2cd457c1e8deb1a9b39608048fb36a44f6c9a864a6b6115b1453a32e7be93b42"
+SRC_URI[sha256sum] = 
"1699520169e5fb61e4583dfbc18c0674485592ca5bba1da34fd25bb8bed0a0c7"
 
 S = "${WORKDIR}/gst-omx-${PV}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161207): 
https://lists.openembedded.org/g/openembedded-core/message/161207
Mute This Topic: https://lists.openembedded.org/mt/88858023/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 05/12] gstreamer1.0-plugins-ugly: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Feature `gpl` was added, which allows building gpl licensed codecs.

Signed-off-by: Claudius Heine 
---
 ...s-ugly_1.18.5.bb => gstreamer1.0-plugins-ugly_1.19.90.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.18.5.bb 
=> gstreamer1.0-plugins-ugly_1.19.90.bb} (89%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.19.90.bb
similarity index 89%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.19.90.bb
index 9777aaee19..53d8d0ed07 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.19.90.bb
@@ -13,7 +13,7 @@ LICENSE_FLAGS = "commercial"
 SRC_URI = " \
 
https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz
 \
 "
-SRC_URI[sha256sum] = 
"df32803e98f8a9979373fa2ca7e05e62f977b1097576d3a80619d9f5c69f66d9"
+SRC_URI[sha256sum] = 
"5242a42c3fad209030bd2e8630b08ae93821384c2278965764a039d31ab2a246"
 
 S = "${WORKDIR}/gst-plugins-ugly-${PV}"
 
@@ -23,7 +23,7 @@ GST_PLUGIN_SET_HAS_EXAMPLES = "0"
 
 PACKAGECONFIG ??= " \
 ${GSTREAMER_ORC} \
-a52dec mpeg2dec \
+a52dec mpeg2dec gpl \
 "
 
 PACKAGECONFIG[a52dec]   = "-Da52dec=enabled,-Da52dec=disabled,liba52"
@@ -33,6 +33,7 @@ PACKAGECONFIG[cdio] = 
"-Dcdio=enabled,-Dcdio=disabled,libcdio"
 PACKAGECONFIG[dvdread]  = "-Ddvdread=enabled,-Ddvdread=disabled,libdvdread"
 PACKAGECONFIG[mpeg2dec] = "-Dmpeg2dec=enabled,-Dmpeg2dec=disabled,mpeg2dec"
 PACKAGECONFIG[x264] = "-Dx264=enabled,-Dx264=disabled,x264"
+PACKAGECONFIG[gpl]  = "-Dgpl=enabled,-Dgpl=disabled"
 
 EXTRA_OEMESON += " \
 -Ddoc=disabled \
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161206): 
https://lists.openembedded.org/g/openembedded-core/message/161206
Mute This Topic: https://lists.openembedded.org/mt/88858022/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 11/12] gst-examples: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 .../gst-examples/0001-Make-player-examples-installable.patch| 2 +-
 .../{gst-examples_1.18.5.bb => gst-examples_1.19.90.bb} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/gstreamer/{gst-examples_1.18.5.bb => 
gst-examples_1.19.90.bb} (100%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch
 
b/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch
index ab93c13244..cae00045a3 100644
--- 
a/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch
@@ -32,6 +32,6 @@ index f7a7419..6281130 100644
  gtk_play_resources,
 'gtk-video-renderer.h',
 'gtk-video-renderer.c'],
-+install: true,
++  install: true,
dependencies : [glib_dep, gobject_dep, gmodule_dep, gst_dep, 
gsttag_dep, gstplayer_dep, gtk_dep, x11_dep])
  endif
diff --git a/meta/recipes-multimedia/gstreamer/gst-examples_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gst-examples_1.19.90.bb
similarity index 100%
rename from meta/recipes-multimedia/gstreamer/gst-examples_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gst-examples_1.19.90.bb
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161204): 
https://lists.openembedded.org/g/openembedded-core/message/161204
Mute This Topic: https://lists.openembedded.org/mt/88858019/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 10/12] gstreamer1.0-rtsp-server: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 ...p-server_1.18.5.bb => gstreamer1.0-rtsp-server_1.19.90.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.18.5.bb 
=> gstreamer1.0-rtsp-server_1.19.90.bb} (82%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.19.90.bb
similarity index 82%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.19.90.bb
index 50426ad46d..1b877edd6d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.19.90.bb
@@ -2,7 +2,7 @@ SUMMARY = "A library on top of GStreamer for building an RTSP 
server"
 HOMEPAGE = "http://cgit.freedesktop.org/gstreamer/gst-rtsp-server/";
 SECTION = "multimedia"
 LICENSE = "LGPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770"
 
 DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base"
 
@@ -10,7 +10,7 @@ PNREAL = "gst-rtsp-server"
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz";
 
-SRC_URI[sha256sum] = 
"04d63bf48816c6f41c73f6de0f912a7cef0aab39c44162a7bcece1923dfc9d1f"
+SRC_URI[sha256sum] = 
"eb610cad65101c1df68ec8771a60ff3a3ba0d00a7f81b4b0048d7f49dd02d06c"
 
 S = "${WORKDIR}/${PNREAL}-${PV}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161203): 
https://lists.openembedded.org/g/openembedded-core/message/161203
Mute This Topic: https://lists.openembedded.org/mt/88858018/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 07/12] gstreamer1.0-python: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 ...eamer1.0-python_1.18.5.bb => gstreamer1.0-python_1.19.90.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.18.5.bb => 
gstreamer1.0-python_1.19.90.bb} (91%)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.19.90.bb
similarity index 91%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.19.90.bb
index 1dd7d0d09a..448bfa8bea 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.19.90.bb
@@ -8,7 +8,7 @@ LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740"
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz";
-SRC_URI[sha256sum] = 
"533685871305959d6db89507f3b3aa6c765c2f2b0dacdc32c5a6543e72e5bc52"
+SRC_URI[sha256sum] = 
"5945f2295318e76e9102a77efabccb440e820c5de83a094e2dc5ad0e92d2d78d"
 
 DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
 RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161202): 
https://lists.openembedded.org/g/openembedded-core/message/161202
Mute This Topic: https://lists.openembedded.org/mt/88858017/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 06/12] gstreamer1.0-libav: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 ...st-libav-fix-build-with-ffmpeg-5.0.0.patch | 346 --
 18.5.bb => gstreamer1.0-libav_1.19.90.bb} |   5 +-
 2 files changed, 2 insertions(+), 349 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.18.5.bb => 
gstreamer1.0-libav_1.19.90.bb} (78%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch
deleted file mode 100644
index 022ff9af29..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch
+++ /dev/null
@@ -1,346 +0,0 @@
-From 38d10ee800e42afeacc6bee714216e4c974c11f5 Mon Sep 17 00:00:00 2001
-From: Xi Ruoyao 
-Date: Mon, 17 Jan 2022 01:33:47 +0800
-Subject: [PATCH] gst-libav: fix build with ffmpeg-5.0.0
-
-Latest ffmpeg has removed avcodec_get_context_defaults(), and its
-documentation says a new AVCodecContext should be allocated for this
-purpose.  The pointer returned by avcodec_find_decoder() is now
-const-qualified so we also need to adjust for it.  And, AVCOL_RANGE_MPEG
-is now rejected with strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL.
-
-Part-of: 

-Upstream-Status: Backport
-Signed-off-by: Alexander Kanavin 

- ext/libav/gstavauddec.c   | 22 -
- ext/libav/gstavaudenc.c   | 40 +++
- ext/libav/gstavcodecmap.c |  7 ---
- ext/libav/gstavutils.c|  2 +-
- ext/libav/gstavviddec.c   | 28 +++
- ext/libav/gstavvidenc.c   | 21 ++--
- 6 files changed, 54 insertions(+), 66 deletions(-)
-
-diff --git a/ext/libav/gstavauddec.c b/ext/libav/gstavauddec.c
-index baf7aa5..b03a724 100644
 a/ext/libav/gstavauddec.c
-+++ b/ext/libav/gstavauddec.c
-@@ -168,12 +168,7 @@ gst_ffmpegauddec_finalize (GObject * object)
-   GstFFMpegAudDec *ffmpegdec = (GstFFMpegAudDec *) object;
- 
-   av_frame_free (&ffmpegdec->frame);
--
--  if (ffmpegdec->context != NULL) {
--gst_ffmpeg_avcodec_close (ffmpegdec->context);
--av_free (ffmpegdec->context);
--ffmpegdec->context = NULL;
--  }
-+  avcodec_free_context (&ffmpegdec->context);
- 
-   G_OBJECT_CLASS (parent_class)->finalize (object);
- }
-@@ -193,14 +188,12 @@ gst_ffmpegauddec_close (GstFFMpegAudDec * ffmpegdec, 
gboolean reset)
-   gst_ffmpeg_avcodec_close (ffmpegdec->context);
-   ffmpegdec->opened = FALSE;
- 
--  if (ffmpegdec->context->extradata) {
--av_free (ffmpegdec->context->extradata);
--ffmpegdec->context->extradata = NULL;
--  }
-+  av_freep (&ffmpegdec->context->extradata);
- 
-   if (reset) {
--if (avcodec_get_context_defaults3 (ffmpegdec->context,
--oclass->in_plugin) < 0) {
-+avcodec_free_context (&ffmpegdec->context);
-+ffmpegdec->context = avcodec_alloc_context3 (oclass->in_plugin);
-+if (ffmpegdec->context == NULL) {
-   GST_DEBUG_OBJECT (ffmpegdec, "Failed to set context defaults");
-   return FALSE;
- }
-@@ -219,8 +212,9 @@ gst_ffmpegauddec_start (GstAudioDecoder * decoder)
-   oclass = (GstFFMpegAudDecClass *) (G_OBJECT_GET_CLASS (ffmpegdec));
- 
-   GST_OBJECT_LOCK (ffmpegdec);
--  gst_ffmpeg_avcodec_close (ffmpegdec->context);
--  if (avcodec_get_context_defaults3 (ffmpegdec->context, oclass->in_plugin) < 
0) {
-+  avcodec_free_context (&ffmpegdec->context);
-+  ffmpegdec->context = avcodec_alloc_context3 (oclass->in_plugin);
-+  if (ffmpegdec->context == NULL) {
- GST_DEBUG_OBJECT (ffmpegdec, "Failed to set context defaults");
- GST_OBJECT_UNLOCK (ffmpegdec);
- return FALSE;
-diff --git a/ext/libav/gstavaudenc.c b/ext/libav/gstavaudenc.c
-index 3ff6432..689982f 100644
 a/ext/libav/gstavaudenc.c
-+++ b/ext/libav/gstavaudenc.c
-@@ -175,10 +175,8 @@ gst_ffmpegaudenc_finalize (GObject * object)
- 
-   /* clean up remaining allocated data */
-   av_frame_free (&ffmpegaudenc->frame);
--  gst_ffmpeg_avcodec_close (ffmpegaudenc->context);
--  gst_ffmpeg_avcodec_close (ffmpegaudenc->refcontext);
--  av_free (ffmpegaudenc->context);
--  av_free (ffmpegaudenc->refcontext);
-+  avcodec_free_context (&ffmpegaudenc->context);
-+  avcodec_free_context (&ffmpegaudenc->refcontext);
- 
-   G_OBJECT_CLASS (parent_class)->finalize (object);
- }
-@@ -193,9 +191,9 @@ gst_ffmpegaudenc_start (GstAudioEncoder * encoder)
-   ffmpegaudenc->opened = FALSE;
-   ffmpegaudenc->need_reopen = FALSE;
- 
--  gst_ffmpeg_avcodec_close (ffmpegaudenc->context);
--  if (avcodec_get_context_defaults3 (ffmpegaudenc->context,
--  oclass->in_plugin) < 0) {
-+  avcodec_free_context (&ffmpegaudenc->context);
-+  ffmpegaudenc->context = avcodec_alloc_context3 (oclass->in_plugin);
-+  if (ffmpegaudenc-

[OE-core] [PATCH 04/12] gstreamer1.0-plugins-bad: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Features `libmms` and `ofa` where removed upstream.

Patches where rebased.

Signed-off-by: Claudius Heine 
---
 ...missing-opencv-data-dir-in-yocto-buil.patch | 17 -
 .../0005-msdk-fix-includedir-path.patch| 18 +-
 bb => gstreamer1.0-plugins-bad_1.19.90.bb} |  4 +---
 3 files changed, 18 insertions(+), 21 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.18.5.bb 
=> gstreamer1.0-plugins-bad_1.19.90.bb} (97%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
index b816709066..2b9854b45e 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch
@@ -19,31 +19,30 @@ diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build
 index 0b0b3fc..0ed3344 100644
 --- a/ext/opencv/meson.build
 +++ b/ext/opencv/meson.build
-@@ -78,20 +78,21 @@ else
+@@ -84,20 +84,21 @@ if not opencv_found
  endif
  
  if opencv_found
 +  pkgconf_sysroot = run_command(python3, '-c', 'import os; 
print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
-   opencv_prefix = opencv_dep.get_pkgconfig_variable('prefix')
+   opencv_prefix = opencv_dep.get_variable('prefix')
gstopencv_cargs += ['-DOPENCV_PREFIX="' + opencv_prefix + '"']
  
# Check the data dir used by opencv for its xml data files
# Use prefix from pkg-config to be compatible with cross-compilation
--  r = run_command('test', '-d', opencv_prefix + '/share/opencv')
-+  r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix + 
'/share/opencv')
+-  r = run_command('test', '-d', opencv_prefix + '/share/opencv', check: false)
++  r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix + 
'/share/opencv', check: false)
if r.returncode() == 0
  gstopencv_cargs += '-DOPENCV_PATH_NAME="opencv"'
else
--r = run_command('test', '-d', opencv_prefix + '/share/OpenCV')
-+r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix + 
'/share/OpenCV')
+-r = run_command('test', '-d', opencv_prefix + '/share/OpenCV', check: 
false)
++r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix + 
'/share/OpenCV', check: false)
  if r.returncode() == 0
gstopencv_cargs += '-DOPENCV_PATH_NAME="OpenCV"'
  else
--  r = run_command('test', '-d', opencv_prefix + '/share/opencv4')
-+  r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix + 
'/share/opencv4')
+-  r = run_command('test', '-d', opencv_prefix + '/share/opencv4', check: 
false)
++  r = run_command('test', '-d', pkgconf_sysroot + opencv_prefix + 
'/share/opencv4', check: false)
if r.returncode() == 0
  gstopencv_cargs += '-DOPENCV_PATH_NAME="opencv4"'
else
 -- 
 2.28.0
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
index cb3bb7d361..5a89be79d0 100644
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-msdk-fix-includedir-path.patch
@@ -16,16 +16,16 @@ diff --git a/sys/msdk/meson.build b/sys/msdk/meson.build
 index 6346c9451..068f38548 100644
 --- a/sys/msdk/meson.build
 +++ b/sys/msdk/meson.build
-@@ -40,7 +40,9 @@ endif
+@@ -46,7 +46,9 @@ if mfx_api != 'oneVPL'
+   mfx_dep = dependency('libmfx', version: ['>= 1.0', '<= 1.99'], required: 
false)
  
- mfx_dep = dependency('libmfx', required: false)
- if mfx_dep.found()
-+  pkgconf_sysroot = run_command(python3, '-c', 'import os; 
print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
-   mfx_incdir = mfx_dep.get_pkgconfig_variable('includedir')
-+  mfx_incdir = pkgconf_sysroot +  mfx_incdir
-   mfx_inc = []
- else
-   # Old versions of MediaSDK don't provide a pkg-config file
+   if mfx_dep.found()
++pkgconf_sysroot = run_command(python3, '-c', 'import os; 
print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip()
+ mfx_incdir = mfx_dep.get_variable('includedir')
++mfx_incdir = pkgconf_sysroot +  mfx_incdir
+ mfx_inc = []
+ use_msdk = true
+   else
 -- 
 2.17.1
 
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.19.90.bb
similarity index 97%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.19.90.bb
index f90dff693d..21ab28cc92 100644
--- a/meta/recipes-multim

[OE-core] [PATCH 01/12] gstreamer1.0: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Backported patches where removed, others updated to their current
version.

This also adds a patch to remove the
gstbin:test_watch_for_state_change testcase, since it seems flaky:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/778

Signed-off-by: Claudius Heine 
---
 ...der.c-when-env-var-is-set-do-not-fal.patch |  69 ---
 ...pect-the-idententaion-used-in-meson.patch} |   7 +-
 ...002-Remove-unused-valgrind-detection.patch | 112 --
 ...s-add-support-for-install-the-tests.patch} |  48 
 ...-use-too-strict-timeout-for-validati.patch |  32 -
 ...-use-a-dictionaries-for-environment.patch} |  24 ++--
 ...er-script-to-run-the-installed_tests.patch |  72 +++
 ...bin-test_watch_for_state_change-test.patch | 107 +
 ...-the-environment-for-installed_tests.patch |  58 -
 ...r1.0_1.18.5.bb => gstreamer1.0_1.19.90.bb} |  18 ++-
 10 files changed, 225 insertions(+), 322 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
 rename 
meta/recipes-multimedia/gstreamer/gstreamer1.0/{0004-tests-respect-the-idententaion-used-in-meson.patch
 => 0001-tests-respect-the-idententaion-used-in-meson.patch} (87%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-Remove-unused-valgrind-detection.patch
 rename 
meta/recipes-multimedia/gstreamer/gstreamer1.0/{0005-tests-add-support-for-install-the-tests.patch
 => 0002-tests-add-support-for-install-the-tests.patch} (79%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-seek-Don-t-use-too-strict-timeout-for-validati.patch
 rename 
meta/recipes-multimedia/gstreamer/gstreamer1.0/{0006-tests-use-a-dictionaries-for-environment.patch
 => 0003-tests-use-a-dictionaries-for-environment.patch} (70%)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0005-tests-remove-gstbin-test_watch_for_state_change-test.patch
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0007-tests-install-the-environment-for-installed_tests.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.18.5.bb => 
gstreamer1.0_1.19.90.bb} (77%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
deleted file mode 100644
index 23ebd5c600..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From fd8f49dba8c09d47425da80f5faab3bfa4a7c962 Mon Sep 17 00:00:00 2001
-From: Jose Quaresma 
-Date: Sat, 10 Oct 2020 19:09:03 +
-Subject: [PATCH 1/3] gstpluginloader: when env var is set do not fall through
- to system plugin scanner
-
-If we set a custom GST_PLUGIN_SCANNER env var, then we probably want to use 
that and only that.
-
-Falling through to the one installed on the system is problamatic in 
cross-compilation
-environemnts, regardless of whether one pointed to by the env var succeeded or 
failed.
-
-taken from:
-http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch?id=0db7ba34ca41b107042306d13a6f0162885c123b
-
-Part-of: 

-
-Upstream-Status: Backport 
[https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/9f958058697e6fbf5bde325228034572331d1a3a]
-
-Signed-off-by: Jose Quaresma 

- gst/gstpluginloader.c | 15 +++
- 1 file changed, 7 insertions(+), 8 deletions(-)
-
-diff --git a/gst/gstpluginloader.c b/gst/gstpluginloader.c
-index d1e404d98..c626bf263 100644
 a/gst/gstpluginloader.c
-+++ b/gst/gstpluginloader.c
-@@ -464,20 +464,19 @@ gst_plugin_loader_spawn (GstPluginLoader * loader)
-   if (loader->child_running)
- return TRUE;
- 
--  /* Find the gst-plugin-scanner: first try the env-var if it is set,
--   * otherwise use the installed version */
-+  /* Find the gst-plugin-scanner */
-   env = g_getenv ("GST_PLUGIN_SCANNER_1_0");
-   if (env == NULL)
- env = g_getenv ("GST_PLUGIN_SCANNER");
- 
-   if (env != NULL && *env != '\0') {
-+/* use the env-var if it is set */
- GST_LOG ("Trying GST_PLUGIN_SCANNER env var: %s", env);
- helper_bin = g_strdup (env);
- res = gst_plugin_loader_try_helper (loader, helper_bin);
- g_free (helper_bin);
--  }
--
--  if (!res) {
-+  } else {
-+/* use the installed version */
- GST_LOG ("Trying installed plugin scanner");
- 
- #ifdef G_OS_WIN32
-@@ -497,10 +496,10 @@ gst_plugin_loader_spawn (GstPluginLoader * loader)
- #endif
- res = gst_plugin_loader_try_helper (loader, h

[OE-core] [PATCH 03/12] gstreamer1.0-plugins-good: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 ...gins-good_1.18.5.bb => gstreamer1.0-plugins-good_1.19.90.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.18.5.bb 
=> gstreamer1.0-plugins-good_1.19.90.bb} (97%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.19.90.bb
similarity index 97%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.19.90.bb
index ade935df9e..fbf521e4cf 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.19.90.bb
@@ -8,7 +8,7 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-go

file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \
"
 
-SRC_URI[sha256sum] = 
"3aaeeea7765fbf8801acce4a503a9b05f73f04e8a35352e9d00232cfd555796b"
+SRC_URI[sha256sum] = 
"76c74ad1f2b62ee751c40d7d24544c3c0c580e2b7153d85272bd8b9dafa1a43e"
 
 S = "${WORKDIR}/gst-plugins-good-${PV}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161199): 
https://lists.openembedded.org/g/openembedded-core/message/161199
Mute This Topic: https://lists.openembedded.org/mt/88858013/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 02/12] gstreamer1.0-plugins-base: 1.18.5 -> 1.19.90

2022-02-02 Thread Claudius Heine
Signed-off-by: Claudius Heine 
---
 ...004-glimagesink-Downrank-to-marginal.patch | 32 ---
 ...b => gstreamer1.0-plugins-base_1.19.90.bb} |  5 ++-
 2 files changed, 2 insertions(+), 35 deletions(-)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.18.5.bb 
=> gstreamer1.0-plugins-base_1.19.90.bb} (94%)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
deleted file mode 100644
index f45ea65ef3..00
--- 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 79841a02ee754eba736cb32aaf2ed2b2fc0483d4 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Thu, 24 Sep 2015 19:47:32 +0300
-Subject: [PATCH 4/4] glimagesink: Downrank to marginal
-
-On desktop, where there is good OpenGL, xvimagesink will come up first,
-on other platforms, OpenGL can't be trusted because it's either software (like
-in a VM) or broken (like on embedded)., so let ximagesink come above.
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=751684]
-
-Signed-off-by: Alexander Kanavin 

- ext/gl/gstopengl.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/ext/gl/gstopengl.c b/ext/gl/gstopengl.c
-index 302e845..463be9c 100644
 a/ext/gl/gstopengl.c
-+++ b/ext/gl/gstopengl.c
-@@ -127,7 +127,7 @@ plugin_init (GstPlugin * plugin)
- #endif
- 
-   if (!gst_element_register (plugin, "glimagesink",
--  GST_RANK_SECONDARY, gst_gl_image_sink_bin_get_type ())) {
-+  GST_RANK_MARGINAL, gst_gl_image_sink_bin_get_type ())) {
- return FALSE;
-   }
- 
--- 
-2.28.0
-
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.5.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.19.90.bb
similarity index 94%
rename from 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.5.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.19.90.bb
index 180241828f..5b02d4565a 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.19.90.bb
@@ -4,15 +4,14 @@ DESCRIPTION = "'Base' GStreamer plugins and helper libraries"
 HOMEPAGE = "https://gstreamer.freedesktop.org/";
 BUGTRACKER = 
"https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues";
 LICENSE = "GPLv2+ & LGPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
+LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770"
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz
 \

file://0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch \
file://0003-viv-fb-Make-sure-config.h-is-included.patch \
file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch \
-   file://0004-glimagesink-Downrank-to-marginal.patch \
"
-SRC_URI[sha256sum] = 
"960b7af4585700db0fdd5b843554e11e2564fed9e061f591fae88a7be6446fa3"
+SRC_URI[sha256sum] = 
"667c5cbfae1873c8291b5911bedbf20ce92ee607b8b1b3d37120ed54e452db00"
 
 S = "${WORKDIR}/gst-plugins-base-${PV}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161198): 
https://lists.openembedded.org/g/openembedded-core/message/161198
Mute This Topic: https://lists.openembedded.org/mt/88858012/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 00/12] Update gstreamer recipes to 1.19.90

2022-02-02 Thread Claudius Heine
Hi,

this patchset update gstreamer to 1.19.90, the rc1 of the 1.20.0 release.

Changes from the RFC patchset:
- Use split up tarballs, instead of combined one
- Use 1.19.90 release instead of commit id
- Added patch to remove the gstbin:test_watch_for_state_change testcase, since 
it seems to be flaky:
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/778

regards,
Claudius

Claudius Heine (12):
  gstreamer1.0: 1.18.5 -> 1.19.90
  gstreamer1.0-plugins-base: 1.18.5 -> 1.19.90
  gstreamer1.0-plugins-good: 1.18.5 -> 1.19.90
  gstreamer1.0-plugins-bad: 1.18.5 -> 1.19.90
  gstreamer1.0-plugins-ugly: 1.18.5 -> 1.19.90
  gstreamer1.0-libav: 1.18.5 -> 1.19.90
  gstreamer1.0-python: 1.18.5 -> 1.19.90
  gstreamer1.0-omx: 1.18.5 -> 1.19.90
  gstreamer1.0-vaapi: 1.18.5 -> 1.19.90
  gstreamer1.0-rtsp-server: 1.18.5 -> 1.19.90
  gst-examples: 1.18.5 -> 1.19.90
  gst-devtools: 1.18.5 -> 1.19.90

 ...ools_1.18.5.bb => gst-devtools_1.19.90.bb} |   2 +-
 ...001-Make-player-examples-installable.patch |   2 +-
 ...ples_1.18.5.bb => gst-examples_1.19.90.bb} |   0
 ...st-libav-fix-build-with-ffmpeg-5.0.0.patch | 346 --
 18.5.bb => gstreamer1.0-libav_1.19.90.bb} |   5 +-
 ..._1.18.5.bb => gstreamer1.0-omx_1.19.90.bb} |   2 +-
 ...issing-opencv-data-dir-in-yocto-buil.patch |  17 +-
 .../0005-msdk-fix-includedir-path.patch   |  18 +-
 ...bb => gstreamer1.0-plugins-bad_1.19.90.bb} |   4 +-
 ...004-glimagesink-Downrank-to-marginal.patch |  32 --
 ...b => gstreamer1.0-plugins-base_1.19.90.bb} |   5 +-
 ...b => gstreamer1.0-plugins-good_1.19.90.bb} |   2 +-
 ...b => gstreamer1.0-plugins-ugly_1.19.90.bb} |   5 +-
 ...18.5.bb => gstreamer1.0-python_1.19.90.bb} |   2 +-
 ...bb => gstreamer1.0-rtsp-server_1.19.90.bb} |   4 +-
 18.5.bb => gstreamer1.0-vaapi_1.19.90.bb} |   2 +-
 ...der.c-when-env-var-is-set-do-not-fal.patch |  69 
 ...pect-the-idententaion-used-in-meson.patch} |   7 +-
 ...002-Remove-unused-valgrind-detection.patch | 112 --
 ...s-add-support-for-install-the-tests.patch} |  48 ++-
 ...-use-too-strict-timeout-for-validati.patch |  32 --
 ...-use-a-dictionaries-for-environment.patch} |  24 +-
 ...er-script-to-run-the-installed_tests.patch |  72 
 ...bin-test_watch_for_state_change-test.patch | 107 ++
 ...-the-environment-for-installed_tests.patch |  58 ---
 ...r1.0_1.18.5.bb => gstreamer1.0_1.19.90.bb} |  18 +-
 26 files changed, 258 insertions(+), 737 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.18.5.bb => 
gst-devtools_1.19.90.bb} (94%)
 rename meta/recipes-multimedia/gstreamer/{gst-examples_1.18.5.bb => 
gst-examples_1.19.90.bb} (100%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.18.5.bb => 
gstreamer1.0-libav_1.19.90.bb} (78%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.18.5.bb => 
gstreamer1.0-omx_1.19.90.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.18.5.bb 
=> gstreamer1.0-plugins-bad_1.19.90.bb} (97%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-glimagesink-Downrank-to-marginal.patch
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.18.5.bb 
=> gstreamer1.0-plugins-base_1.19.90.bb} (94%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.18.5.bb 
=> gstreamer1.0-plugins-good_1.19.90.bb} (97%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.18.5.bb 
=> gstreamer1.0-plugins-ugly_1.19.90.bb} (89%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.18.5.bb => 
gstreamer1.0-python_1.19.90.bb} (91%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.18.5.bb 
=> gstreamer1.0-rtsp-server_1.19.90.bb} (82%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.18.5.bb => 
gstreamer1.0-vaapi_1.19.90.bb} (95%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
 rename 
meta/recipes-multimedia/gstreamer/gstreamer1.0/{0004-tests-respect-the-idententaion-used-in-meson.patch
 => 0001-tests-respect-the-idententaion-used-in-meson.patch} (87%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-Remove-unused-valgrind-detection.patch
 rename 
meta/recipes-multimedia/gstreamer/gstreamer1.0/{0005-tests-add-support-for-install-the-tests.patch
 => 0002-tests-add-support-for-install-the-tests.patch} (79%)
 delete mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-seek-Don-t-use-too-strict-timeout-for-validati.patch
 rename 
meta/recipes-multimedia/gstreamer/gstreamer1.0/{0006-tests-use-a-dictionaries-for-environment.patch
 => 0003-tests-use-a-dictionaries-for-environment.patch} (70%)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.

Re: [OE-core] [PATCH] rng-tools: add systemd-udev-settle wants to service

2022-02-02 Thread Claudius Heine

Hi Kyle,

On 2022-02-02 13:38, Kyle Russell wrote:
Is this the correct approach?  Even the systemd-udev-settle.service man 
pages recommends not using its service.  Were the kernel modules really 
not loaded when rngd started?  Or is the original problem just a matter 
of waiting for sufficient entropy?


IIRC, the rngd could not find any random source device node (/dev/hwrng 
in that case), so the service failed to start.


The patch you are commenting on only adds `Wants` weak dependency to 
make sure `systemd-udev-settle.service` is pulled in to the job queue, 
the `After` ordering rule was already there.


So changing this service file to be triggered by a udev event or maybe 
wrap it in a script, which makes sure the right modules are loaded and 
device nodes are available, could be an improvement, but it would be out 
of scope of this patch IMO.


regards,
Claudius



On Fri, Sep 17, 2021 at 4:08 AM Claudius Heine > wrote:


rngd needs to start after `systemd-udev-settle` in order for the kernel
modules of the random source hardware to be loaded before it is started.

However, since the `rngd.service` does not require or want
`systemd-udev-settle.service` it might not be scheduled for start and
the `After=systemd-udev-settle.service` there has no effect.

Adding `Wants=systemd-udev-settle.service` provides a weak requirement
to it, so that the `rngd` is started after it, if possible.

Signed-off-by: Claudius Heine mailto:c...@denx.de>>
---

Hi,

this is a fix, which should probably be backported to the maintained
releases.

regards,
Claudius

  meta/recipes-support/rng-tools/rng-tools/rngd.service | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service
b/meta/recipes-support/rng-tools/rng-tools/rngd.service
index 0559b97991..568686e80e 100644
--- a/meta/recipes-support/rng-tools/rng-tools/rngd.service
+++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service
@@ -3,6 +3,7 @@ Description=Hardware RNG Entropy Gatherer Daemon
  DefaultDependencies=no
  After=systemd-udev-settle.service
  Before=sysinit.target shutdown.target
+Wants=systemd-udev-settle.service
  Conflicts=shutdown.target

  [Service]
-- 
2.33.0






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161195): 
https://lists.openembedded.org/g/openembedded-core/message/161195
Mute This Topic: https://lists.openembedded.org/mt/85671578/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] yocto-check-layer: check for duplicate layers when finding layers

2022-02-02 Thread Ross Burton
detect_layers() is very greedy and if it recurses into poky or bitbake
it will find the test suite layers, such as
bitbake/lib/layerindexlib/tests/testdata/layer4. This is a dummy layer
which claims to be openembedded-layer, so if the real openembedded-layer
is a dependency then layer4 may be used instead, which will cause
errors: initially because it's only compatible with Sumo, but later
because it doesn't contain any recipes.

Add a check that the set of layers we've found doesn't contain any
duplicate collection names with different patterns, and abort if that is
the case as the test will be non-deterministic.

Signed-off-by: Ross Burton 
---
 scripts/lib/checklayer/__init__.py | 21 +
 scripts/yocto-check-layer  |  6 +-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/checklayer/__init__.py 
b/scripts/lib/checklayer/__init__.py
index e69a10f4521..f91888ccbb6 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -156,6 +156,27 @@ def _find_layer(depend, layers):
 return layer
 return None
 
+def sanity_check_layers(layers, logger):
+"""
+Check that we didn't find duplicate collection names, as the layer that 
will
+be used is non-deterministic. The precise check is duplicate collections
+with different patterns, as the same pattern being repeated won't cause
+problems.
+"""
+import collections
+
+passed = True
+seen = collections.defaultdict(set)
+for layer in layers:
+for name, data in layer.get("collections", {}).items():
+seen[name].add(data["pattern"])
+
+for name, patterns in seen.items():
+if len(patterns) > 1:
+passed = False
+logger.error("Collection %s found multiple times: %s" % (name, ", 
".join(patterns)))
+return passed
+
 def get_layer_dependencies(layer, layers, logger):
 def recurse_dependencies(depends, layer, layers, logger, ret = []):
 logger.debug('Processing dependencies %s for layer %s.' % \
diff --git a/scripts/yocto-check-layer b/scripts/yocto-check-layer
index f3cf139d8a5..0e5b75b1f7d 100755
--- a/scripts/yocto-check-layer
+++ b/scripts/yocto-check-layer
@@ -24,7 +24,7 @@ import scriptpath
 scriptpath.add_oe_lib_path()
 scriptpath.add_bitbake_lib_path()
 
-from checklayer import LayerType, detect_layers, add_layers, 
add_layer_dependencies, get_layer_dependencies, get_signatures, check_bblayers
+from checklayer import LayerType, detect_layers, add_layers, 
add_layer_dependencies, get_layer_dependencies, get_signatures, check_bblayers, 
sanity_check_layers
 from oeqa.utils.commands import get_bb_vars
 
 PROGNAME = 'yocto-check-layer'
@@ -119,6 +119,10 @@ def main():
 for l in dep_layers:
 dump_layer_debug(l)
 
+if not sanity_check_layers(additional_layers + dep_layers, logger):
+logger.error("Failed layer validation")
+return 1
+
 logger.info("Detected layers:")
 for layer in layers:
 if layer['type'] == LayerType.ERROR_BSP_DISTRO:
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161194): 
https://lists.openembedded.org/g/openembedded-core/message/161194
Mute This Topic: https://lists.openembedded.org/mt/88857327/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] rng-tools: add systemd-udev-settle wants to service

2022-02-02 Thread bkylerussell
Is this the correct approach?  Even the systemd-udev-settle.service man
pages recommends not using its service.  Were the kernel modules really not
loaded when rngd started?  Or is the original problem just a matter of
waiting for sufficient entropy?

On Fri, Sep 17, 2021 at 4:08 AM Claudius Heine  wrote:

> rngd needs to start after `systemd-udev-settle` in order for the kernel
> modules of the random source hardware to be loaded before it is started.
>
> However, since the `rngd.service` does not require or want
> `systemd-udev-settle.service` it might not be scheduled for start and
> the `After=systemd-udev-settle.service` there has no effect.
>
> Adding `Wants=systemd-udev-settle.service` provides a weak requirement
> to it, so that the `rngd` is started after it, if possible.
>
> Signed-off-by: Claudius Heine 
> ---
>
> Hi,
>
> this is a fix, which should probably be backported to the maintained
> releases.
>
> regards,
> Claudius
>
>  meta/recipes-support/rng-tools/rng-tools/rngd.service | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-support/rng-tools/rng-tools/rngd.service
> b/meta/recipes-support/rng-tools/rng-tools/rngd.service
> index 0559b97991..568686e80e 100644
> --- a/meta/recipes-support/rng-tools/rng-tools/rngd.service
> +++ b/meta/recipes-support/rng-tools/rng-tools/rngd.service
> @@ -3,6 +3,7 @@ Description=Hardware RNG Entropy Gatherer Daemon
>  DefaultDependencies=no
>  After=systemd-udev-settle.service
>  Before=sysinit.target shutdown.target
> +Wants=systemd-udev-settle.service
>  Conflicts=shutdown.target
>
>  [Service]
> --
> 2.33.0
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161193): 
https://lists.openembedded.org/g/openembedded-core/message/161193
Mute This Topic: https://lists.openembedded.org/mt/85671578/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 0/3] Split split_and_strip_files()

2022-02-02 Thread Peter Kjellerstedt
Well, I believe it is better to package the files correctly from the start 
rather than having to redo the packaging later. The first variant I suggested 
was two added lines, compared to the ~30 lines we had in a recipe that did it 
after the fact, which somewhat indicates what it means to do it as part of the 
packaging process, compared to what it takes to do it later.

I still believe it would be better if the -dbg packages are always created in a 
way that two -dbg packages cannot clash with each other, since we do not split 
them the same way we do for target packages. That way everyone would benefit 
from it and it should lead to less problems. However, with the proposed changes 
I can solve my immediate problem, and we can continue the discussion if we can 
improve how -dbg packages are created for everyone separately.

//Peter

From: Alexander Kanavin 
Sent: den 2 februari 2022 12:33
To: Peter Kjellerstedt 
Cc: OE-core 
Subject: Re: [OE-core] [PATCH 0/3] Split split_and_strip_files()

Right, the patchset is good for maintainability, my comment was more about 
whether it's easier to just package files in a way that doesn't clash in 
do_rootfs, then rearrange them in rootfs postprocessing.

Alex

On Wed, 2 Feb 2022 at 12:20, Peter Kjellerstedt 
mailto:peter.kjellerst...@axis.com>> wrote:
Why do you consider splitting a huge function heavy? Honestly, I would like to 
split it even further to make it more manageable.

//Peter

From: Alexander Kanavin mailto:alex.kana...@gmail.com>>
Sent: den 2 februari 2022 09:54
To: Peter Kjellerstedt 
mailto:peter.kjellerst...@axis.com>>
Cc: OE-core 
mailto:openembedded-core@lists.openembedded.org>>
Subject: Re: [OE-core] [PATCH 0/3] Split split_and_strip_files()

Sorry Peter, but this still strikes me as rather heavy handed for what is a 
niche use case. Is it possible to simply do what needs to be done from a 
ROOTFS_POSTPROCESS hook?

Alex

On Wed, 2 Feb 2022 at 03:00, Peter Kjellerstedt 
mailto:peter.kjellerst...@axis.com>> wrote:
This is my third attempt to make it possible for me to hook into the
split_and_strip_files() function. We need this to be able to rename
the debug files for some packages to avoid conflicts when installing
them.

In this version, the first patch splits out the part of
split_and_strip_files() that is responsible for setting up the
variables used to implement the various debug splitting methods
specified by PACKAGE_DEBUG_SPLIT_STYLE into a new function,
package_debug_vars(). This I believe to be a good thing in itself as
that function is way too long anyway.

The second and third patch are not needed to allow me to hook into the
split_and_strip_files() function, but they simplify the APIs used for
passing the variables returned by package_debug_vars() around.

With these patches in place, I can now wrap the package_debug_vars()
function with the following local wrapper package.bbclass:

require ${COREBASE}/meta/classes/package.bbclass

PACKAGE_DEBUG_FILE_SUFFIX ??= ""

# Provide the original package_debug_vars() as org_package_debug_vars().
org_package_debug_vars := "${@d.getVar('package_debug_vars', 
False).replace('package_debug_vars', 
'org_package_debug_vars')}"
python () {
bb.methodpool.insert_method("", d.getVar("org_package_debug_vars", False), 
"", 0)
}

# This version of package_debug_vars() wraps the original package_debug_vars()
# by calling org_package_debug_vars() and then appends PACKAGE_DEBUG_FILE_SUFFIX
# to dv["append"] and dv["staticappend"].
def package_debug_vars(d):
dv = org_package_debug_vars(d)

dv["append"] += d.getVar('PACKAGE_DEBUG_FILE_SUFFIX')
dv["staticappend"] += d.getVar('PACKAGE_DEBUG_FILE_SUFFIX')

return dv

The definition of the org_package_debug_vars() function is not very
pretty, but it seems to work, and this solution means a heck of a lot
less maintenance than to try to maintain a backported version of the
over 250 lines long split_and_strip_files() function (as it was before
my changes).

//Peter

The following changes since commit 74a8a74a553a33dc5f41939f8070d75e6d57d3da:

  busybox: Add shell arithmetic to work with poky-tiny (2022-02-01 07:32:08 
+)

are available in the Git repository at:

  
git://git.yoctoproject.org/poky-contrib
 pkj/package_debug_vars
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/package_debug_vars

Peter Kjellerstedt (3):
  package.bbclass: Split out package_debug_vars from
split_and_strip_files
  package.bbclass: Make package_debug_vars() return a dict
  package.bbclass: Pass dv (debug_vars) around instead of individual
vars

 meta/classes/package.bbclass | 127 +++
 1 file changed, 70 insertions(+), 57 deletions(-)




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161192): 
https://lists.o

Re: [OE-core] [PATCH 0/3] Split split_and_strip_files()

2022-02-02 Thread Alexander Kanavin
Right, the patchset is good for maintainability, my comment was more about
whether it's easier to just package files in a way that doesn't clash in
do_rootfs, then rearrange them in rootfs postprocessing.

Alex

On Wed, 2 Feb 2022 at 12:20, Peter Kjellerstedt 
wrote:

> Why do you consider splitting a huge function heavy? Honestly, I would
> like to split it even further to make it more manageable.
>
>
>
> //Peter
>
>
>
> *From:* Alexander Kanavin 
> *Sent:* den 2 februari 2022 09:54
> *To:* Peter Kjellerstedt 
> *Cc:* OE-core 
> *Subject:* Re: [OE-core] [PATCH 0/3] Split split_and_strip_files()
>
>
>
> Sorry Peter, but this still strikes me as rather heavy handed for what is
> a niche use case. Is it possible to simply do what needs to be done from a
> ROOTFS_POSTPROCESS hook?
>
>
>
> Alex
>
>
>
> On Wed, 2 Feb 2022 at 03:00, Peter Kjellerstedt <
> peter.kjellerst...@axis.com> wrote:
>
> This is my third attempt to make it possible for me to hook into the
> split_and_strip_files() function. We need this to be able to rename
> the debug files for some packages to avoid conflicts when installing
> them.
>
> In this version, the first patch splits out the part of
> split_and_strip_files() that is responsible for setting up the
> variables used to implement the various debug splitting methods
> specified by PACKAGE_DEBUG_SPLIT_STYLE into a new function,
> package_debug_vars(). This I believe to be a good thing in itself as
> that function is way too long anyway.
>
> The second and third patch are not needed to allow me to hook into the
> split_and_strip_files() function, but they simplify the APIs used for
> passing the variables returned by package_debug_vars() around.
>
> With these patches in place, I can now wrap the package_debug_vars()
> function with the following local wrapper package.bbclass:
>
> require ${COREBASE}/meta/classes/package.bbclass
>
> PACKAGE_DEBUG_FILE_SUFFIX ??= ""
>
> # Provide the original package_debug_vars() as org_package_debug_vars().
> org_package_debug_vars := "${@d.getVar('package_debug_vars',
> False).replace('package_debug_vars', 'org_package_debug_vars')}"
> python () {
> bb.methodpool.insert_method("", d.getVar("org_package_debug_vars",
> False), "", 0)
> }
>
> # This version of package_debug_vars() wraps the original
> package_debug_vars()
> # by calling org_package_debug_vars() and then appends
> PACKAGE_DEBUG_FILE_SUFFIX
> # to dv["append"] and dv["staticappend"].
> def package_debug_vars(d):
> dv = org_package_debug_vars(d)
>
> dv["append"] += d.getVar('PACKAGE_DEBUG_FILE_SUFFIX')
> dv["staticappend"] += d.getVar('PACKAGE_DEBUG_FILE_SUFFIX')
>
> return dv
>
> The definition of the org_package_debug_vars() function is not very
> pretty, but it seems to work, and this solution means a heck of a lot
> less maintenance than to try to maintain a backported version of the
> over 250 lines long split_and_strip_files() function (as it was before
> my changes).
>
> //Peter
>
> The following changes since commit
> 74a8a74a553a33dc5f41939f8070d75e6d57d3da:
>
>   busybox: Add shell arithmetic to work with poky-tiny (2022-02-01
> 07:32:08 +)
>
> are available in the Git repository at:
>
>   git://git.yoctoproject.org/poky-contrib pkj/package_debug_vars
>
> http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/package_debug_vars
>
> Peter Kjellerstedt (3):
>   package.bbclass: Split out package_debug_vars from
> split_and_strip_files
>   package.bbclass: Make package_debug_vars() return a dict
>   package.bbclass: Pass dv (debug_vars) around instead of individual
> vars
>
>  meta/classes/package.bbclass | 127 +++
>  1 file changed, 70 insertions(+), 57 deletions(-)
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161191): 
https://lists.openembedded.org/g/openembedded-core/message/161191
Mute This Topic: https://lists.openembedded.org/mt/88849297/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier from source

2022-02-02 Thread Peter Kjellerstedt
> -Original Message-
> From: Saul Wold 
> Sent: den 2 februari 2022 05:07
> To: Peter Kjellerstedt ; openembedded-
> c...@lists.openembedded.org; jpewhac...@gmail.com
> Subject: Re: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier
> from source
> 
> On 2/1/22 19:21, Peter Kjellerstedt wrote:
> >> -Original Message-
> >> From: openembedded-core@lists.openembedded.org  c...@lists.openembedded.org> On Behalf Of Saul Wold
> >> Sent: den 2 februari 2022 01:02
> >> To: openembedded-core@lists.openembedded.org; jpewhac...@gmail.com
> >> Cc: Saul Wold 
> >> Subject: [OE-core] [PATCH] create-spdx: Get SPDX-License-Identifier
> from source
> >>
> >> This patch will read the begining of source files and try to find
> >> the SPDX-License-Identifier to populate the licenseInfoInFiles
> >> field for each source file. This does not populate licenseConculed
> >
> > I assume that should be "licenseConcluded".
> 
> Well that depends on if "we" want to take some "ownership" of the
> conclusion as the "preparer".  How would we handle the case of 2
> SPDX-License-Identifiers tags in a file, is it an "AND" or an "OR"?
> Simple example.
> 
> The description of licenseConcluded is:
> 
> "License expression for licenseConcluded.  The licensing that the
> preparer of this SPDX document has concluded, based on the evidence,
> actually applies to the package."
> 
> At somepoint we might be able to fill in that field, but for now I think
> we leave it as NOASSERTION.
> 
> Sau!

Sorry, you misunderstood. Since I do not know the specification, I could 
only assume that the field you intended to refer to was actually named 
"licenseConcluded" rather than "licenseConculed".

//Peter

> >> at this time, nor rolls it up to package level.
> >>
> >> We read as binary to since some source code seem to have some
> >
> > to -> too
> >
> >> binary characters, the license is then converted to ascii strings.
> >>
> >> Signed-off-by: Saul Wold 
> >> ---
> >> Merge after Joshua's patch (spdx: Add set helper for list properties)
> >> merges
> >>
> >>   meta/classes/create-spdx.bbclass | 23 +++
> >>   1 file changed, 23 insertions(+)
> >>
> >> diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-
> spdx.bbclass
> >> index 8b4203fdb5d..588489cc2b0 100644
> >> --- a/meta/classes/create-spdx.bbclass
> >> +++ b/meta/classes/create-spdx.bbclass
> >> @@ -37,6 +37,24 @@ SPDX_SUPPLIER[doc] = "The SPDX PackageSupplier field
> for SPDX packages created f
> >>
> >>   do_image_complete[depends] = "virtual/kernel:do_create_spdx"
> >>
> >> +def extract_licenses(filename):
> >> +import re
> >> +import oe.spdx
> >
> > You do not use oe.spdx in this function.
> >
> >> +
> >> +lic_regex = re.compile(b'SPDX-License-Identifier:\s+([-A-Za-z\d.
> ]+)[ |\n|\r\n]*?')
> >
> > I assume you meant:
> >
> >  lic_regex = re.compile(b'SPDX-License-Identifier:\s+([-A-Za-z\d.
> ]+)(?: |\n|\r\n)*?')
> >
> > Not that it really matters though, as it will yield the same result as:
> >
> >  lic_regex = re.compile(b'SPDX-License-Identifier:\s+([-A-Za-z\d.
> ]+)')
> >
> > However, neither of the expressions above will correctly match all the
> > SPDX-License-Identifier examples at https://spdx.dev/ids/#how.
> >
> > Use this instead:
> >
> >  lic_regex = re.compile(b'^\W*SPDX-License-Identifier:\s*([
> \w\d.()+-]+?)(?:\s+\W*)?$', re.MULTILINE)
> >
> >> +
> >> +try:
> >> +with open(filename, 'rb') as f:
> >> +size = min(15000, os.stat(filename).st_size)
> >> +txt = f.read(size)
> >> +licenses = re.findall(lic_regex, txt)
> >> +if licenses:
> >> +ascii_licenses = [lic.decode('ascii') for lic in
> licenses]
> >> +return ascii_licenses
> >> +except Exception as e:
> >> +bb.warn(f"Exception reading {filename}: {e}")
> >> +return None
> >> +
> >>   def get_doc_namespace(d, doc):
> >>   import uuid
> >>   namespace_uuid = uuid.uuid5(uuid.NAMESPACE_DNS,
> d.getVar("SPDX_UUID_NAMESPACE"))
> >> @@ -232,6 +250,11 @@ def add_package_files(d, doc, spdx_pkg, topdir,
> get_spdxid, get_types, *, archiv
> >>   checksumValue=bb.utils.sha256_file(filepath),
> >>   ))
> >>
> >> +if "SOURCE" in spdx_file.fileTypes:
> >> +extracted_lics = extract_licenses(filepath)
> >> +if extracted_lics:
> >> +spdx_file.licenseInfoInFiles = extracted_lics
> >> +
> >>   doc.files.append(spdx_file)
> >>   doc.add_relationship(spdx_pkg, "CONTAINS", spdx_file)
> >>   spdx_pkg.hasFiles.append(spdx_file.SPDXID)
> >> --
> >> 2.31.1
> >
> > //Peter
> >
> 
> --
> Sau!

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161190): 
https://lists.openembedded.org/g/openembedded-core/message/161190
Mute This Topic: https://lists.ope

Re: [OE-core] [PATCH 0/3] Split split_and_strip_files()

2022-02-02 Thread Peter Kjellerstedt
Why do you consider splitting a huge function heavy? Honestly, I would like to 
split it even further to make it more manageable.

//Peter

From: Alexander Kanavin 
Sent: den 2 februari 2022 09:54
To: Peter Kjellerstedt 
Cc: OE-core 
Subject: Re: [OE-core] [PATCH 0/3] Split split_and_strip_files()

Sorry Peter, but this still strikes me as rather heavy handed for what is a 
niche use case. Is it possible to simply do what needs to be done from a 
ROOTFS_POSTPROCESS hook?

Alex

On Wed, 2 Feb 2022 at 03:00, Peter Kjellerstedt 
mailto:peter.kjellerst...@axis.com>> wrote:
This is my third attempt to make it possible for me to hook into the
split_and_strip_files() function. We need this to be able to rename
the debug files for some packages to avoid conflicts when installing
them.

In this version, the first patch splits out the part of
split_and_strip_files() that is responsible for setting up the
variables used to implement the various debug splitting methods
specified by PACKAGE_DEBUG_SPLIT_STYLE into a new function,
package_debug_vars(). This I believe to be a good thing in itself as
that function is way too long anyway.

The second and third patch are not needed to allow me to hook into the
split_and_strip_files() function, but they simplify the APIs used for
passing the variables returned by package_debug_vars() around.

With these patches in place, I can now wrap the package_debug_vars()
function with the following local wrapper package.bbclass:

require ${COREBASE}/meta/classes/package.bbclass

PACKAGE_DEBUG_FILE_SUFFIX ??= ""

# Provide the original package_debug_vars() as org_package_debug_vars().
org_package_debug_vars := "${@d.getVar('package_debug_vars', 
False).replace('package_debug_vars', 
'org_package_debug_vars')}"
python () {
bb.methodpool.insert_method("", d.getVar("org_package_debug_vars", False), 
"", 0)
}

# This version of package_debug_vars() wraps the original package_debug_vars()
# by calling org_package_debug_vars() and then appends PACKAGE_DEBUG_FILE_SUFFIX
# to dv["append"] and dv["staticappend"].
def package_debug_vars(d):
dv = org_package_debug_vars(d)

dv["append"] += d.getVar('PACKAGE_DEBUG_FILE_SUFFIX')
dv["staticappend"] += d.getVar('PACKAGE_DEBUG_FILE_SUFFIX')

return dv

The definition of the org_package_debug_vars() function is not very
pretty, but it seems to work, and this solution means a heck of a lot
less maintenance than to try to maintain a backported version of the
over 250 lines long split_and_strip_files() function (as it was before
my changes).

//Peter

The following changes since commit 74a8a74a553a33dc5f41939f8070d75e6d57d3da:

  busybox: Add shell arithmetic to work with poky-tiny (2022-02-01 07:32:08 
+)

are available in the Git repository at:

  
git://git.yoctoproject.org/poky-contrib
 pkj/package_debug_vars
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/package_debug_vars

Peter Kjellerstedt (3):
  package.bbclass: Split out package_debug_vars from
split_and_strip_files
  package.bbclass: Make package_debug_vars() return a dict
  package.bbclass: Pass dv (debug_vars) around instead of individual
vars

 meta/classes/package.bbclass | 127 +++
 1 file changed, 70 insertions(+), 57 deletions(-)




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161189): 
https://lists.openembedded.org/g/openembedded-core/message/161189
Mute This Topic: https://lists.openembedded.org/mt/88849297/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] devtool: deploy-target: Remove stripped binaries in pseudo context

2022-02-02 Thread Florian Amstutz
deploy-target may fail the second time with "pseudo abort" because
devtool-deploy-target-stripped is deleted outside of pseudo's fakeroot
context.

Signed-off-by: Florian Amstutz 
---
scripts/lib/devtool/deploy.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index 833322571f..e14a587417 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool/deploy.py
@@ -170,7 +170,7 @@ def deploy(args, config, basepath, workspace):
srcdir = recipe_outdir
recipe_outdir = os.path.join(rd.getVar('WORKDIR'), 
'devtool-deploy-target-stripped')
if os.path.isdir(recipe_outdir):
-                bb.utils.remove(recipe_outdir, True)
+                exec_fakeroot(rd, "rm -rf %s" % recipe_outdir, shell=True)
exec_fakeroot(rd, "cp -af %s %s" % (os.path.join(srcdir, '.'), recipe_outdir), 
shell=True)
os.environ['PATH'] = ':'.join([os.environ['PATH'], rd.getVar('PATH') or ''])
oe.package.strip_execs(args.recipename, recipe_outdir, rd.getVar('STRIP'), 
rd.getVar('libdir'),
--
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161188): 
https://lists.openembedded.org/g/openembedded-core/message/161188
Mute This Topic: https://lists.openembedded.org/mt/88855383/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] Revert "featimage: refactor style"

2022-02-02 Thread Andrej Valek
Hello Marek,

I think, we have to stop the discussion now, because it is not leading
into any conclusion. Anyway, both of us have a different opinion.

Maybe rewriting into python will solve it, I won't do that.

Cheers,
Andrej

On Wed, 2022-02-02 at 09:17 +0100, Marek Vasut wrote:
> On 2/2/22 07:51, Valek, Andrej wrote:
> > Marek,
> 
> Hello Andrej,
> 
> > Sorry, but these are still not an arguments, why to do that.
> 
> I'm sorry, I am lost and confused ... what part of the email are you 
> referring to ?
> 
> > On Mon, 2022-01-31 at 10:39 +0100, Marek Vasut wrote:
> > > On 1/31/22 08:01, Valek, Andrej wrote:
> > > > Hi,
> > > 
> > > Hello Andrej,
> > > 
> > > (please avoid top-posting)
> > > 
> > > > Sorry, but personally I don't like your idea. What's the
> > > > benefit of
> > > > reverting this? I would keep the ${} for bitbake and $ for
> > > > shell. The
> > > > {} has to be placed only for variables like $a${b}c.
> > > 
> > > That's exactly the benefit of using ${} in shell scripts
> > > consistently -
> > > -
> > > you don't have to worry about variable names being accidentally
> > > conflated with surrounding strings, either due to your own
> > > mistake, or
> > > some automated transformation that was applied incorrectly .
> > > 
> > > > We should respect the workflow on all recipes otherwise we're
> > > > braking
> > > > the "unwritten" rules.
> > > 
> > > The workflow on all recipes ? What does this mean ?
> > > 
> > > broken by people. Better update the documentation.
> > > 
> > > There is one technical counter-argument to this revert from
> > > Peter,
> > > quote:
> > > "
> > > There is actually a technical reason to not use ${foo} for shell
> > > variables unless necessary in bitbake files and it is because
> > > bitbake will treat them all as potential bitbake variables. This
> > > means they are unnecessarily included in the taskhashes that
> > > bitbake calculates.
> > > "
> > > 
> > > But the patch being reverted here addresses the problem only
> > > partly,
> > > because it still contains remnants like this:
> > > "
> > > conf_desc="$conf_desc${sep}setup"
> > > "
> > Just for your information, this is not remnants, this is exactly
> > the
> > right {} usage. If you didn't place the {}, it will be
> > conf_desc="$conf_desc$sepsetup", which doesn't  make any sense.
> 
> OK, one more time then.
> 
> Either your patch attempted to change the coding style of this script
> to 
> match your personal preference, and did it only partly, so the result
> is 
> inconsistent.
> 
> Or
> 
> You were fixing the aforementioned taskhash issue, in which case the 
> taskhash issue is also fixed only partly.
> 
> The commit message is not clear on what the intention was.
> 
> [...]


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161187): 
https://lists.openembedded.org/g/openembedded-core/message/161187
Mute This Topic: https://lists.openembedded.org/mt/88758521/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2 1/3] cve-check: create directory of CVE_CHECK_MANIFEST before copy

2022-02-02 Thread Alexander Kanavin
Thanks :)

Alex

On Wed, 2 Feb 2022 at 08:35, Stefan Herbrechtsmeier <
stefan.herbrechtsmeier-...@weidmueller.com> wrote:

> From: Stefan Herbrechtsmeier 
>
> Create directory of the CVE_CHECK_MANIFEST variable before copy to it,
> so that the variable can use an arbitrary directory name.
>
> Signed-off-by: Stefan Herbrechtsmeier <
> stefan.herbrechtsme...@weidmueller.com>
>
> ---
>
> Changes in v2:
> - Reword commit
>
>  meta/classes/cve-check.bbclass | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/cve-check.bbclass
> b/meta/classes/cve-check.bbclass
> index 70d1988a70..a4d735c323 100644
> --- a/meta/classes/cve-check.bbclass
> +++ b/meta/classes/cve-check.bbclass
> @@ -143,6 +143,7 @@ python cve_check_write_rootfs_manifest () {
>  manifest_name = d.getVar("CVE_CHECK_MANIFEST")
>  cve_tmp_file = d.getVar("CVE_CHECK_TMP_FILE")
>
> +bb.utils.mkdirhier(os.path.dirname(manifest_name))
>  shutil.copyfile(cve_tmp_file, manifest_name)
>
>  if manifest_name and os.path.exists(manifest_name):
> --
> 2.30.2
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161186): 
https://lists.openembedded.org/g/openembedded-core/message/161186
Mute This Topic: https://lists.openembedded.org/mt/88853820/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH 0/3] Split split_and_strip_files()

2022-02-02 Thread Alexander Kanavin
Sorry Peter, but this still strikes me as rather heavy handed for what is a
niche use case. Is it possible to simply do what needs to be done from a
ROOTFS_POSTPROCESS hook?

Alex

On Wed, 2 Feb 2022 at 03:00, Peter Kjellerstedt 
wrote:

> This is my third attempt to make it possible for me to hook into the
> split_and_strip_files() function. We need this to be able to rename
> the debug files for some packages to avoid conflicts when installing
> them.
>
> In this version, the first patch splits out the part of
> split_and_strip_files() that is responsible for setting up the
> variables used to implement the various debug splitting methods
> specified by PACKAGE_DEBUG_SPLIT_STYLE into a new function,
> package_debug_vars(). This I believe to be a good thing in itself as
> that function is way too long anyway.
>
> The second and third patch are not needed to allow me to hook into the
> split_and_strip_files() function, but they simplify the APIs used for
> passing the variables returned by package_debug_vars() around.
>
> With these patches in place, I can now wrap the package_debug_vars()
> function with the following local wrapper package.bbclass:
>
> require ${COREBASE}/meta/classes/package.bbclass
>
> PACKAGE_DEBUG_FILE_SUFFIX ??= ""
>
> # Provide the original package_debug_vars() as org_package_debug_vars().
> org_package_debug_vars := "${@d.getVar('package_debug_vars',
> False).replace('package_debug_vars', 'org_package_debug_vars')}"
> python () {
> bb.methodpool.insert_method("", d.getVar("org_package_debug_vars",
> False), "", 0)
> }
>
> # This version of package_debug_vars() wraps the original
> package_debug_vars()
> # by calling org_package_debug_vars() and then appends
> PACKAGE_DEBUG_FILE_SUFFIX
> # to dv["append"] and dv["staticappend"].
> def package_debug_vars(d):
> dv = org_package_debug_vars(d)
>
> dv["append"] += d.getVar('PACKAGE_DEBUG_FILE_SUFFIX')
> dv["staticappend"] += d.getVar('PACKAGE_DEBUG_FILE_SUFFIX')
>
> return dv
>
> The definition of the org_package_debug_vars() function is not very
> pretty, but it seems to work, and this solution means a heck of a lot
> less maintenance than to try to maintain a backported version of the
> over 250 lines long split_and_strip_files() function (as it was before
> my changes).
>
> //Peter
>
> The following changes since commit
> 74a8a74a553a33dc5f41939f8070d75e6d57d3da:
>
>   busybox: Add shell arithmetic to work with poky-tiny (2022-02-01
> 07:32:08 +)
>
> are available in the Git repository at:
>
>   git://git.yoctoproject.org/poky-contrib pkj/package_debug_vars
>
> http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/package_debug_vars
>
> Peter Kjellerstedt (3):
>   package.bbclass: Split out package_debug_vars from
> split_and_strip_files
>   package.bbclass: Make package_debug_vars() return a dict
>   package.bbclass: Pass dv (debug_vars) around instead of individual
> vars
>
>  meta/classes/package.bbclass | 127 +++
>  1 file changed, 70 insertions(+), 57 deletions(-)
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161185): 
https://lists.openembedded.org/g/openembedded-core/message/161185
Mute This Topic: https://lists.openembedded.org/mt/88849297/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] Revert "featimage: refactor style"

2022-02-02 Thread Marek Vasut

On 2/2/22 07:51, Valek, Andrej wrote:

Marek,


Hello Andrej,


Sorry, but these are still not an arguments, why to do that.


I'm sorry, I am lost and confused ... what part of the email are you 
referring to ?



On Mon, 2022-01-31 at 10:39 +0100, Marek Vasut wrote:

On 1/31/22 08:01, Valek, Andrej wrote:

Hi,


Hello Andrej,

(please avoid top-posting)


Sorry, but personally I don't like your idea. What's the benefit of
reverting this? I would keep the ${} for bitbake and $ for shell. The
{} has to be placed only for variables like $a${b}c.


That's exactly the benefit of using ${} in shell scripts consistently -
-
you don't have to worry about variable names being accidentally
conflated with surrounding strings, either due to your own mistake, or
some automated transformation that was applied incorrectly .


We should respect the workflow on all recipes otherwise we're braking
the "unwritten" rules.


The workflow on all recipes ? What does this mean ?

broken by people. Better update the documentation.

There is one technical counter-argument to this revert from Peter,
quote:
"
There is actually a technical reason to not use ${foo} for shell
variables unless necessary in bitbake files and it is because
bitbake will treat them all as potential bitbake variables. This
means they are unnecessarily included in the taskhashes that
bitbake calculates.
"

But the patch being reverted here addresses the problem only partly,
because it still contains remnants like this:
"
conf_desc="$conf_desc${sep}setup"
"

Just for your information, this is not remnants, this is exactly the
right {} usage. If you didn't place the {}, it will be
conf_desc="$conf_desc$sepsetup", which doesn't  make any sense.


OK, one more time then.

Either your patch attempted to change the coding style of this script to 
match your personal preference, and did it only partly, so the result is 
inconsistent.


Or

You were fixing the aforementioned taskhash issue, in which case the 
taskhash issue is also fixed only partly.


The commit message is not clear on what the intention was.

[...]

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161184): 
https://lists.openembedded.org/g/openembedded-core/message/161184
Mute This Topic: https://lists.openembedded.org/mt/88758521/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v2] initramfs-framework: Add overlayroot module

2022-02-02 Thread Vyacheslav Yurkov

Hi Alejandro

On 02.02.2022 07:58, Alejandro Hernandez wrote:


Hey Vyacheslav,

...I definitely tried extending the overlay-etc class but it simply 
does not work for this, since the rootfs becomes inaccessible once the 
system has booted, ...




That's what I meant. What if we added another parameter, let's say 
OVERLAY_OLDROOT_MOUNT. If it's set, then lower layer can bind mounted to 
that mount point. In that case -etc part of overlayfs-etc has to be 
changed for something else, of course, to make it more general purpose 
class. Perhaps overlayfs.bbclass can be renamed to 
overlayfs-systemd.bbclass then?

What do you think?

... but it is a different use case and boot flow so I believe both can 
co-exist for different workflows depending on the user needs...


My concern here is code duplication :) If we find an issue in one place, 
we would need to change it in two places.


Thanks,
Vyacheslav


Cheers,

Alejandro


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#161183): 
https://lists.openembedded.org/g/openembedded-core/message/161183
Mute This Topic: https://lists.openembedded.org/mt/88773634/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-