* [OE-core][kirkstone 01/25] libcap: upgrade 2.65 -> 2.66
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 02/25] libical: upgrade 3.0.14 -> 3.0.15 Steve Sakoman
` (23 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: wangmy <wangmy@fujitsu.com>
RELEASE NOTES FOR 2.66
Fix documentation typos in cap_from_text.3 (Bug: 216514 reported by Paulo Andrade.)
Some getpcaps code clean up and a fix for PID argument parsing from Jakub Wilk.
Slightly more robust Makefiles to address an error with make -j48 test observed by Tomasz Kłoczko.
Include a simple Go program, captrace, to trace kernel capability validation checks
This program can be used to figure out what capabilities a program needs to operate.
captrace (a wrapper for bpftrace) uses BPF kprobes to monitor the kernel for capability checks and whether or not they succeed for the system, a specific PID or a program's direct execution.
Trim down the default file capabilities for contrib/sucap/su to those actually needed and set USER and HOME environment variables so bash doesn't complain about a sourcing error.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9040e612084a561b1766bb86c9c002b811eea4c9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
...1-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch | 2 +-
meta/recipes-support/libcap/{libcap_2.65.bb => libcap_2.66.bb} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-support/libcap/{libcap_2.65.bb => libcap_2.66.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 3f4c7e57ae..8bd2050ea5 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 1c234bc39446eb9b23896e85dd67b02976d46c3d Mon Sep 17 00:00:00 2001
+From a3196f3a06e7bbfde30d143c92a4325be323b3d0 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Thu, 14 Oct 2021 15:57:36 +0800
Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl
diff --git a/meta/recipes-support/libcap/libcap_2.65.bb b/meta/recipes-support/libcap/libcap_2.66.bb
similarity index 96%
rename from meta/recipes-support/libcap/libcap_2.65.bb
rename to meta/recipes-support/libcap/libcap_2.66.bb
index 8013d40769..c50e9d8cc7 100644
--- a/meta/recipes-support/libcap/libcap_2.65.bb
+++ b/meta/recipes-support/libcap/libcap_2.66.bb
@@ -20,7 +20,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] = "73e350020cc31fe15360879d19384ffa3395a825f065fcf6bda3a5cdf965bebd"
+SRC_URI[sha256sum] = "15c40ededb3003d70a283fe587a36b7d19c8b3b554e33f86129c059a4bb466b2"
UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 02/25] libical: upgrade 3.0.14 -> 3.0.15
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 01/25] libcap: upgrade 2.65 -> 2.66 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 03/25] numactl: upgrade 2.0.14 -> 2.0.15 Steve Sakoman
` (22 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: wangmy <wangmy@fujitsu.com>
Changelog:
=========
Add missing property parameters into libical-glib
Fix CMake option USE_32BIT_TIME_T actually uses a 32-bit time_t value
Fix icaltime_as_timet, which returned incorrect results for years >= 2100, to work properly between years 1902 and 10k.
Fix x-property comma handling and escaping
Built-in timezones updated to tzdata2022d (now with a VTIMEZONE for each time zone alias)
Fix fuzzer issues
Handle unreachable-code compile warnings with clang
Ensure all vanew_foo() calls finish with (void*)0 (not 0)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6092ae3cbe0eaf006db615c6cc3f1692e1cc1df8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../libical/{libical_3.0.14.bb => libical_3.0.15.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/libical/{libical_3.0.14.bb => libical_3.0.15.bb} (96%)
diff --git a/meta/recipes-support/libical/libical_3.0.14.bb b/meta/recipes-support/libical/libical_3.0.15.bb
similarity index 96%
rename from meta/recipes-support/libical/libical_3.0.14.bb
rename to meta/recipes-support/libical/libical_3.0.15.bb
index 58baf3f32f..f5e9bb9372 100644
--- a/meta/recipes-support/libical/libical_3.0.14.bb
+++ b/meta/recipes-support/libical/libical_3.0.15.bb
@@ -15,7 +15,7 @@ SECTION = "libs"
SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz \
file://0001-cmake-Do-not-export-CC-into-gir-compiler.patch \
"
-SRC_URI[sha256sum] = "4284b780356f1dc6a01f16083e7b836e63d3815e27ed0eaaad684712357ccc8f"
+SRC_URI[sha256sum] = "019085ba99936f25546d86cb3e34852e5fe2b5a7d5f1cb4423a0cc42e399f629"
UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases"
inherit cmake pkgconfig gobject-introspection vala
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 03/25] numactl: upgrade 2.0.14 -> 2.0.15
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 01/25] libcap: upgrade 2.65 -> 2.66 Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 02/25] libical: upgrade 3.0.14 -> 3.0.15 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 04/25] numactl: upgrade 2.0.15 -> 2.0.16 Steve Sakoman
` (21 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Richard Purdie <richard.purdie@linuxfoundation.org>
v2.0.15 changes
Various bug fixes and cleanups
Supported multiple preferred nodes
This release didn't include a release tarball. Furthermore, it had issues such as #135, #136 and #138 that got fixed in the follow up release. Please try to use v2.0.16 instead.
License checksum change from a typo fix.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8829fe6ee093acc6fb990f9ca6cad67c2c7549d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-support/numactl/numactl_git.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-support/numactl/numactl_git.bb b/meta/recipes-support/numactl/numactl_git.bb
index 93547ea239..712cf0203f 100644
--- a/meta/recipes-support/numactl/numactl_git.bb
+++ b/meta/recipes-support/numactl/numactl_git.bb
@@ -8,10 +8,10 @@ SECTION = "apps"
inherit autotools-brokensep ptest
-LIC_FILES_CHKSUM = "file://README.md;beginline=19;endline=32;md5=f8ff2391624f28e481299f3f677b21bb"
+LIC_FILES_CHKSUM = "file://README.md;beginline=19;endline=32;md5=9f34c3af4ed6f3f5df0da5f3c0835a43"
-SRCREV = "dd6de072c92c892a86e18c0fd0dfa1ba57a9a05d"
-PV = "2.0.14"
+SRCREV = "01a39cb4edc0dd0f4151b7ad11e0c56d2e612a02"
+PV = "2.0.15"
SRC_URI = "git://github.com/numactl/numactl;branch=master;protocol=https \
file://Fix-the-test-output-format.patch \
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 04/25] numactl: upgrade 2.0.15 -> 2.0.16
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (2 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 03/25] numactl: upgrade 2.0.14 -> 2.0.15 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 05/25] wpebackend-fdo: upgrade 1.12.1 -> 1.14.0 Steve Sakoman
` (20 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: wangmy <wangmy@fujitsu.com>
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6d9ed8d4b13c2d87dae482bbadef039de050bc9d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-support/numactl/numactl_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-support/numactl/numactl_git.bb b/meta/recipes-support/numactl/numactl_git.bb
index 712cf0203f..23be0a3b4f 100644
--- a/meta/recipes-support/numactl/numactl_git.bb
+++ b/meta/recipes-support/numactl/numactl_git.bb
@@ -10,8 +10,8 @@ inherit autotools-brokensep ptest
LIC_FILES_CHKSUM = "file://README.md;beginline=19;endline=32;md5=9f34c3af4ed6f3f5df0da5f3c0835a43"
-SRCREV = "01a39cb4edc0dd0f4151b7ad11e0c56d2e612a02"
-PV = "2.0.15"
+SRCREV = "10285f1a1bad49306839b2c463936460b604e3ea"
+PV = "2.0.16"
SRC_URI = "git://github.com/numactl/numactl;branch=master;protocol=https \
file://Fix-the-test-output-format.patch \
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 05/25] wpebackend-fdo: upgrade 1.12.1 -> 1.14.0
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (3 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 04/25] numactl: upgrade 2.0.15 -> 2.0.16 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 06/25] libksba: upgrade 1.6.0 -> 1.6.2 Steve Sakoman
` (19 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: wangmy <wangmy@fujitsu.com>
Changelog:
==========
Fixed a crash caused by trying to deallocate already freed graphics buffers in certain situations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0db4627fe8c6f8a0080248052dc06419774cba4f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../{wpebackend-fdo_1.12.1.bb => wpebackend-fdo_1.14.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-sato/webkit/{wpebackend-fdo_1.12.1.bb => wpebackend-fdo_1.14.0.bb} (90%)
diff --git a/meta/recipes-sato/webkit/wpebackend-fdo_1.12.1.bb b/meta/recipes-sato/webkit/wpebackend-fdo_1.14.0.bb
similarity index 90%
rename from meta/recipes-sato/webkit/wpebackend-fdo_1.12.1.bb
rename to meta/recipes-sato/webkit/wpebackend-fdo_1.14.0.bb
index 5f776c13e6..708201043b 100644
--- a/meta/recipes-sato/webkit/wpebackend-fdo_1.12.1.bb
+++ b/meta/recipes-sato/webkit/wpebackend-fdo_1.14.0.bb
@@ -13,7 +13,7 @@ inherit meson features_check pkgconfig
REQUIRED_DISTRO_FEATURES = "opengl"
SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
-SRC_URI[sha256sum] = "45aa833c44ec292f31fa943b01b8cc75e54eb623ad7ba6a66fc2f118fe69e629"
+SRC_URI[sha256sum] = "e75b0cb2c7145448416e8696013d8883f675c66c11ed750e06865efec5809155"
# Especially helps compiling with clang which enable this as error when
# using c++11
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 06/25] libksba: upgrade 1.6.0 -> 1.6.2
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (4 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 05/25] wpebackend-fdo: upgrade 1.12.1 -> 1.14.0 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 07/25] lttng-ust: upgrade 2.13.3 -> 2.13.4 Steve Sakoman
` (18 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: wangmy <wangmy@fujitsu.com>
New upstream release fixing CVE-2022-3515
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4bef6fc673de958dfbab80bcbc2e0159803b97ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 8e453d64255ce6a01b193c3735bb0aefbaa6fb38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../libksba/{libksba_1.6.0.bb => libksba_1.6.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/libksba/{libksba_1.6.0.bb => libksba_1.6.2.bb} (94%)
diff --git a/meta/recipes-support/libksba/libksba_1.6.0.bb b/meta/recipes-support/libksba/libksba_1.6.2.bb
similarity index 94%
rename from meta/recipes-support/libksba/libksba_1.6.0.bb
rename to meta/recipes-support/libksba/libksba_1.6.2.bb
index f9e83681dd..f6ecb9aec4 100644
--- a/meta/recipes-support/libksba/libksba_1.6.0.bb
+++ b/meta/recipes-support/libksba/libksba_1.6.2.bb
@@ -24,7 +24,7 @@ UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
file://ksba-add-pkgconfig-support.patch"
-SRC_URI[sha256sum] = "dad683e6f2d915d880aa4bed5cea9a115690b8935b78a1bbe01669189307a48b"
+SRC_URI[sha256sum] = "fce01ccac59812bddadffacff017dac2e4762bdb6ebc6ffe06f6ed4f6192c971"
do_configure:prepend () {
# Else these could be used in preference to those in aclocal-copy
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 07/25] lttng-ust: upgrade 2.13.3 -> 2.13.4
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (5 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 06/25] libksba: upgrade 1.6.0 -> 1.6.2 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 08/25] lttng-ust: upgrade 2.13.4 -> 2.13.5 Steve Sakoman
` (17 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: wangmy <wangmy@fujitsu.com>
Bug fix release
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0be632451f4e9a4a6a08d051e6f493715658c23b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../lttng/{lttng-ust_2.13.3.bb => lttng-ust_2.13.4.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-kernel/lttng/{lttng-ust_2.13.3.bb => lttng-ust_2.13.4.bb} (95%)
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.13.3.bb b/meta/recipes-kernel/lttng/lttng-ust_2.13.4.bb
similarity index 95%
rename from meta/recipes-kernel/lttng/lttng-ust_2.13.3.bb
rename to meta/recipes-kernel/lttng/lttng-ust_2.13.4.bb
index cc88bf5b11..56200ac3e1 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.13.3.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.13.4.bb
@@ -34,7 +34,7 @@ SRC_URI = "https://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.bz2 \
file://0001-Makefile.am-update-rpath-link.patch \
"
-SRC_URI[sha256sum] = "2cc42f51145050430ac4ab72b32d95fd78d5566ccbe44e14a8fcdd23c0ed8f6f"
+SRC_URI[sha256sum] = "698f82ec5dc56e981c0bb08c46ebabaf31c60e877c2e365b9fd6d3a9fff8b398"
CVE_PRODUCT = "ust"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 08/25] lttng-ust: upgrade 2.13.4 -> 2.13.5
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (6 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 07/25] lttng-ust: upgrade 2.13.3 -> 2.13.4 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 09/25] lighttpd: upgrade 1.4.66 -> 1.4.67 Steve Sakoman
` (16 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: wangmy <wangmy@fujitsu.com>
Changelog:
==========
* Fix: bytecode validator: reject specialized load field/context ref instructions
* Fix: bytecode validator: reject specialized load instructions
* Fix: event notification capture: validate buffer length
* Fix: event notification capture error handling
* Fix: lttng-ust-comm: wait on wrong child process
* fix: 'make dist' without javah
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 569d6c271bf782cb4a524603693adbbe3d020f92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../lttng/{lttng-ust_2.13.4.bb => lttng-ust_2.13.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-kernel/lttng/{lttng-ust_2.13.4.bb => lttng-ust_2.13.5.bb} (95%)
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.13.4.bb b/meta/recipes-kernel/lttng/lttng-ust_2.13.5.bb
similarity index 95%
rename from meta/recipes-kernel/lttng/lttng-ust_2.13.4.bb
rename to meta/recipes-kernel/lttng/lttng-ust_2.13.5.bb
index 56200ac3e1..916408bff0 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.13.4.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.13.5.bb
@@ -34,7 +34,7 @@ SRC_URI = "https://lttng.org/files/lttng-ust/lttng-ust-${PV}.tar.bz2 \
file://0001-Makefile.am-update-rpath-link.patch \
"
-SRC_URI[sha256sum] = "698f82ec5dc56e981c0bb08c46ebabaf31c60e877c2e365b9fd6d3a9fff8b398"
+SRC_URI[sha256sum] = "f1d7bb4984a3dc5dacd3b7bcb4c10c04b041b0eecd7cba1fef3d8f86aff02bd6"
CVE_PRODUCT = "ust"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 09/25] lighttpd: upgrade 1.4.66 -> 1.4.67
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (7 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 08/25] lttng-ust: upgrade 2.13.4 -> 2.13.5 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 10/25] linux-yocto/5.15: update to v5.15.72 Steve Sakoman
` (15 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: wangmy <wangmy@fujitsu.com>
Changelog:
=============
* Update comment about TCP_INFO on OpenBSD
* [mod_ajp13] fix crash with bad response headers (fixes #3170)
* [core] handle RDHUP when collecting chunked body
* [core] tweak streaming request body to backends
* [core] handle ENOSPC with pwritev() (#3171)
* [core] manually calculate off_t max (fixes #3171)
* [autoconf] force large file support (#3171)
* [multiple] quiet coverity warnings using casts
* [meson] add license keyword to project declaration
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a399862bb2e1503fbffa18e7ec0767643f76132)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../lighttpd/lighttpd/CVE-2022-41556.patch | 31 -------------------
...{lighttpd_1.4.66.bb => lighttpd_1.4.67.bb} | 3 +-
2 files changed, 1 insertion(+), 33 deletions(-)
delete mode 100644 meta/recipes-extended/lighttpd/lighttpd/CVE-2022-41556.patch
rename meta/recipes-extended/lighttpd/{lighttpd_1.4.66.bb => lighttpd_1.4.67.bb} (96%)
diff --git a/meta/recipes-extended/lighttpd/lighttpd/CVE-2022-41556.patch b/meta/recipes-extended/lighttpd/lighttpd/CVE-2022-41556.patch
deleted file mode 100644
index 284a5a3ea9..0000000000
--- a/meta/recipes-extended/lighttpd/lighttpd/CVE-2022-41556.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-CVE: CVE-2022-41556
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <ross.burton@arm.com>
-
-From b18de6f9264f914f7bf493abd3b6059343548e50 Mon Sep 17 00:00:00 2001
-From: Glenn Strauss <gstrauss@gluelogic.com>
-Date: Sun, 11 Sep 2022 22:31:34 -0400
-Subject: [PATCH] [core] handle RDHUP when collecting chunked body
-
-handle RDHUP as soon as RDHUP detected when collecting HTTP/1.1 chunked
-request body (and when not streaming request body to backend)
-
-x-ref:
- https://github.com/lighttpd/lighttpd1.4/pull/115
----
- src/gw_backend.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/gw_backend.c b/src/gw_backend.c
-index df9d8217..5db56287 100644
---- a/src/gw_backend.c
-+++ b/src/gw_backend.c
-@@ -2228,7 +2228,7 @@ handler_t gw_handle_subrequest(request_st * const r, void *p_d) {
- * and module is flagged to stream request body to backend) */
- return (r->conf.stream_request_body & FDEVENT_STREAM_REQUEST)
- ? http_response_reqbody_read_error(r, 411)
-- : HANDLER_WAIT_FOR_EVENT;
-+ : (rc == HANDLER_GO_ON) ? HANDLER_WAIT_FOR_EVENT : rc;
- }
-
- if (hctx->wb_reqlen < -1 && r->reqbody_length >= 0) {
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.66.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.67.bb
similarity index 96%
rename from meta/recipes-extended/lighttpd/lighttpd_1.4.66.bb
rename to meta/recipes-extended/lighttpd/lighttpd_1.4.67.bb
index 78978105b2..838881f238 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.66.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.67.bb
@@ -14,13 +14,12 @@ RRECOMMENDS:${PN} = "lighttpd-module-access \
lighttpd-module-accesslog"
SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.tar.xz \
- file://CVE-2022-41556.patch \
file://index.html.lighttpd \
file://lighttpd.conf \
file://lighttpd \
"
-SRC_URI[sha256sum] = "47ac6e60271aa0196e65472d02d019556dc7c6d09df3b65df2c1ab6866348e3b"
+SRC_URI[sha256sum] = "7e04d767f51a8d824b32e2483ef2950982920d427d1272ef4667f49d6f89f358"
DEPENDS = "virtual/crypt"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 10/25] linux-yocto/5.15: update to v5.15.72
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (8 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 09/25] lighttpd: upgrade 1.4.66 -> 1.4.67 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 11/25] linux-firmware: split rtl8761 firmware Steve Sakoman
` (14 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating to the latest korg -stable release that comprises
the following commits:
c68173b2012b Linux 5.15.72
713fa3e4591f drm/i915/gem: Really move i915_gem_context.link under ref protection
a00ed4e5d5ee x86/alternative: Fix race in try_get_desc()
c3d4b8970c0d KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest
ab5c5787ab5e clk: iproc: Do not rely on node name for correct PLL setup
e748a084b51c clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
19f4e1636626 fs: split off setxattr_copy and do_setxattr function from setxattr
a0e3719e030a vdpa/ifcvf: fix the calculation of queuepair
4755d9d2c9b0 selftests: Fix the if conditions of in test_extra_filter()
c83a7606aa65 net: phy: Don't WARN for PHY_UP state in mdio_bus_phy_resume()
a8cd7e1bc7cd net: stmmac: power up/down serdes in stmmac_open/release
67c00bcf4231 wifi: mac80211: fix regression with non-QoS drivers
520e434a082d nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
e9d7d809022e net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe
8b1b908507ce cxgb4: fix missing unlock on ETHOFLD desc collect fail path
e99c7a61d89e net: sched: act_ct: fix possible refcount leak in tcf_ct_init()
815381aeff95 usbnet: Fix memory leak in usbnet_disconnect()
af91321b7372 gpio: mvebu: Fix check for pwm support on non-A8K platforms
f592ccddac68 Input: melfas_mip4 - fix return value check in mip4_probe()
ff982b1f325d Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
bde7795794f4 drm/bridge: lt8912b: fix corrupted image output
e103b0e83991 drm/bridge: lt8912b: set hdmi or dvi mode
473f653a86ee drm/bridge: lt8912b: add vsync hsync
6a12105d9d4f ASoC: tas2770: Reinit regcache on reset
75ef73d7d2b3 arm64: dts: qcom: sm8350: fix UFS PHY serdes size
5664dc84fc2e ASoC: imx-card: Fix refcount issue with of_node_put
367403bc1cfe soc: sunxi: sram: Fix debugfs info for A64 SRAM C
68d2f42cf4f6 soc: sunxi: sram: Fix probe function ordering issues
2f82b5290078 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
861adc2b2037 soc: sunxi: sram: Prevent the driver from being unbound
8b07378ebe43 soc: sunxi: sram: Actually claim SRAM regions
d50e0e2f3d94 ARM: dts: am5748: keep usb4_tm disabled
c48e3db1df25 reset: imx7: Fix the iMX8MP PCIe PHY PERST support
606229101290 ARM: dts: am33xx: Fix MMCHS0 dma properties
bfe5dc2101ba swiotlb: max mapping size takes min align mask into account
a6a3b6b11ac0 media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args()
ab9d32844742 media: rkvdec: Disable H.264 error detection
69379139ed78 media: dvb_vb2: fix possible out of bound access
6287c9e00595 mm,hwpoison: check mm when killing accessing process
f9aed3d8a029 mm: fix madivse_pageout mishandling on non-LRU page
1299c1198878 mm/migrate_device.c: flush TLB while holding PTL
e858f7ac7395 mm: fix dereferencing possible ERR_PTR
d75ce115625e mm: prevent page_frag_alloc() from corrupting the memory
23d17e2b04c7 mm/page_alloc: fix race condition between build_all_zonelists and page allocation
fec2db7a434a mmc: hsq: Fix data stomping during mmc recovery
4fef6e1fe07c mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
4f75d0cacd65 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
dc248ddf41ea vduse: prevent uninitialized memory accesses
ea774829699a drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
25759a7bc1f4 drm/i915/gt: Restrict forced preemption to the active context
e0f576335d05 Revert "firmware: arm_scmi: Add clock management to the SCMI power domain"
5de02ab84aec net: mt7531: only do PLL once after the reset
56e3f8d56299 mm/damon/dbgfs: fix memory leak when using debugfs_lookup()
149da9e60b8c ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
dc8cdb988453 ARM: dts: integrator: Tag PCI host with device_type
aa5c3aa3f197 x86/sgx: Do not fail on incomplete sanitization on premature stop of ksgxd
476c188b9dbe clk: ingenic-tcu: Properly enable registers before accessing timers
d134b0f7a9b9 can: c_can: don't cache TX messages for C_CAN cores
6fff203793cb Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address
006a5085a3a8 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
81e759d71a6b thunderbolt: Explicitly reset plug events delay back to USB4 spec value
85a70a259916 usb: typec: ucsi: Remove incorrect warning
ac12a04c8e08 uas: ignore UAS for Thinkplus chips
528aba78ee01 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
0a4e8f384e82 uas: add no-uas quirk for Hiksemi usb_disk
8484a356cee8 cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
ae04dd5ef180 cgroup: reduce dependency on cgroup_mutex
7a64e6dc6cb7 ALSA: hda/realtek: fix speakers and micmute on HP 855 G8
6a3bee2ead9b ALSA: hda: Fix Nvidia dp infoframe
f7392f93a2fb ALSA: hda: Fix hang at HD-audio codec unbinding due to refcount saturation
de5deddfa7e7 ALSA: hda: Do disconnect jacks at codec unbind
90c7e9b400c7 Linux 5.15.71
214194610a18 ext4: use locality group preallocation for small closed files
8a1ac4167dda ext4: avoid unnecessary spreading of allocations among groups
fd8b82919549 ext4: make mballoc try target group first even with mb_optimize_scan
21dada4ce19c ext4: limit the number of retries after discarding preallocations blocks
be4df018c0be ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
90bc7b630c6c ext4: make directory inode spreading reflect flexbg size
95d714d8ad3d devdax: Fix soft-reservation memory description
27bf7a5d1198 NFSv4: Fixes for nfs4_inode_return_delegation()
21b0301f2234 drm/amdgpu: don't register a dirty callback for non-atomic
6eb08245da51 i2c: mlxbf: Fix frequency calculation
dc2a0c587006 i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
621c6ab03ac3 i2c: mlxbf: incorrect base address passed during io write
c242dbf2e36f i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
c71ec39be45a workqueue: don't skip lockdep work dependency in cancel_work_sync()
929ef155e1da fsdax: Fix infinite loop in dax_iomap_rw()
9aac3819f099 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
1c26968caf18 drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
492db4ffcff3 drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
9539cfc74493 drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
a541c0111818 drm/amd/display: Limit user regamma to a valid value
33b128f790b6 drm/amdgpu: use dirty framebuffer helper
f76d6f309a68 drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
e5ae504c8623 drm/gma500: Fix BUG: sleeping function called from invalid context errors
e07d9154bb81 Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
5f270b61ee8b drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV
d3a67c21b18f s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
faf0e1b5d82b serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
0aada772fd16 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
4c7e17270cab serial: Create uart_xmit_advance()
4199425b1132 serial: fsl_lpuart: Reset prior to registration
cc1504f6da2e KVM: x86/mmu: Fold rmap_recycle into rmap_add
dddae48eabfb selftests: forwarding: add shebang for sch_red.sh
08483e4c0c83 bnxt: prevent skb UAF after handing over to PTP worker
f8162aed962b net: sched: fix possible refcount leak in tc_new_tfilter()
bd29ca2b398c net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
ec3a6f4ffe55 bonding: fix NULL deref in bond_rr_gen_slave_id
db145b8a04fc net/smc: Stop the CLC flow if no link to map buffers on
5daef0042d2c drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
a08cba2f50d7 perf tools: Honor namespace when synthesizing build-ids
1a83f39dc4e1 perf kcore_copy: Do not check /proc/modules is unchanged
a3b923f449a3 perf jit: Include program header in ELF files
39dc6ccdd5af perf stat: Fix BPF program section name
c6d939639fe0 can: gs_usb: gs_can_open(): fix race dev->can.state condition
e1676adedc17 net: sh_eth: Fix PHY state warning splat during system resume
71200518bbbf net: ravb: Fix PHY state warning splat during system resume
d5917b7af7ca netfilter: ebtables: fix memory leak when blob is malformed
08d7524f366a netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
91aa52652f4b netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
c721623efd09 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
f58e43184226 net/sched: taprio: avoid disabling offload when it was never enabled
510e703e4ed0 net: enetc: deny offload of tc-based TSN features on VF interfaces
11eb9ed08856 net: enetc: move enetc_set_psfp() out of the common enetc_set_features()
c60801e4e2b5 wireguard: netlink: avoid variable-sized memcpy on sockaddr
3ebf690d1cde wireguard: ratelimiter: disable timings test by default
c2dc533a7edb net: ipa: properly limit modem routing table use
cbdab7d68f20 of: mdio: Add of_node_put() when breaking out of for_each_xx
ca86577c10bc drm/hisilicon: Add depends on MMU
68c4acee6328 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled
8547c7bfc061 sfc: fix null pointer dereference in efx_hard_start_xmit
360910b88d14 sfc: fix TX channel offset when using legacy interrupts
bc750d7127a9 i40e: Fix set max_tx_rate when it is lower than 1 Mbps
53220b99059a i40e: Fix VF set max MTU size
7249a653fe5f iavf: Fix set max MTU size with port VLAN and jumbo frames
030e0688b6b2 mlxbf_gige: clear MDIO gateway lock after read
93859f6878e7 iavf: Fix bad page state
e1dbe8a62098 um: fix default console kernel parameter
7400e2edfc9e MIPS: Loongson32: Fix PHY-mode being left unspecified
abea65fa7713 MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
831cf63c043e drm/panel: simple: Fix innolux_g121i1_l01 bus_format
408d5752b60f net: team: Unsync device addresses on ndo_stop
f50265a4f3da net: bonding: Unsync device addresses on ndo_stop
e6b277f7367e net: bonding: Share lacpdu_mcast_addr definition
8b2ab46b6c63 scsi: mpt3sas: Fix return value check of dma_get_required_mask()
89df49e561b4 scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
5826a555f77c net: phy: aquantia: wait for the suspend/resume operations to finish
4d2f1bc9067a net: core: fix flow symmetric hash
8d06006c7eb7 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
dae9d2abe25b iavf: Fix cached head and tail value for iavf_get_tx_pending
34447d64b8d2 ice: Don't double unplug aux on peer initiated reset
816eab147e5c netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
dc33ffbc361e netfilter: nf_conntrack_irc: Tighten matching on DCC message
0606c5d5fefd netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
0babb5bc85ee arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
dd5a6c5a0875 dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()
1b0e46d970b4 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
e352fea1d0fc drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks
43733b6c9fda arm64: dts: rockchip: Fix typo in lisense text for PX30.Core
2929463a9eff arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
166a332463b5 firmware: arm_scmi: Fix the asynchronous reset requests
1f08a1b26cfc firmware: arm_scmi: Harden accesses to the reset domains
9ec5a534d77c xfs: validate inode fork size against fork format
5caa3a127953 xfs: fix xfs_ifree() error handling to not leak perag ref
9e7b231687fd xfs: reorder iunlink remove operation in xfs_ifree
28c7ef86b21b vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
3c3edb82d67b arm64: topology: fix possible overflow in amu_fie_setup()
2427a04bce86 KVM: x86: Inject #UD on emulated XSETBV if XSAVES isn't enabled
61703b248be9 mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context.
2d6e55e0c038 mm/slub: fix to return errno if kmalloc() fails
71075d7d4632 net: mana: Add rmb after checking owner bits
19aea370fd09 can: flexcan: flexcan_mailbox_read() fix return value for drop = true
bf0197aea195 kasan: call kasan_malloc() from __kmalloc_*track_caller()
c75288a4902b riscv: fix a nasty sigreturn bug...
97da736cd11a gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
9b26723e058f gpio: mockup: Fix potential resource leakage when register a chip
18352095a0d5 gpio: mockup: fix NULL pointer dereference when removing debugfs
2279e977405b wifi: mt76: fix reading current per-tid starting sequence number for aggregation
b5bc5a274d54 efi: libstub: check Shim mode using MokSBStateRT
ef43fee9f211 efi: x86: Wipe setup_data on pure EFI boot
b173f1f8ef9e thunderbolt: Add support for Intel Maple Ridge single port controller
65b13f951fe6 usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA
7143f6cf58db media: flexcop-usb: fix endpoint type check
d8a76a2e514f btrfs: fix hang during unmount when stopping a space reclaim worker
46053262b5f5 btrfs: fix hang during unmount when stopping block group reclaim worker
b02f86689a5a iommu/vt-d: Check correct capability for sagaw determination
a963fe6d0eb6 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
4b2fa20da623 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
eb54e457c4ad ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
0898469913cd ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
c6a746b4fca5 ALSA: hda/realtek: Re-arrange quirk table entries
41e974cd6ecb ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop
5421125bbda8 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
84481d7a59a2 ALSA: hda: add Intel 5 Series / 3400 PCI DID
04b5bd5702ab ALSA: hda/tegra: set depop delay for tegra
e10425c5424b ALSA: core: Fix double-free at snd_card_new()
10a8c5d7d393 Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"
06c0204a6e80 USB: serial: option: add Quectel RM520N
6cf9e8b7e67a USB: serial: option: add Quectel BG95 0x0203 composition
369b008bbe36 USB: core: Fix RST error in hub.c
d10d1e9d9f1e drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
6eede01dfd0e Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"
c02431f43e12 Revert "usb: add quirks for Lenovo OneLink+ Dock"
8de5e12f587b usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
2db7a7176c45 usb: add quirks for Lenovo OneLink+ Dock
a72eee6d905e usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop
f79a57d4091f usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()
1a9923999459 usb: dwc3: gadget: Refactor pullup()
7604a210acbb usb: dwc3: gadget: Prevent repeat pullup()
a0b5d22b0448 usb: dwc3: Issue core soft reset before enabling run/stop
8d583ba79cde usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind
167b18f25b96 staging: r8188eu: Add Rosewill USB-N150 Nano to device tables
add40eda8258 staging: r8188eu: Remove support for devices with 8188FU chipset (0bda:f179)
55653c548612 drm/amdgpu: make sure to init common IP before gmc
25a90a11036b drm/amdgpu: Separate vf2pf work item init from virt data exchange
3e98e33d345e Linux 5.15.70
21f948cab866 ALSA: hda/sigmatel: Fix unused variable warning for beep power change
5db17805b6ba cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
39b0235284c7 KVM: SEV: add cache flush to solve SEV cache incoherency issues
d9bf46e74735 net: Find dst with sk's xfrm policy not ctl_sk
ab5140c6ddd7 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
9af7af862cb8 mksysmap: Fix the mismatch of 'L0' symbols in System.map
2340f23c770d drm/panfrost: devfreq: set opp to the recommended one to configure regulator
7e8df4920b2a MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
af88da4c737a afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
2dd0ae85fb3c net: usb: qmi_wwan: add Quectel RM520N
a5e949e088bc ALSA: hda/tegra: Align BDL entry to 4KB boundary
3d25aaf71fe0 ALSA: hda/sigmatel: Keep power up while beep is enabled
d582756bfc71 wifi: mac80211_hwsim: check length for virtio packets
17898c3b578a rxrpc: Fix calc of resend age
1bbcd88c3c99 rxrpc: Fix local destruction being repeated
87cd4c02bdb1 scsi: lpfc: Return DID_TRANSPORT_DISRUPTED instead of DID_REQUEUE
f08a320b4b60 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()
80c7be217ba7 ASoC: nau8824: Fix semaphore unbalance at error paths
f1d57c4c99c2 arm64: dts: juno: Add missing MHU secure-irq
59b756da49bf video: fbdev: i740fb: Error out if 'pixclock' equals zero
899f4160b140 binder: remove inaccurate mmap_assert_locked()
8c2bbfb0ded3 drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
0a7d86f156fa drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
dcef16f64969 drm/amdgpu: Don't enable LTR if not supported
710ebf8f1a08 tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
309e9f4a17cf parisc: Allow CONFIG_64BIT with ARCH=parisc
9a72466fb61b cifs: always initialize struct msghdr smb_msg completely
21c47a08f96a cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
e1aad8c56090 cifs: revalidate mapping when doing direct writes
b04e0208d025 of/device: Fix up of_dma_configure_id() stub
8fd27239ca92 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
5f285e4c47c3 block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait
f86092d12fbb drm/meson: Fix OSD1 RGB to YCbCr coefficient
d38eb1f37538 drm/meson: Correct OSD1 global alpha value
89cfddd416ba gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
9a173db71a99 NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
cd358b2ee56f pinctrl: sunxi: Fix name for A100 R_PIO
ca2b798e53d4 pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
30fccb4fe449 pinctrl: qcom: sc8180x: Fix wrong pin numbers
cbafdbb6f6ce pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map
ba6b9f7cc110 of: fdt: fix off-by-one error in unflatten_dt_nodes()
c23065adf97f tty: serial: atmel: Preserve previous USART mode if RS485 disabled
1d01d7beccba serial: atmel: remove redundant assignment in rs485_config
f3450c33411b drm/tegra: vic: Fix build warning when CONFIG_PM=n
820b689b4a7a Linux 5.15.69
277674996dcf Input: goodix - add compatible string for GT1158
b9b39f7332c5 RDMA/irdma: Use s/g array in post send only when its valid
125c3ae8a936 usb: gadget: f_uac2: fix superspeed transfer
fa7e0266c239 usb: gadget: f_uac2: clean up some inconsistent indenting
07609e83c1b9 soc: fsl: select FSL_GUTS driver for DPIO
3998dc50ebdc mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
cd698131ef5d usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
6087747599ec platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
d4441b810bd8 perf/arm_pmu_platform: fix tests for platform_get_irq() failure
55032fb14d4a net: dsa: hellcreek: Print warning only once
985a5d3d491d drm/amd/amdgpu: skip ucode loading if ucode_size == 0
a1347be8f0ff nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
3d380f9d1e2b Input: iforce - add support for Boeder Force Feedback Wheel
b9682878abee ieee802154: cc2520: add rc code in cc2520_tx()
3a10e8edee2b gpio: mockup: remove gpio debugfs when remove device
b4ebcd6d48bc tg3: Disable tg3 device on system reboot to avoid triggering AER
f715188c23fa hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
a86c8d1b36a9 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
2e3aeb48995a dt-bindings: iio: gyroscope: bosch,bmg160: correct number of pins
1b80691d5115 drm/msm/rd: Fix FIFO-full deadlock
a9687a2dc7e1 platform/surface: aggregator_registry: Add support for Surface Laptop Go 2
49801d5f8b67 Input: goodix - add support for GT1158
709edbac4c45 iommu/vt-d: Fix kdump kernels boot failure with scalable mode
90f922646f57 tracefs: Only clobber mode/uid/gid on remount if asked
3c90af5a773a tracing: hold caller_addr to hardirq_{enable,disable}_ip
64840a4a2d8e task_stack, x86/cea: Force-inline stack helpers
0b009e5fd146 x86/mm: Force-inline __phys_addr_nodebug()
f9571a969973 lockdep: Fix -Wunused-parameter for _THIS_IP_
dee782da3937 ARM: dts: at91: sama7g5ek: specify proper regulator output ranges
424ac5929d0a ARM: dts: at91: fix low limit for CPU regulator
8be25fa7cfd6 ARM: dts: imx6qdl-kontron-samx6i: fix spi-flash compatible
78eb5e326a0e ARM: dts: imx: align SPI NOR node name with dtschema
3bb12efc5e4d ACPI: resource: skip IRQ override on AMD Zen platforms
a68a734b19af NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fbc8840580fe008c2deda50c0d2d5a98e9b6c564)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../linux/linux-yocto-rt_5.15.bb | 6 ++---
.../linux/linux-yocto-tiny_5.15.bb | 6 ++---
meta/recipes-kernel/linux/linux-yocto_5.15.bb | 26 +++++++++----------
3 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb
index 6f8648e004..e573b27c9c 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.15.bb
@@ -11,13 +11,13 @@ python () {
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
}
-SRCREV_machine ?= "dba1b7d90813231782bdeda1bd169c93b35c94e0"
-SRCREV_meta ?= "1128d7bcdcde490d4f35cc00c97f5410bb240d99"
+SRCREV_machine ?= "47b86b149db08838964584baec1b913c5d67c060"
+SRCREV_meta ?= "c6aba7f07aae15d63bccf5b072a6e70602c2bcef"
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA}"
-LINUX_VERSION ?= "5.15.68"
+LINUX_VERSION ?= "5.15.72"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb
index 4f2bb48743..693750860d 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.15.bb
@@ -5,7 +5,7 @@ KCONFIG_MODE = "--allnoconfig"
require recipes-kernel/linux/linux-yocto.inc
-LINUX_VERSION ?= "5.15.68"
+LINUX_VERSION ?= "5.15.72"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -14,8 +14,8 @@ DEPENDS += "openssl-native util-linux-native"
KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
-SRCREV_machine ?= "33e7eea5c4545a973cf01a849c2b45fa0cd1fa13"
-SRCREV_meta ?= "1128d7bcdcde490d4f35cc00c97f5410bb240d99"
+SRCREV_machine ?= "34404e5be3791dac897da77afa6c7fa00c993f78"
+SRCREV_meta ?= "c6aba7f07aae15d63bccf5b072a6e70602c2bcef"
PV = "${LINUX_VERSION}+git${SRCPV}"
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.15.bb b/meta/recipes-kernel/linux/linux-yocto_5.15.bb
index 2f91fb7a37..792cf41a53 100644
--- a/meta/recipes-kernel/linux/linux-yocto_5.15.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_5.15.bb
@@ -13,24 +13,24 @@ KBRANCH:qemux86 ?= "v5.15/standard/base"
KBRANCH:qemux86-64 ?= "v5.15/standard/base"
KBRANCH:qemumips64 ?= "v5.15/standard/mti-malta64"
-SRCREV_machine:qemuarm ?= "efe28b4b16d4a1a19f59b4650a0bfb23ffc8c40e"
-SRCREV_machine:qemuarm64 ?= "66986670c45f63d2ed2078e07aa817ede88025ad"
-SRCREV_machine:qemumips ?= "aeeb80fd7f684aca830adb7daf32cfd80637cf3a"
-SRCREV_machine:qemuppc ?= "5c6387a562af89ec92546c1374a120ac240f14e6"
-SRCREV_machine:qemuriscv64 ?= "0e51e571701842db33ad96f6ddc8cc6b23230627"
-SRCREV_machine:qemuriscv32 ?= "0e51e571701842db33ad96f6ddc8cc6b23230627"
-SRCREV_machine:qemux86 ?= "0e51e571701842db33ad96f6ddc8cc6b23230627"
-SRCREV_machine:qemux86-64 ?= "0e51e571701842db33ad96f6ddc8cc6b23230627"
-SRCREV_machine:qemumips64 ?= "20ec37851f4ee9965120937dcf2567f15e72e07a"
-SRCREV_machine ?= "0e51e571701842db33ad96f6ddc8cc6b23230627"
-SRCREV_meta ?= "1128d7bcdcde490d4f35cc00c97f5410bb240d99"
+SRCREV_machine:qemuarm ?= "84a35b23cf4c520894d0d1b91628eb019dc7901a"
+SRCREV_machine:qemuarm64 ?= "e939c4ebc789805c00a36eaf4a190df6f8f51470"
+SRCREV_machine:qemumips ?= "1adf4e5b574a5d23b4724766890ea74101d04abd"
+SRCREV_machine:qemuppc ?= "7220def162c7b2d3b4f1c6c86de0ecc19ade7d5f"
+SRCREV_machine:qemuriscv64 ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c"
+SRCREV_machine:qemuriscv32 ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c"
+SRCREV_machine:qemux86 ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c"
+SRCREV_machine:qemux86-64 ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c"
+SRCREV_machine:qemumips64 ?= "3840e1613b7fe9cc68e9cdfcaf7afa5e14fa8344"
+SRCREV_machine ?= "0b628306d1f9ea28c0e86369ce9bb87a47893c9c"
+SRCREV_meta ?= "c6aba7f07aae15d63bccf5b072a6e70602c2bcef"
# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
# get the <version>/base branch, which is pure upstream -stable, and the same
# meta SRCREV as the linux-yocto-standard builds. Select your version using the
# normal PREFERRED_VERSION settings.
BBCLASSEXTEND = "devupstream:target"
-SRCREV_machine:class-devupstream ?= "dd20085f2a88b6cdb12bdcdbd2d7a761c86b184a"
+SRCREV_machine:class-devupstream ?= "c68173b2012b8eba332cf9832f0ad23427d795b5"
PN:class-devupstream = "linux-yocto-upstream"
KBRANCH:class-devupstream = "v5.15/base"
@@ -38,7 +38,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.15;destsuffix=${KMETA}"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
-LINUX_VERSION ?= "5.15.68"
+LINUX_VERSION ?= "5.15.72"
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
DEPENDS += "openssl-native util-linux-native"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 11/25] linux-firmware: split rtl8761 firmware
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (9 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 10/25] linux-yocto/5.15: update to v5.15.72 Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 12/25] linux-firmware: package amdgpu firmware Steve Sakoman
` (13 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Christian Eggers <ceggers@arri.de>
Realtek Bluetooth devices require binary firmware files. Package them
separately in order to avoid installing the full linux-firmware package
on embedded devices.
Affected (end user) products (incomplete list):
- TP-Link UB500
- Logilink BT0054
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fb44eb4feef54f2343c8186809a65dcb9b58a9b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../linux-firmware/linux-firmware_20220913.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
index 45c9d0e861..eea9251a84 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
@@ -235,6 +235,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
${PN}-vt6656-license ${PN}-vt6656 \
${PN}-rs9113 ${PN}-rs9116 \
${PN}-rtl-license ${PN}-rtl8188 ${PN}-rtl8192cu ${PN}-rtl8192ce ${PN}-rtl8192su ${PN}-rtl8723 ${PN}-rtl8821 \
+ ${PN}-rtl8761 \
${PN}-rtl8168 \
${PN}-cypress-license \
${PN}-broadcom-license \
@@ -563,6 +564,7 @@ LICENSE:${PN}-rtl8192cu = "Firmware-rtlwifi_firmware"
LICENSE:${PN}-rtl8192ce = "Firmware-rtlwifi_firmware"
LICENSE:${PN}-rtl8192su = "Firmware-rtlwifi_firmware"
LICENSE:${PN}-rtl8723 = "Firmware-rtlwifi_firmware"
+LICENSE:${PN}-rtl8761 = "Firmware-rtlwifi_firmware"
LICENSE:${PN}-rtl8821 = "Firmware-rtlwifi_firmware"
LICENSE:${PN}-rtl-license = "Firmware-rtlwifi_firmware"
LICENSE:${PN}-rtl8168 = "WHENCE"
@@ -588,6 +590,9 @@ FILES:${PN}-rtl8723 = " \
FILES:${PN}-rtl8821 = " \
${nonarch_base_libdir}/firmware/rtlwifi/rtl8821*.bin \
"
+FILES:${PN}-rtl8761 = " \
+ ${nonarch_base_libdir}/firmware/rtl_bt/rtl8761*.bin \
+"
FILES:${PN}-rtl8168 = " \
${nonarch_base_libdir}/firmware/rtl_nic/rtl8168*.fw \
"
@@ -598,6 +603,7 @@ RDEPENDS:${PN}-rtl8192cu += "${PN}-rtl-license"
RDEPENDS:${PN}-rtl8192su = "${PN}-rtl-license"
RDEPENDS:${PN}-rtl8723 += "${PN}-rtl-license"
RDEPENDS:${PN}-rtl8821 += "${PN}-rtl-license"
+RDEPENDS:${PN}-rtl8761 += "${PN}-rtl-license"
RDEPENDS:${PN}-rtl8168 += "${PN}-whence-license"
# For ti-connectivity
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 12/25] linux-firmware: package amdgpu firmware
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (10 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 11/25] linux-firmware: split rtl8761 firmware Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 13/25] kern-tools: fix relative path processing Steve Sakoman
` (12 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Vincent Davis Jr <vince@underview.tech>
Add packages for the firmware required by amdgpu kernel driver.
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0d7aa21f120a756d1a4fc4ae0be3527b54a58247)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
.../linux-firmware/linux-firmware_20220913.bb | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
index eea9251a84..8f921e2d0e 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20220913.bb
@@ -228,6 +228,7 @@ do_install() {
PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
${PN}-mt7601u-license ${PN}-mt7601u \
${PN}-radeon-license ${PN}-radeon \
+ ${PN}-amdgpu-license ${PN}-amdgpu \
${PN}-marvell-license ${PN}-pcie8897 ${PN}-pcie8997 \
${PN}-sd8686 ${PN}-sd8688 ${PN}-sd8787 ${PN}-sd8797 ${PN}-sd8801 \
${PN}-sd8887 ${PN}-sd8897 ${PN}-sd8997 ${PN}-usb8997 \
@@ -429,6 +430,17 @@ FILES:${PN}-radeon = " \
RDEPENDS:${PN}-radeon += "${PN}-radeon-license"
+# For amdgpu
+LICENSE:${PN}-amdgpu = "Firmware-amdgpu"
+LICENSE:${PN}-amdgpu-license = "Firmware-amdgpu"
+
+FILES:${PN}-amdgpu-license = "${nonarch_base_libdir}/firmware/LICENSE.amdgpu"
+FILES:${PN}-amdgpu = " \
+ ${nonarch_base_libdir}/firmware/amdgpu \
+"
+
+RDEPENDS:${PN}-amdgpu += "${PN}-amdgpu-license"
+
# For lontium
LICENSE:${PN}-lt9611uxc = "Firmware-Lontium"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 13/25] kern-tools: fix relative path processing
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (11 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 12/25] linux-firmware: package amdgpu firmware Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 14/25] kernel-yocto: improve fatal error messages of symbol_why.py Steve Sakoman
` (11 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Bruce Ashfield <bruce.ashfield@gmail.com>
The previous fix for processing of paths with relative components, broke
uses cases that were a mix of patches and configuration fragments.
Updating the SRCREV to include a simplied fix for relative paths, and
a cleanup patch from Jose:
[
Author: Jose Quaresma <quaresma.jose@gmail.com>
Date: Thu Sep 29 16:37:23 2022 +0000
scc: only look for error in scc_output_file if it has valid content
When process_file function fails the output of the processed script is show to
the user, some parsing is performed as well to look for common errors so we
can point to the right input file.
This can only be done when the scc_output_file have some valid content
otherwise it will show invalid messages to the user.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Wed Oct 5 19:13:33 2022 +0000
spp: ensure that prefix check uses absolute paths
The previous fix for this issue was too broad, and impacted
all calls to the prefix check and removal. With this change,
we only expand the input on scc/spp operations that may
execute with relative paths.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 533720a1756454447341769c4a0969fce8d6f287)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index dea7b65a7c..07d7daf5fb 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "\
DEPENDS = "git-native"
-SRCREV = "ba600ef61a85966596126a6e8d936971905e8749"
+SRCREV = "6a4752ebbe7d242c02b3c74a5772926edd243626"
PV = "0.3+git${SRCPV}"
inherit native
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 14/25] kernel-yocto: improve fatal error messages of symbol_why.py
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (12 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 13/25] kern-tools: fix relative path processing Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 15/25] kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all Steve Sakoman
` (10 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Jose Quaresma <quaresma.jose@gmail.com>
Improve the fatal error message of the yocto-kernel-tools symbol_why.py
and shows the command that generate the error as it can help understand
the root cause of the error.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 54ae08779071f2e97bff0ff6514ede3124312c3b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/kernel-yocto.bbclass | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index e8046bb8f6..82e792351f 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -500,7 +500,7 @@ python do_config_analysis() {
try:
analysis = subprocess.check_output(['symbol_why.py', '--dotconfig', '{}'.format( d.getVar('B') + '/.config' ), '--blame', c], cwd=s, env=env ).decode('utf-8')
except subprocess.CalledProcessError as e:
- bb.fatal( "config analysis failed: %s" % e.output.decode('utf-8'))
+ bb.fatal( "config analysis failed when running '%s': %s" % (" ".join(e.cmd), e.output.decode('utf-8')))
outfile = d.getVar( 'CONFIG_ANALYSIS_FILE' )
@@ -508,7 +508,7 @@ python do_config_analysis() {
try:
analysis = subprocess.check_output(['symbol_why.py', '--dotconfig', '{}'.format( d.getVar('B') + '/.config' ), '--summary', '--extended', '--sanity', c], cwd=s, env=env ).decode('utf-8')
except subprocess.CalledProcessError as e:
- bb.fatal( "config analysis failed: %s" % e.output.decode('utf-8'))
+ bb.fatal( "config analysis failed when running '%s': %s" % (" ".join(e.cmd), e.output.decode('utf-8')))
outfile = d.getVar( 'CONFIG_AUDIT_FILE' )
@@ -569,7 +569,7 @@ python do_kernel_configcheck() {
try:
analysis = subprocess.check_output(['symbol_why.py', '--dotconfig', '{}'.format( d.getVar('B') + '/.config' ), '--mismatches', extra_params], cwd=s, env=env ).decode('utf-8')
except subprocess.CalledProcessError as e:
- bb.fatal( "config analysis failed: %s" % e.output.decode('utf-8'))
+ bb.fatal( "config analysis failed when running '%s': %s" % (" ".join(e.cmd), e.output.decode('utf-8')))
if analysis:
outfile = "{}/{}/cfg/mismatch.txt".format( s, kmeta )
@@ -591,7 +591,7 @@ python do_kernel_configcheck() {
try:
analysis = subprocess.check_output(['symbol_why.py', '--dotconfig', '{}'.format( d.getVar('B') + '/.config' ), '--invalid', extra_params], cwd=s, env=env ).decode('utf-8')
except subprocess.CalledProcessError as e:
- bb.fatal( "config analysis failed: %s" % e.output.decode('utf-8'))
+ bb.fatal( "config analysis failed when running '%s': %s" % (" ".join(e.cmd), e.output.decode('utf-8')))
if analysis:
outfile = "{}/{}/cfg/invalid.txt".format(s,kmeta)
@@ -610,7 +610,7 @@ python do_kernel_configcheck() {
try:
analysis = subprocess.check_output(['symbol_why.py', '--dotconfig', '{}'.format( d.getVar('B') + '/.config' ), '--sanity'], cwd=s, env=env ).decode('utf-8')
except subprocess.CalledProcessError as e:
- bb.fatal( "config analysis failed: %s" % e.output.decode('utf-8'))
+ bb.fatal( "config analysis failed when running '%s': %s" % (" ".join(e.cmd), e.output.decode('utf-8')))
if analysis:
outfile = "{}/{}/cfg/redefinition.txt".format(s,kmeta)
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 15/25] kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (13 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 14/25] kernel-yocto: improve fatal error messages of symbol_why.py Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 16/25] vulkan-samples: add lfs=0 to SRC_URI to avoid git smudge errors in do_unpack Steve Sakoman
` (9 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Sean Anderson <sean.anderson@seco.com>
Replacing sysroot_stage_all by a no-op recipe makes it difficult for
bbappends to stage files intentionally. Instead, just clear
SYSROOT_DIRS, allowing other bbappends to easily add new directories.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 849791e7086463a4c7c53c2c1ed9603a6c3a080d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/kernel.bbclass | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 8dff68612d..d878d4e167 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -588,9 +588,7 @@ do_shared_workdir () {
}
# We don't need to stage anything, not the modules/firmware since those would clash with linux-firmware
-sysroot_stage_all () {
- :
-}
+SYSROOT_DIRS = ""
KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || oe_runmake -C ${S} O=${B} oldnoconfig"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 16/25] vulkan-samples: add lfs=0 to SRC_URI to avoid git smudge errors in do_unpack
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (14 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 15/25] kernel: Clear SYSROOT_DIRS instead of replacing sysroot_stage_all Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 17/25] xserver-xorg: move some recommended dependencies in required Steve Sakoman
` (8 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Martin Jansa <Martin.Jansa@gmail.com>
* we don't need other_lib/ios/Debug-iphoneos/libSDL2.a from
https://github.com/KhronosGroup/KTX-Software.git so we can explicitly
disable LFS here to avoid do_unpack error, bitbake will then use
GIT_LFS_SKIP_SMUDGE=1 to override smudge setting in gitconfig,
otherwise we would need bitbake patch to fetch LFS objects from the
submodules as well
* do_fetch won't fetch LFS objects without explicitly requesting lfs in SRC_URI
then do_unpack might run git smudge when enabled in .gitconfig (or /etc/gitconfig) with:
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
and do_unpack fails as in:
http://errors.yoctoproject.org/Errors/Details/672888/
The default /etc/gitconfig in ubuntu has this added automatically by
git-lfs postinst:
root@ljama:~# rm /etc/gitconfig
root@ljama:~# git lfs install --skip-repo --system
Git LFS initialized.
root@ljama:~# cat /etc/gitconfig
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
root@ljama:~# cat /var/lib/dpkg/info/git-lfs.postinst
set -e
# Set up /etc/gitconfig for git-lfs. The --skip-repo option prevents failure if
# / is a Git repository with existing non-git-lfs hooks.
git lfs install --skip-repo --system > /dev/null 2>&1
according to
https://changelogs.ubuntu.com/changelogs/pool/universe/g/git-lfs/git-lfs_3.0.2-1/changelog
it was added in:
git-lfs (2.6.0-1) unstable; urgency=medium
* New upstream release
* Bump standards version to 4.2.1
* Add postinst/prerm to set up/remove git-lfs gitconfig
FWIW: vulkan-samples still fail to build with DEBUG_BUILD enabled:
http://errors.yoctoproject.org/Errors/Details/672892/
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b45b1f5dba02a626b7e9040d45198bd17dce4c99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
index 53c7254ce7..3ad16490ce 100644
--- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
@@ -5,7 +5,7 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=48aa35cefb768436223a6e7f18dc2a2a"
-SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=master;protocol=https \
+SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=master;protocol=https;lfs=0 \
file://0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch \
file://debugfix.patch \
"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 17/25] xserver-xorg: move some recommended dependencies in required
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (15 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 16/25] vulkan-samples: add lfs=0 to SRC_URI to avoid git smudge errors in do_unpack Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 18/25] create-spdx: Remove ";name=..." for downloadLocation Steve Sakoman
` (7 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Thomas Perrot <thomas.perrot@bootlin.com>
Otherwise, xserver will no longer start when NO_RECOMMENDATIONS = “1”,
because dependencies in XSERVER_RRECOMMENDS are missing.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bc7bd3953f3896af0db036250cda34bc9ecbb3ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 057a1ba6ad..6b11c79be6 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -80,9 +80,9 @@ PACKAGES =+ "${PN}-sdl \
SUMMARY:xf86-video-modesetting = "X.Org X server -- modesetting display driver"
INSANE_SKIP:${MLPREFIX}xf86-video-modesetting = "xorg-driver-abi"
-XSERVER_RRECOMMENDS = "xkeyboard-config rgb xserver-xf86-config xkbcomp xf86-input-libinput"
-RRECOMMENDS:${PN} += "${XSERVER_RRECOMMENDS}"
-RRECOMMENDS:${PN}-xwayland += "${XSERVER_RRECOMMENDS}"
+XSERVER_RDEPENDS = "xkeyboard-config rgb xserver-xf86-config xkbcomp xf86-input-libinput"
+RDEPENDS:${PN} += "${XSERVER_RDEPENDS}"
+RDEPENDS:${PN}-xwayland += "${XSERVER_RDEPENDS}"
RDEPENDS:${PN}-xvfb += "xkeyboard-config"
RDEPENDS:${PN}-module-exa = "${PN} (= ${EXTENDPKGV})"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 18/25] create-spdx: Remove ";name=..." for downloadLocation
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (16 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 17/25] xserver-xorg: move some recommended dependencies in required Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 19/25] wic: honor the SOURCE_DATE_EPOCH in case of updated fstab Steve Sakoman
` (6 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Keiya Nobuta <nobuta.keiya@fujitsu.com>
Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bbecab53d1b27f3bb8c5882cb0ec39b04ef300a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/create-spdx.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/create-spdx.bbclass b/meta/classes/create-spdx.bbclass
index d735f20c20..d0bfcc7de6 100644
--- a/meta/classes/create-spdx.bbclass
+++ b/meta/classes/create-spdx.bbclass
@@ -451,6 +451,7 @@ python do_create_spdx() {
for s in d.getVar('SRC_URI').split():
if not s.startswith("file://"):
+ s = s.split(';')[0]
recipe.downloadLocation = s
break
else:
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 19/25] wic: honor the SOURCE_DATE_EPOCH in case of updated fstab
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (17 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 18/25] create-spdx: Remove ";name=..." for downloadLocation Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 20/25] externalsrc.bbclass: fix git repo detection Steve Sakoman
` (5 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Sergei Zhmylev <s.zhmylev@yadro.com>
In case user requested to build a binary repeatable package,
it's required to honor the SOURCE_DATE_EPOCH environment
variable. So forcefully set mtime inside all the routines
which modify fstab in case it is updated.
Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 99719a3712a88dce8450994d995803e126e49115)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
scripts/lib/wic/partition.py | 7 ++++++-
scripts/lib/wic/plugins/imager/direct.py | 3 +++
scripts/lib/wic/plugins/source/rootfs.py | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index 09e491dd49..7c288d2958 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -293,6 +293,11 @@ class Partition():
f.write("cd etc\n")
f.write("rm fstab\n")
f.write("write %s fstab\n" % (self.updated_fstab_path))
+ if os.getenv('SOURCE_DATE_EPOCH'):
+ fstab_time = int(os.getenv('SOURCE_DATE_EPOCH'))
+ for time in ["atime", "mtime", "ctime"]:
+ f.write("set_inode_field fstab %s %s\n" % (time, hex(fstab_time)))
+ f.write("set_inode_field fstab %s_extra 0\n" % (time))
debugfs_cmd = "debugfs -w -f %s %s" % (debugfs_script_path, rootfs)
exec_native_cmd(debugfs_cmd, native_sysroot)
@@ -352,7 +357,7 @@ class Partition():
exec_native_cmd(mcopy_cmd, native_sysroot)
if self.updated_fstab_path and self.has_fstab and not self.no_fstab_update:
- mcopy_cmd = "mcopy -i %s %s ::/etc/fstab" % (rootfs, self.updated_fstab_path)
+ mcopy_cmd = "mcopy -m -i %s %s ::/etc/fstab" % (rootfs, self.updated_fstab_path)
exec_native_cmd(mcopy_cmd, native_sysroot)
chmod_cmd = "chmod 644 %s" % rootfs
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index 4d0b836ef6..685d19b30f 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -148,6 +148,9 @@ class DirectPlugin(ImagerPlugin):
self.updated_fstab_path = os.path.join(self.workdir, "fstab")
with open(self.updated_fstab_path, "w") as f:
f.writelines(fstab_lines)
+ if os.getenv('SOURCE_DATE_EPOCH'):
+ fstab_time = int(os.getenv('SOURCE_DATE_EPOCH'))
+ os.utime(self.updated_fstab_path, (fstab_time, fstab_time))
def _full_path(self, path, name, extention):
""" Construct full file path to a file we generate. """
diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py
index fc06312ee4..e29f3a4c2f 100644
--- a/scripts/lib/wic/plugins/source/rootfs.py
+++ b/scripts/lib/wic/plugins/source/rootfs.py
@@ -224,7 +224,7 @@ class RootfsPlugin(SourcePlugin):
if part.update_fstab_in_rootfs and part.has_fstab and not part.no_fstab_update:
fstab_path = os.path.join(new_rootfs, "etc/fstab")
# Assume that fstab should always be owned by root with fixed permissions
- install_cmd = "install -m 0644 %s %s" % (part.updated_fstab_path, fstab_path)
+ install_cmd = "install -m 0644 -p %s %s" % (part.updated_fstab_path, fstab_path)
if new_pseudo:
pseudo = cls.__get_pseudo(native_sysroot, new_rootfs, new_pseudo)
else:
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 20/25] externalsrc.bbclass: fix git repo detection
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (18 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 19/25] wic: honor the SOURCE_DATE_EPOCH in case of updated fstab Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 21/25] externalsrc.bbclass: Remove a trailing slash from ${B} Steve Sakoman
` (4 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Martin Jansa <Martin.Jansa@gmail.com>
* fix issue introduced in:
https://git.openembedded.org/openembedded-core/commit/?id=95fbac8dcad6c93f4c9737e9fe13e92ab6befa09
* it added check for s_dir + git-dir (typically '.git') isn't
the same as ${TOPDIR} + git-dir, but due to copy-paste issue
it was just comparing it with s_dir + git-dir again, resulting
in most external repos (where git-dir is '.git') to be processed
as regular directory (not taking advantage of git write-tree).
* normally this wouldn't be an issue, but for big repo with a lot of
files this added a lot of checksums in:
d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}')
and I mean *a lot, e.g. in chromium build it was 380227 paths
which still wouldn't that bad, but the checksum processing in
siggen.py isn't trivial and just looping through all these
checksums takes very long time (over 1000sec on fast NVME drive
with warm cache) and then
https://git.openembedded.org/bitbake/commit/?id=b4975d2ecf615ac4c240808fbc5a3f879a93846b
made the processing a bit more complicated and the loop in
get_taskhash() function took 6448sec and to make things worse
there was no output from bitbake during that time, so even with -DDD
it looks like this:
DEBUG: virtual/libgles2 resolved to: mesa (langdale/oe-core/meta/recipes-graphics/mesa/mesa_22.2.0.bb)
Bitbake still alive (no events for 600s). Active tasks:
Bitbake still alive (no events for 1200s). Active tasks:
Bitbake still alive (no events for 1800s). Active tasks:
Bitbake still alive (no events for 2400s). Active tasks:
Bitbake still alive (no events for 3000s). Active tasks:
Bitbake still alive (no events for 3600s). Active tasks:
Bitbake still alive (no events for 4200s). Active tasks:
Bitbake still alive (no events for 4800s). Active tasks:
Bitbake still alive (no events for 5400s). Active tasks:
Bitbake still alive (no events for 6000s). Active tasks:
DEBUG: Starting bitbake-worker
without -DDD it will get stuck for almost 2 hours in:
"Initialising tasks..."
before it finally writes sstate summary like:
"Sstate summary: Wanted 3102 Local 0 Mirrors 0 Missed 3102 Current 1483 (0% match, 32% complete)"
* fix the copy&paste typo to use git work-tree in most cases, but
be aware that this issue still exists for huge local source
trees not in git
[YOCTO #14942]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9102e5a94b8146cb1da27afbe41d3db999a914ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/externalsrc.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 8136d25cb1..880556b834 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -211,8 +211,8 @@ def srctree_hash_files(d, srcdir=None):
try:
git_dir = os.path.join(s_dir,
subprocess.check_output(['git', '-C', s_dir, 'rev-parse', '--git-dir'], stderr=subprocess.DEVNULL).decode("utf-8").rstrip())
- top_git_dir = os.path.join(s_dir, subprocess.check_output(['git', '-C', d.getVar("TOPDIR"), 'rev-parse', '--git-dir'],
- stderr=subprocess.DEVNULL).decode("utf-8").rstrip())
+ top_git_dir = os.path.join(d.getVar("TOPDIR"),
+ subprocess.check_output(['git', '-C', d.getVar("TOPDIR"), 'rev-parse', '--git-dir'], stderr=subprocess.DEVNULL).decode("utf-8").rstrip())
if git_dir == top_git_dir:
git_dir = None
except subprocess.CalledProcessError:
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 21/25] externalsrc.bbclass: Remove a trailing slash from ${B}
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (19 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 20/25] externalsrc.bbclass: fix git repo detection Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 22/25] externalsrc: git submodule--helper list unsupported Steve Sakoman
` (3 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
The trailing slash in ${B} caused -fdebug-prefix-map=${B}=... to not
match as intended, resulting in ${TMPDIR} ending up in files in
${PN}-dbg when externalsrc was in use, which in turn triggered buildpath
QA warnings.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b5031ed5a0d102905fa75acc418246c23df6eef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/externalsrc.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 880556b834..d87363a88c 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -60,7 +60,7 @@ python () {
if externalsrcbuild:
d.setVar('B', externalsrcbuild)
else:
- d.setVar('B', '${WORKDIR}/${BPN}-${PV}/')
+ d.setVar('B', '${WORKDIR}/${BPN}-${PV}')
local_srcuri = []
fetch = bb.fetch2.Fetch((d.getVar('SRC_URI') or '').split(), d)
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 22/25] externalsrc: git submodule--helper list unsupported
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (20 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 21/25] externalsrc.bbclass: Remove a trailing slash from ${B} Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 23/25] gstreamer1.0-libav: fix errors with ffmpeg 5.x Steve Sakoman
` (2 subsequent siblings)
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: John Edward Broadbent <jebr@google.com>
Git has removed support for "git submodule--helper list".
https://github.com/git/git/commit/31955475d1c283120d5d84247eb3fd55d9f5fdd9
This change provides an alternate method for gathering the submodules
information.
Tested:
Build recipes with and without submodules
Signed-off-by: Carson Labrado <clabrado@google.com>
Signed-off-by: John Edward Broadbent <jebr@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d9364e5f3535954f65cbbc694ee7933ac1d664f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/externalsrc.bbclass | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index d87363a88c..a6a8ca6318 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -229,15 +229,16 @@ def srctree_hash_files(d, srcdir=None):
env['GIT_INDEX_FILE'] = tmp_index.name
subprocess.check_output(['git', 'add', '-A', '.'], cwd=s_dir, env=env)
git_sha1 = subprocess.check_output(['git', 'write-tree'], cwd=s_dir, env=env).decode("utf-8")
- submodule_helper = subprocess.check_output(['git', 'submodule--helper', 'list'], cwd=s_dir, env=env).decode("utf-8")
- for line in submodule_helper.splitlines():
- module_dir = os.path.join(s_dir, line.rsplit(maxsplit=1)[1])
- if os.path.isdir(module_dir):
- proc = subprocess.Popen(['git', 'add', '-A', '.'], cwd=module_dir, env=env, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
- proc.communicate()
- proc = subprocess.Popen(['git', 'write-tree'], cwd=module_dir, env=env, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
- stdout, _ = proc.communicate()
- git_sha1 += stdout.decode("utf-8")
+ if os.path.exists(".gitmodules"):
+ submodule_helper = subprocess.check_output(["git", "config", "--file", ".gitmodules", "--get-regexp", "path"], cwd=s_dir, env=env).decode("utf-8")
+ for line in submodule_helper.splitlines():
+ module_dir = os.path.join(s_dir, line.rsplit(maxsplit=1)[1])
+ if os.path.isdir(module_dir):
+ proc = subprocess.Popen(['git', 'add', '-A', '.'], cwd=module_dir, env=env, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
+ proc.communicate()
+ proc = subprocess.Popen(['git', 'write-tree'], cwd=module_dir, env=env, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
+ stdout, _ = proc.communicate()
+ git_sha1 += stdout.decode("utf-8")
sha1 = hashlib.sha1(git_sha1.encode("utf-8")).hexdigest()
with open(oe_hash_file, 'w') as fobj:
fobj.write(sha1)
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 23/25] gstreamer1.0-libav: fix errors with ffmpeg 5.x
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (21 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 22/25] externalsrc: git submodule--helper list unsupported Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 24/25] uboot-sign: Fix using wrong KEY_REQ_ARGS Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 25/25] mirrors.bbclass: use shallow tarball for binutils-native Steve Sakoman
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Claus Stovgaard <claus.stovgaard@gmail.com>
Backport of patch already present upstream to fix issues with invalid
characters for GLIB when combining gstreamer1.0-libav with ffmpeg 5.x.
Remove when gstreamer1.0-libav is upgraded to 1.21.1 or above
Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 703ff945557ad307bbe4ba0b0b7f1a2e5b4b847e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
...r-APNG-encoder-property-registration.patch | 86 +++++++++++++++++++
.../gstreamer/gstreamer1.0-libav_1.20.3.bb | 4 +-
2 files changed, 89 insertions(+), 1 deletion(-)
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-libav-Fix-for-APNG-encoder-property-registration.patch
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-libav-Fix-for-APNG-encoder-property-registration.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-libav-Fix-for-APNG-encoder-property-registration.patch
new file mode 100644
index 0000000000..526bbb0037
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-libav-Fix-for-APNG-encoder-property-registration.patch
@@ -0,0 +1,86 @@
+From 78a97c1ec35ada76d83fc67d0549ba56c74d8875 Mon Sep 17 00:00:00 2001
+From: Seungha Yang <seungha@centricular.com>
+Date: Thu, 7 Jul 2022 22:16:30 +0900
+Subject: [PATCH] libav: Fix for APNG encoder property registration
+
+The AVClass name of Animated PNG in FFmpeg 5.x is "(A)PNG"
+and it will be converted to "-a-png" through
+g_ascii_strdown() and g_strcanon(). But GLib disallow leading '-'
+character for a GType name. Strip leading '-' to workaround it.
+
+Upstream-Status: Backport [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2724]
+
+Seungha Yangs patch was imported without modifications.
+
+Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
+---
+ ext/libav/gstavcfg.c | 29 +++++++++++++++++++++++------
+ 1 file changed, 23 insertions(+), 6 deletions(-)
+
+diff --git a/ext/libav/gstavcfg.c b/ext/libav/gstavcfg.c
+index c736920..a8635a7 100644
+--- a/ext/libav/gstavcfg.c
++++ b/ext/libav/gstavcfg.c
+@@ -91,10 +91,19 @@ register_enum (const AVClass ** obj, const AVOption * top_opt)
+ gchar *lower_obj_name = g_ascii_strdown ((*obj)->class_name, -1);
+ gchar *enum_name = g_strdup_printf ("%s-%s", lower_obj_name, top_opt->unit);
+ gboolean none_default = TRUE;
++ const gchar *enum_name_strip;
+
+ g_strcanon (enum_name, G_CSET_a_2_z G_CSET_DIGITS, '-');
+
+- if ((res = g_type_from_name (enum_name)))
++ /* strip leading '-'s */
++ enum_name_strip = enum_name;
++ while (enum_name_strip[0] == '-')
++ enum_name_strip++;
++
++ if (enum_name_strip[0] == '\0')
++ goto done;
++
++ if ((res = g_type_from_name (enum_name_strip)))
+ goto done;
+
+ while ((opt = av_opt_next (obj, opt))) {
+@@ -150,9 +159,8 @@ register_enum (const AVClass ** obj, const AVOption * top_opt)
+ }
+ }
+
+- res =
+- g_enum_register_static (enum_name, &g_array_index (values, GEnumValue,
+- 0));
++ res = g_enum_register_static (enum_name_strip,
++ &g_array_index (values, GEnumValue, 0));
+
+ gst_type_mark_as_plugin_api (res, 0);
+ }
+@@ -177,10 +185,19 @@ register_flags (const AVClass ** obj, const AVOption * top_opt)
+ GArray *values = g_array_new (TRUE, TRUE, sizeof (GEnumValue));
+ gchar *lower_obj_name = g_ascii_strdown ((*obj)->class_name, -1);
+ gchar *flags_name = g_strdup_printf ("%s-%s", lower_obj_name, top_opt->unit);
++ const gchar *flags_name_strip;
+
+ g_strcanon (flags_name, G_CSET_a_2_z G_CSET_DIGITS, '-');
+
+- if ((res = g_type_from_name (flags_name)))
++ /* strip leading '-'s */
++ flags_name_strip = flags_name;
++ while (flags_name_strip[0] == '-')
++ flags_name_strip++;
++
++ if (flags_name_strip[0] == '\0')
++ goto done;
++
++ if ((res = g_type_from_name (flags_name_strip)))
+ goto done;
+
+ while ((opt = av_opt_next (obj, opt))) {
+@@ -211,7 +228,7 @@ register_flags (const AVClass ** obj, const AVOption * top_opt)
+ g_array_sort (values, (GCompareFunc) cmp_flags_value);
+
+ res =
+- g_flags_register_static (flags_name, &g_array_index (values,
++ g_flags_register_static (flags_name_strip, &g_array_index (values,
+ GFlagsValue, 0));
+
+ gst_type_mark_as_plugin_api (res, 0);
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.bb
index e8da49af99..7a2c0d1365 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.20.3.bb
@@ -11,7 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \
file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \
"
-SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz"
+SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \
+ file://0001-libav-Fix-for-APNG-encoder-property-registration.patch \
+ "
SRC_URI[sha256sum] = "3fedd10560fcdfaa1b6462cbf79a38c4e7b57d7f390359393fc0cef6dbf27dfe"
S = "${WORKDIR}/gst-libav-${PV}"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 24/25] uboot-sign: Fix using wrong KEY_REQ_ARGS
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (22 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 23/25] gstreamer1.0-libav: fix errors with ffmpeg 5.x Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
2022-11-07 15:36 ` [OE-core][kirkstone 25/25] mirrors.bbclass: use shallow tarball for binutils-native Steve Sakoman
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Sean Anderson <sean.anderson@seco.com>
When generating our SPL-verifying certificate, we use FIT_KEY_REQ_ARGS,
which is intended for the U-Boot-verifying certificate. Instead, use
UBOOT_FIT_KEY_REQ_ARGS.
Fixes: 0e6b0fefa0 ("u-boot: Use a different Key for SPL signing")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit a2d939ccb182a1ad29280d236b9f9e1d09527af1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/uboot-sign.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass
index eecdec9160..6bb4ddc600 100644
--- a/meta/classes/uboot-sign.bbclass
+++ b/meta/classes/uboot-sign.bbclass
@@ -292,7 +292,7 @@ do_uboot_generate_rsa_keys() {
"${UBOOT_FIT_SIGN_NUMBITS}"
echo "Generating certificate for signing U-Boot fitImage"
- openssl req ${FIT_KEY_REQ_ARGS} "${UBOOT_FIT_KEY_SIGN_PKCS}" \
+ openssl req ${UBOOT_FIT_KEY_REQ_ARGS} "${UBOOT_FIT_KEY_SIGN_PKCS}" \
-key "${SPL_SIGN_KEYDIR}/${SPL_SIGN_KEYNAME}".key \
-out "${SPL_SIGN_KEYDIR}/${SPL_SIGN_KEYNAME}".crt
fi
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread* [OE-core][kirkstone 25/25] mirrors.bbclass: use shallow tarball for binutils-native
2022-11-07 15:36 [OE-core][kirkstone 00/25] Patch review Steve Sakoman
` (23 preceding siblings ...)
2022-11-07 15:36 ` [OE-core][kirkstone 24/25] uboot-sign: Fix using wrong KEY_REQ_ARGS Steve Sakoman
@ 2022-11-07 15:36 ` Steve Sakoman
24 siblings, 0 replies; 26+ messages in thread
From: Steve Sakoman @ 2022-11-07 15:36 UTC (permalink / raw)
To: openembedded-core
From: Etienne Cordonnier <ecordonnier@snap.com>
This is useful e.g. when using meta-clang, which introduces a dependency to binutils-native, and then a
full tarball of binutils is fetched additionally to a shallow tarball.
The original BB_GIT_SHALLOW lines were added because of https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg08752.html
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd83b8b502ae935c75b59aaf71bbb531c9771dcc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
meta/classes/mirrors.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index ffdccff5fb..b8926fa6e5 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -84,6 +84,7 @@ BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1"
BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1"
BB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1"
BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1"
+BB_GIT_SHALLOW:pn-binutils-native = "1"
BB_GIT_SHALLOW:pn-glibc = "1"
PREMIRRORS += "git://sourceware.org/git/glibc.git https://downloads.yoctoproject.org/mirror/sources/ \
git://sourceware.org/git/binutils-gdb.git https://downloads.yoctoproject.org/mirror/sources/"
--
2.25.1
^ permalink raw reply related [flat|nested] 26+ messages in thread