Review request
PATCH 4/37 gstreamer1.0-plugins-good: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
Drop backport patches:
* 0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch
* 0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/commit/a1bf3d8d540a25268d612a489e1e836d6ea737b0
---
...Fix-parsing-of-the-mediaclk-direct-f.patch | 33 ------
...from-static-vars-to-fix-build-with-g.patch | 100 ------------------
...bb => gstreamer1.0-plugins-good_1.18.5.bb} | 4 +-
3 files changed, 1 insertion(+), 136 deletions(-)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.18.4.bb => gstreamer1.0-plugins-good_1.18.5.bb} (93%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From ec1949dffd931d0ec7e4f67108a08ab1e2af0cfe Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <[email protected]> -Date: Tue, 16 Mar 2021 19:25:36 +0200 -Subject: [PATCH] rtpjitterbuffer: Fix parsing of the mediaclk:direct= field - -Due to an off-by-one when parsing the string, the most significant digit -or the clock offset was skipped when parsing the offset. - -Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/910> - -Upstream-Status: Backport [b5bb4ede3a42273fafc1054f9cf106ca527e3c26] - -Signed-off-by: Jose Quaresma <[email protected]> ---- - gst/rtpmanager/gstrtpjitterbuffer.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gst/rtpmanager/gstrtpjitterbuffer.c b/gst/rtpmanager/gstrtpjitterbuffer.c -index 60d8ad875..02fe15adc 100644 ---- a/gst/rtpmanager/gstrtpjitterbuffer.c -+++ b/gst/rtpmanager/gstrtpjitterbuffer.c -@@ -1534,7 +1534,7 @@ gst_jitter_buffer_sink_parse_caps (GstRtpJitterBuffer * jitterbuffer, - GST_DEBUG_OBJECT (jitterbuffer, "Got media clock %s", mediaclk); - - if (!g_str_has_prefix (mediaclk, "direct=") || -- !g_ascii_string_to_unsigned (&mediaclk[8], 10, 0, G_MAXUINT64, -+ !g_ascii_string_to_unsigned (&mediaclk[7], 10, 0, G_MAXUINT64, - &clock_offset, NULL)) - GST_FIXME_OBJECT (jitterbuffer, "Unsupported media clock"); - if (strstr (mediaclk, "rate=") != NULL) { --- -2.31.0 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch deleted +0 -100
100 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.4.bb +1 -3
@@ -6,11 +6,9 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz \ file://0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch \ - file://0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch \ - file://0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch \ " -SRC_URI[sha256sum] = "b6e50e3a9bbcd56ee6ec71c33aa8332cc9c926b0c1fae995aac8b3040ebe39b0" +SRC_URI[sha256sum] = "3aaeeea7765fbf8801acce4a503a9b05f73f04e8a35352e9d00232cfd555796b" S = "${WORKDIR}/gst-plugins-good-${PV}"
Signature · 1 line
2.31.1
PATCH 20/37 lttng-tools: replace ad hoc ptest fixup with upstream fixes
In reply to Anuj MittalFrom: Alexander Kanavin <[email protected]>
--- ...race-condition-in-test_event_tracker.patch | 221 ++++++++++++++++++ ...more-before-analysing-traces-or-star.patch | 88 ------- ...condition-in-test_ns_contexts_change.patch | 46 ++++ .../lttng/lttng-tools_2.13.0.bb | 3 +- 4 files changed, 269 insertions(+), 89 deletions(-) create mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-Fix-Tests-race-condition-in-test_event_tracker.patch delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-tests-wait-some-more-before-analysing-traces-or-star.patch create mode 100644 meta/recipes-kernel/lttng/lttng-tools/0002-Fix-Tests-race-condition-in-test_ns_contexts_change.patch
meta/recipes-kernel/lttng/lttng-tools/0001-Fix-Tests-race-condition-in-test_event_tracker.patch new file +221 -0
@@ -0,0 +1,221 @@ +From d3392e4850532c02e53e3c3ff1cc27df7e51c941 Mon Sep 17 00:00:00 2001 +From: Francis Deslauriers <[email protected]> +Date: Tue, 7 Sep 2021 17:10:31 -0400 +Subject: [PATCH 1/2] Fix: Tests: race condition in test_event_tracker +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Background +========== +The `test_event_tracker` file contains test cases when the event +generating app in executed in two distinct steps. Those two steps are +preparation and execution. + 1. the preparation is the launching the app in the background, and + 2. the execution is actually generating the event that should or + should not be traced depending on the test case. + +This is useful to test the tracker feature since we want to ensure that +already running apps are notified properly when changing their tracking +status. + +Issue +===== +The `test_event_vpid_track_untrack` test case suffers from a race +condition that is easy to reproduce on Yocto. + +The issue is that sometimes events are end up the trace when none is +expected. + +This is due to the absence of synchronization point at the launch of the +app which leads to the app being scheduled in-between the track-untrack +calls leading to events being recorded to the trace. + +It's easy to reproduce this issue on my machine by adding a `sleep 5` +between the track and untrack calls and setting the `NR_USEC_WAIT` +variable to 1. + +Fix +=== +Using the testapp `--sync-before-last-event-touch` flag to make the app +create a file when all but the last event are executed. We then have the +app wait until we create a file (`--sync-before-last-event`) to generate +that last event. This way, we are sure no event will be generated when +running the track and untrack commands. + +Notes +===== +- This issue affects other test cases in this file. +- This commit fixes a typo in the test header. +- This commit adds `diag` calls to help tracking to what test the output + relates to when reading the log. + +Signed-off-by: Francis Deslauriers <[email protected]> +Signed-off-by: Jérémie Galarneau <[email protected]> +Change-Id: Ia2b68128dc9a805526f9748f31ec2c2d95566f31 +Upstream-Status: Backport +Signed-off-by: Alexander Kanavin <[email protected]> +--- + .../tools/tracker/test_event_tracker | 56 ++++++++++++++----- + 1 file changed, 42 insertions(+), 14 deletions(-) + +diff --git a/tests/regression/tools/tracker/test_event_tracker b/tests/regression/tools/tracker/test_event_tracker +index feb3787..cc0f698 100755 +--- a/tests/regression/tools/tracker/test_event_tracker ++++ b/tests/regression/tools/tracker/test_event_tracker +@@ -5,7 +5,7 @@ + # + # SPDX-License-Identifier: GPL-2.0-only + +-TEST_DESC="LTTng - Event traker test" ++TEST_DESC="LTTng - Event tracker test" + + CURDIR=$(dirname "$0")/ + TESTDIR="$CURDIR/../../.." +@@ -15,7 +15,7 @@ TESTAPP_KERNEL_NAME="gen-kernel-test-events" + TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME" + TESTAPP_KERNEL_BIN="$TESTAPP_PATH/$TESTAPP_KERNEL_NAME/$TESTAPP_KERNEL_NAME" + SESSION_NAME="tracker" +-NR_ITER=100 ++NR_ITER=1 + NUM_GLOBAL_TESTS=2 + NUM_UST_TESTS=283 + NUM_KERNEL_TESTS=462 +@@ -30,27 +30,41 @@ SCRIPT_GROUPNAME="$(id -gn)" + + CHILD_PID=-1 + WAIT_PATH= +-AFTER_FIRST_PATH= +-BEFORE_LAST_PATH= ++TOUCH_BEFORE_LAST_PATH= ++SYNC_BEFORE_LAST_PATH= + + source $TESTDIR/utils/utils.sh + ++# Launch the testapp and execute it up until right before the last event. It is ++# useful to do it in two seperate steps in order to test tracking and ++# untracking on an active app. + function prepare_ust_app + { +- AFTER_FIRST_PATH=$(mktemp --tmpdir -u tmp.${FUNCNAME[0]}_sync_after_first.XXXXXX) +- BEFORE_LAST_PATH=$(mktemp --tmpdir -u tmp.${FUNCNAME[0]}_sync_before_last.XXXXXX) ++ TOUCH_BEFORE_LAST_PATH=$(mktemp --tmpdir -u tmp.${FUNCNAME[0]}_touch_before_last.XXXXXX) ++ SYNC_BEFORE_LAST_PATH=$(mktemp --tmpdir -u tmp.${FUNCNAME[0]}_sync_before_last.XXXXXX) ++ ++ $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT \ ++ --sync-before-last-event-touch "$TOUCH_BEFORE_LAST_PATH" \ ++ --sync-before-last-event "$SYNC_BEFORE_LAST_PATH" & + +- $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT -a "$AFTER_FIRST_PATH" -b "$BEFORE_LAST_PATH" & + CHILD_PID=$! ++ ++ # Wait for the app to execute all the way to right before the last ++ # event. ++ while [ ! -f "${TOUCH_BEFORE_LAST_PATH}" ]; do ++ sleep 0.5 ++ done + } + ++# Generate the last event. + function trace_ust_app + { +- touch "$BEFORE_LAST_PATH" +- wait ++ # Ask the test app to generate the last event. ++ touch "$SYNC_BEFORE_LAST_PATH" ++ wait "$CHILD_PID" + ok $? "Traced application stopped." +- rm "$BEFORE_LAST_PATH" +- rm "$AFTER_FIRST_PATH" ++ rm "$SYNC_BEFORE_LAST_PATH" ++ rm "$TOUCH_BEFORE_LAST_PATH" + } + + function prepare_kernel_app +@@ -64,7 +78,7 @@ function prepare_kernel_app + function trace_kernel_app + { + touch "$WAIT_PATH" +- wait ++ wait "$CHILD_PID" + ok $? "Traced application stopped." + rm "$WAIT_PATH" + } +@@ -78,6 +92,8 @@ function test_event_tracker() + local tracker="$4" + local channel='' + ++ diag "${FUNCNAME[0]} $*" ++ + trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) + + create_lttng_session_ok $SESSION_NAME "$trace_path" +@@ -117,6 +133,8 @@ function test_event_vpid_tracker() + local wildcard="$3" + local channel='' + ++ diag "${FUNCNAME[0]} $*" ++ + trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) + + create_lttng_session_ok $SESSION_NAME "$trace_path" +@@ -160,6 +178,8 @@ function test_event_pid_tracker() + local wildcard="$3" + local channel='' + ++ diag "${FUNCNAME[0]} $*" ++ + trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) + + create_lttng_session_ok $SESSION_NAME "$trace_path" +@@ -203,6 +223,8 @@ function test_event_tracker_fail() + local wildcard="$2" + local tracker="$3" + ++ diag "${FUNCNAME[0]} $*" ++ + trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) + + create_lttng_session_ok $SESSION_NAME "$trace_path" +@@ -222,6 +244,8 @@ function test_event_track_untrack() + local tracker="$4" + local channel='' + ++ diag "${FUNCNAME[0]} $*" ++ + trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) + + create_lttng_session_ok $SESSION_NAME "$trace_path" +@@ -262,6 +286,8 @@ function test_event_vpid_track_untrack() + local wildcard="$3" + local channel='' + ++ diag "${FUNCNAME[0]} $*" ++ + trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) + + create_lttng_session_ok $SESSION_NAME "$trace_path" +@@ -302,6 +328,8 @@ function test_event_pid_track_untrack() + local wildcard="$3" + local channel='' + ++ diag "${FUNCNAME[0]} $*" ++ + trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) + + create_lttng_session_ok $SESSION_NAME "$trace_path" +@@ -336,9 +364,9 @@ function test_event_pid_track_untrack() + + function test_event_ust_vpid_untrack_snapshot() + { +- local trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) ++ diag "${FUNCNAME[0]} $*" + +- diag "Test_event_ust_vpid_untrack_snapshot" ++ local trace_path=$(mktemp --tmpdir -d tmp.${FUNCNAME[0]}_trace_path.XXXXXX) + + create_lttng_session_ok $SESSION_NAME "$trace_path" "--snapshot" + +-- +2.20.1 +
meta/recipes-kernel/lttng/lttng-tools/0001-tests-wait-some-more-before-analysing-traces-or-star.patch deleted +0 -88
88 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools/0002-Fix-Tests-race-condition-in-test_ns_contexts_change.patch new file +46 -0
46 lines not on this page · raw message
meta/recipes-kernel/lttng/lttng-tools_2.13.0.bb +2 -1
@@ -37,7 +37,8 @@ SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \ file://lttng-sessiond.service \ file://determinism.patch \ file://0001-src-common-correct-header-location.patch \ - file://0001-tests-wait-some-more-before-analysing-traces-or-star.patch \ + file://0001-Fix-Tests-race-condition-in-test_event_tracker.patch \ + file://0002-Fix-Tests-race-condition-in-test_ns_contexts_change.patch \ " SRC_URI[sha256sum] = "8dc894f9a7a840e943c1c344345c75f001a9529daa9157f1a0e6175c081c29e6"
Signature · 1 line
2.31.1
PATCH 33/37 systemd: add missing include for musl
In reply to Anuj MittalFrom: Yureka <[email protected]>
Fixes "error: ‘FTW_ACTIONRETVAL’ undeclared (first use in this function)" in src/shared/mount-setup.c.
--- .../0008-add-missing-FTW_-macros-for-musl.patch | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-)
meta/recipes-core/systemd/systemd/0008-add-missing-FTW_-macros-for-musl.patch +14 -2
@@ -10,10 +10,10 @@ This is to avoid build failures like below for musl. Upstream-Status: Inappropriate [musl specific] Signed-off-by: Chen Qi <[email protected]> - --- src/basic/missing_type.h | 20 ++++++++++++++++++++ - 1 file changed, 20 insertions(+) + src/shared/mount-setup.c | 1 + + 2 files changed, 21 insertions(+) diff --git a/src/basic/missing_type.h b/src/basic/missing_type.h index aeaf6ad5ec..3df1084ef2 100644
@@ -43,3 +43,15 @@ index aeaf6ad5ec..3df1084ef2 100644 +#ifndef FTW_SKIP_SIBLINGS +#define FTW_SKIP_SIBLINGS 3 +#endif +diff --git a/src/shared/mount-setup.c b/src/shared/mount-setup.c +index ef3527e9a7..c1cab40eb8 100644 +--- a/src/shared/mount-setup.c ++++ b/src/shared/mount-setup.c +@@ -32,6 +32,7 @@ + #include "strv.h" + #include "user-util.h" + #include "virt.h" ++#include "missing_type.h" + + typedef enum MountMode { + MNT_NONE = 0,
Signature · 1 line
2.31.1
cover Review request
Please review these changes for honister. No issues seen while testing on autobuilder.
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2810
Thanks,
Anuj
The following changes since commit bb1dea6806f084364b6017db2567f438e805aef0:
build-appliance-image: Update to honister head revision (2021-10-11 11:06:36 +0100)
are available in the Git repository at:
git://push.openembedded.org/openembedded-core-contrib anujm/honister
Alexander Kanavin (5):
lttng-tools: replace ad hoc ptest fixup with upstream fixes
ca-certificates: update 20210119 -> 20211016
ovmf: update 202105 -> 202108
linux-firmware: upgrade 20210818 -> 20210919
wireless-regdb: upgrade 2021.07.14 -> 2021.08.28
Alexandre Belloni (1):
oeqa/selftest/sstatetests: fix typo ware -> were
Andrej Valek (1):
busybox: 1.34.0 -> 1.34.1
Andres Beltran (1):
buildhistory: Fix package output files for SDKs
Jose Quaresma (14):
gstreamer1.0-plugins-base: 1.18.4 -> 1.18.5 gstreamer1.0-plugins-good: 1.18.4 -> 1.18.5 gstreamer1.0-plugins-bad: 1.18.4 -> 1.18.5 gstreamer1.0-plugins-ugly: 1.18.4 -> 1.18.5 gstreamer1.0-rtsp-server: 1.18.4 -> 1.18.5 gstreamer1.0-libav: 1.18.4 -> 1.18.5
gstreamer1.0-vaapi: 1.18.4 -> 1.18.5
gstreamer1.0-omx: 1.18.4 -> 1.18.5
gstreamer1.0-python: 1.18.4 -> 1.18.5
gst-devtools: 1.18.4 -> 1.18.5
gst-examples: 1.18.4 -> 1.18.5
gstreamer1.0: 1.18.4 -> 1.18.5
patch.bbclass: when the patch fails show more info on the fatal error
sstate: fix touching files inside pseudo
Khem Raj (1):
mesa: Enable svga for x86 only
Kiran Surendran (1):
ffmpeg: fix CVE-2021-38114
Oleksandr Kravchuk (1):
python3: update to 3.9.7
Pablo Saavedra Rodi?o (1):
mesa: upgrade 21.2.1 -> 21.2.4
Ralph Siemsen (1):
tar: filter CVEs using vendor name
Richard Purdie (5):
libxml2: Use python3targetconfig to fix reproducibility issue
libnewt: Use python3targetconfig to fix reproducibility issue
linux-yocto-dev: Ensure DEPENDS matches recent 5.14 kernel changes
oeqa: Update cleanup code to wait for hashserv exit
bootchart2: Don't compile python modules
Ross Burton (3):
linux-yocto: add libmpc-native to DEPENDS
curl: fix CVE-2021-22945 through -22947
testimage: fix unclosed testdata file
Sakib Sajal (1):
go: upgrade 1.16.7 -> 1.16.8
Yureka (1):
systemd: add missing include for musl
meta/classes/buildhistory.bbclass | 21 +-
meta/classes/cross-canadian.bbclass | 2 +-
meta/classes/nativesdk.bbclass | 2 +-
meta/classes/patch.bbclass | 7 +-
meta/classes/sstate.bbclass | 4 +-
meta/classes/testimage.bbclass | 7 +-
meta/conf/bitbake.conf | 1 +
meta/lib/oe/package_manager/__init__.py | 2 +-
meta/lib/oeqa/sdk/buildtools-cases/build.py | 2 +-
meta/lib/oeqa/selftest/cases/eSDK.py | 2 +-
meta/lib/oeqa/selftest/cases/sstatetests.py | 12 +-
meta/lib/oeqa/selftest/context.py | 2 +-
...ab_1.34.0.bb => busybox-inittab_1.34.1.bb} | 0
.../{busybox_1.34.0.bb => busybox_1.34.1.bb} | 2 +-
meta/recipes-core/libxml/libxml2_2.9.12.bb | 2 +-
meta/recipes-core/ovmf/ovmf_git.bb | 4 +-
...008-add-missing-FTW_-macros-for-musl.patch | 16 +-
.../bootchart2/bootchart2_0.14.9.bb | 6 +-
.../go/{go-1.16.7.inc => go-1.16.8.inc} | 4 +-
...e_1.16.7.bb => go-binary-native_1.16.8.bb} | 4 +-
..._1.16.7.bb => go-cross-canadian_1.16.8.bb} | 0
...{go-cross_1.16.7.bb => go-cross_1.16.8.bb} | 0
...osssdk_1.16.7.bb => go-crosssdk_1.16.8.bb} | 0
...o-native_1.16.7.bb => go-native_1.16.8.bb} | 0
...runtime_1.16.7.bb => go-runtime_1.16.8.bb} | 0
.../go/{go_1.16.7.bb => go_1.16.8.bb} | 0
.../{python3_3.9.6.bb => python3_3.9.7.bb} | 2 +-
meta/recipes-extended/newt/libnewt_0.52.21.bb | 2 +-
meta/recipes-extended/tar/tar_1.34.bb | 6 +-
.../mesa/files/without-neon.patch | 53 ---
.../{mesa-gl_21.2.1.bb => mesa-gl_21.2.4.bb} | 0
meta/recipes-graphics/mesa/mesa.inc | 7 +-
.../mesa/{mesa_21.2.1.bb => mesa_21.2.4.bb} | 0
...20210818.bb => linux-firmware_20210919.bb} | 4 +-
meta/recipes-kernel/linux/linux-yocto-dev.bb | 1 +
meta/recipes-kernel/linux/linux-yocto_5.14.bb | 2 +-
...race-condition-in-test_event_tracker.patch | 221 +++++++++++
...more-before-analysing-traces-or-star.patch | 88 -----
...condition-in-test_ns_contexts_change.patch | 46 +++
.../lttng/lttng-tools_2.13.0.bb | 3 +-
....07.14.bb => wireless-regdb_2021.08.28.bb} | 2 +-
.../ffmpeg/ffmpeg/fix-CVE-2021-38114.patch | 67 ++++
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 3 +-
...tools_1.18.4.bb => gst-devtools_1.18.5.bb} | 2 +-
...mples_1.18.4.bb => gst-examples_1.18.5.bb} | 2 +-
...1.18.4.bb => gstreamer1.0-libav_1.18.5.bb} | 2 +-
...x_1.18.4.bb => gstreamer1.0-omx_1.18.5.bb} | 2 +-
....bb => gstreamer1.0-plugins-bad_1.18.5.bb} | 2 +-
...c91697a141fea7317aff7f0f28e5a861db99.patch | 50 ---
...bb => gstreamer1.0-plugins-base_1.18.5.bb} | 3 +-
...Fix-parsing-of-the-mediaclk-direct-f.patch | 33 --
...from-static-vars-to-fix-build-with-g.patch | 100 -----
...bb => gstreamer1.0-plugins-good_1.18.5.bb} | 4 +-
...bb => gstreamer1.0-plugins-ugly_1.18.5.bb} | 2 +-
....18.4.bb => gstreamer1.0-python_1.18.5.bb} | 2 +-
....bb => gstreamer1.0-rtsp-server_1.18.5.bb} | 2 +-
...1.18.4.bb => gstreamer1.0-vaapi_1.18.5.bb} | 2 +-
...002-Remove-unused-valgrind-detection.patch | 14 +-
...er1.0_1.18.4.bb => gstreamer1.0_1.18.5.bb} | 2 +-
...ertdata2pem.py-print-a-warning-for-e.patch | 80 ++++
.../ca-certificates/sbindir.patch | 26 --
...pdate-ca-certificates-support-Toybox.patch | 33 --
...0210119.bb => ca-certificates_20211016.bb} | 5 +-
.../curl/curl/cve-2021-22945.patch | 34 ++
.../curl/curl/cve-2021-22946.patch | 332 ++++++++++++++++
.../curl/curl/cve-2021-22947.patch | 355 ++++++++++++++++++
meta/recipes-support/curl/curl_7.78.0.bb | 3 +
67 files changed, 1244 insertions(+), 457 deletions(-)
rename meta/recipes-core/busybox/{busybox-inittab_1.34.0.bb => busybox-inittab_1.34.1.bb} (100%)
rename meta/recipes-core/busybox/{busybox_1.34.0.bb => busybox_1.34.1.bb} (95%)
rename meta/recipes-devtools/go/{go-1.16.7.inc => go-1.16.8.inc} (90%)
rename meta/recipes-devtools/go/{go-binary-native_1.16.7.bb => go-binary-native_1.16.8.bb} (83%)
rename meta/recipes-devtools/go/{go-cross-canadian_1.16.7.bb => go-cross-canadian_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go-cross_1.16.7.bb => go-cross_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go-crosssdk_1.16.7.bb => go-crosssdk_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go-native_1.16.7.bb => go-native_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go-runtime_1.16.7.bb => go-runtime_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go_1.16.7.bb => go_1.16.8.bb} (100%)
rename meta/recipes-devtools/python/{python3_3.9.6.bb => python3_3.9.7.bb} (99%)
delete mode 100644 meta/recipes-graphics/mesa/files/without-neon.patch
rename meta/recipes-graphics/mesa/{mesa-gl_21.2.1.bb => mesa-gl_21.2.4.bb} (100%)
rename meta/recipes-graphics/mesa/{mesa_21.2.1.bb => mesa_21.2.4.bb} (100%)
rename meta/recipes-kernel/linux-firmware/{linux-firmware_20210818.bb => linux-firmware_20210919.bb} (99%)
create mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-Fix-Tests-race-condition-in-test_event_tracker.patch
delete mode 100644 meta/recipes-kernel/lttng/lttng-tools/0001-tests-wait-some-more-before-analysing-traces-or-star.patch
create mode 100644 meta/recipes-kernel/lttng/lttng-tools/0002-Fix-Tests-race-condition-in-test_ns_contexts_change.patch
rename meta/recipes-kernel/wireless-regdb/{wireless-regdb_2021.07.14.bb => wireless-regdb_2021.08.28.bb} (94%)
create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2021-38114.patch
rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.18.4.bb => gst-devtools_1.18.5.bb} (94%)
rename meta/recipes-multimedia/gstreamer/{gst-examples_1.18.4.bb => gst-examples_1.18.5.bb} (96%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.18.4.bb => gstreamer1.0-libav_1.18.5.bb} (91%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.18.4.bb => gstreamer1.0-omx_1.18.5.bb} (95%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.18.4.bb => gstreamer1.0-plugins-bad_1.18.5.bb} (98%)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/4ef5c91697a141fea7317aff7f0f28e5a861db99.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.18.4.bb => gstreamer1.0-plugins-base_1.18.5.bb} (96%)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-rtpjitterbuffer-Fix-parsing-of-the-mediaclk-direct-f.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0003-Remove-volatile-from-static-vars-to-fix-build-with-g.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.18.4.bb => gstreamer1.0-plugins-good_1.18.5.bb} (93%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.18.4.bb => gstreamer1.0-plugins-ugly_1.18.5.bb} (94%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.18.4.bb => gstreamer1.0-python_1.18.5.bb} (91%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.18.4.bb => gstreamer1.0-rtsp-server_1.18.5.bb} (90%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.18.4.bb => gstreamer1.0-vaapi_1.18.5.bb} (95%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.18.4.bb => gstreamer1.0_1.18.5.bb} (97%)
create mode 100644 meta/recipes-support/ca-certificates/ca-certificates/0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch
delete mode 100644 meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch
delete mode 100644 meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch
rename meta/recipes-support/ca-certificates/{ca-certificates_20210119.bb => ca-certificates_20211016.bb} (95%)
create mode 100644 meta/recipes-support/curl/curl/cve-2021-22945.patch
create mode 100644 meta/recipes-support/curl/curl/cve-2021-22946.patch
create mode 100644 meta/recipes-support/curl/curl/cve-2021-22947.patchSignature · 1 line
2.31.1
PATCH 1/37 tar: filter CVEs using vendor name
From: Ralph Siemsen <[email protected]>
Recently a number of CVEs have been logged against a nodejs project called "node-tar". These appear as false positives against the GNU tar being built by Yocto. Some of these have been manually excluded using CVE_CHECK_WHITELIST.
To avoid this problem, use the vendor name (in addition to package name) for filtering CVEs. The syntax for this is:
CVE_PRODUCT = "vendor:package"
When not specified, the vendor defaults to "%" which matches anything.
--- meta/recipes-extended/tar/tar_1.34.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-extended/tar/tar_1.34.bb +3 -3
@@ -63,6 +63,6 @@ NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" BBCLASSEXTEND = "native nativesdk" -# These are both specific to the NPM package node-tar -CVE_CHECK_WHITELIST += "CVE-2021-32803 CVE-2021-32804" -CVE_CHECK_WHITELIST += "CVE-2021-37701 CVE-2021-37712 CVE-2021-37713" +# Avoid false positives from CVEs in node-tar package +# For example CVE-2021-{32803,32804,37701,37712,37713} +CVE_PRODUCT = "gnu:tar"
Signature · 1 line
2.31.1
PATCH 2/37 oeqa/selftest/sstatetests: fix typo ware -> were
In reply to Anuj MittalFrom: Alexandre Belloni <[email protected]>
--- meta/lib/oeqa/selftest/cases/sstatetests.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
meta/lib/oeqa/selftest/cases/sstatetests.py +6 -6
@@ -137,7 +137,7 @@ class SStateTests(SStateBase): filtered_results.append(r) self.assertTrue(filtered_results == [], msg="Found distro non-specific sstate for: %s (%s)" % (', '.join(map(str, targets)), str(filtered_results))) file_tracker_1 = self.search_sstate('|'.join(map(str, [s + r'.*?\.tgz$' for s in targets])), distro_specific=True, distro_nonspecific=False) - self.assertTrue(len(file_tracker_1) >= len(targets), msg = "Not all sstate files ware created for: %s" % ', '.join(map(str, targets))) + self.assertTrue(len(file_tracker_1) >= len(targets), msg = "Not all sstate files were created for: %s" % ', '.join(map(str, targets))) self.track_for_cleanup(self.distro_specific_sstate + "_old") shutil.copytree(self.distro_specific_sstate, self.distro_specific_sstate + "_old")
@@ -146,13 +146,13 @@ class SStateTests(SStateBase): bitbake(['-cclean'] + targets) bitbake(targets) file_tracker_2 = self.search_sstate('|'.join(map(str, [s + r'.*?\.tgz$' for s in targets])), distro_specific=True, distro_nonspecific=False) - self.assertTrue(len(file_tracker_2) >= len(targets), msg = "Not all sstate files ware created for: %s" % ', '.join(map(str, targets))) + self.assertTrue(len(file_tracker_2) >= len(targets), msg = "Not all sstate files were created for: %s" % ', '.join(map(str, targets))) not_recreated = [x for x in file_tracker_1 if x not in file_tracker_2] - self.assertTrue(not_recreated == [], msg="The following sstate files ware not recreated: %s" % ', '.join(map(str, not_recreated))) + self.assertTrue(not_recreated == [], msg="The following sstate files were not recreated: %s" % ', '.join(map(str, not_recreated))) created_once = [x for x in file_tracker_2 if x not in file_tracker_1] - self.assertTrue(created_once == [], msg="The following sstate files ware created only in the second run: %s" % ', '.join(map(str, created_once))) + self.assertTrue(created_once == [], msg="The following sstate files were created only in the second run: %s" % ', '.join(map(str, created_once))) def test_rebuild_distro_specific_sstate_cross_native_targets(self): self.run_test_rebuild_distro_specific_sstate(['binutils-cross-' + self.tune_arch, 'binutils-native'], temp_sstate_location=True)
@@ -202,9 +202,9 @@ class SStateTests(SStateBase): actual_remaining_sstate = [x for x in self.search_sstate(target + r'.*?\.tgz$') if not any(pattern in x for pattern in ignore_patterns)] actual_not_expected = [x for x in actual_remaining_sstate if x not in expected_remaining_sstate] - self.assertFalse(actual_not_expected, msg="Files should have been removed but ware not: %s" % ', '.join(map(str, actual_not_expected))) + self.assertFalse(actual_not_expected, msg="Files should have been removed but were not: %s" % ', '.join(map(str, actual_not_expected))) expected_not_actual = [x for x in expected_remaining_sstate if x not in actual_remaining_sstate] - self.assertFalse(expected_not_actual, msg="Extra files ware removed: %s" ', '.join(map(str, expected_not_actual))) + self.assertFalse(expected_not_actual, msg="Extra files were removed: %s" ', '.join(map(str, expected_not_actual))) def test_sstate_cache_management_script_using_pr_1(self): global_config = []
Signature · 1 line
2.31.1
PATCH 3/37 gstreamer1.0-plugins-base: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
Drop backport patches:
* 4ef5c91697a141fea7317aff7f0f28e5a861db99.patch
---
...c91697a141fea7317aff7f0f28e5a861db99.patch | 50 -------------------
...bb => gstreamer1.0-plugins-base_1.18.5.bb} | 3 +-
2 files changed, 1 insertion(+), 52 deletions(-)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/4ef5c91697a141fea7317aff7f0f28e5a861db99.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.18.4.bb => gstreamer1.0-plugins-base_1.18.5.bb} (96%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/4ef5c91697a141fea7317aff7f0f28e5a861db99.patch deleted +0 -50
@@ -1,50 +0,0 @@ -From 4ef5c91697a141fea7317aff7f0f28e5a861db99 Mon Sep 17 00:00:00 2001 -From: Xavier Claessens <[email protected]> -Date: Mon, 26 Apr 2021 14:25:03 -0400 -Subject: [PATCH] gstgl: Fix build when Meson >= 0.58.0rc1 - -"implicit_include_directories: false" now also means that current build -directory is not added to include paths by default any more. We have to -add it manually because we have some custom_target() that generate -headers in current build directory. - -See https://github.com/mesonbuild/meson/issues/8700. - -Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1125> -Upstream-Status: Backport -Signed-off-by: Alexander Kanavin <[email protected]> ---- - gst-libs/gst/gl/meson.build | 15 ++++++++++++--- - 1 file changed, 12 insertions(+), 3 deletions(-) - -diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build -index 66668644e..53891625a 100644 ---- a/gst-libs/gst/gl/meson.build -+++ b/gst-libs/gst/gl/meson.build -@@ -1004,11 +1004,20 @@ if build_gstgl - command : [mkenums, glib_mkenums, '@OUTPUT@', '@INPUT@']) - gen_sources = [gl_enumtypes_h] - -+ common_args = gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'] -+ -+ # We have custom_target() that generate headers in the current build dir, -+ # but with implicit_include_directories: false, meson >= 0.58.0 won't include -+ # it by default. We cannot use include_directories('.') here because it would -+ # also include current source dir which is what we want to avoid because -+ # case-insensitive FS would include gst-libs/gl/egl/egl.h as EGL/egl.h. -+ common_args += '-I@0@'.format(meson.current_build_dir()) -+ - gstgl = library('gstgl-' + api_version, - gl_sources, gl_egl_sources, gl_x11_sources, gl_wayland_sources, gl_priv_sources, gl_enumtypes_c, gl_enumtypes_h, -- c_args : gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'], -- cpp_args : gst_plugins_base_args + gl_cpp_args + ['-DBUILDING_GST_GL'], -- objc_args : gst_plugins_base_args + gl_cpp_args + gl_objc_args + ['-DBUILDING_GST_GL'], -+ c_args : common_args, -+ cpp_args : common_args, -+ objc_args : common_args + gl_objc_args, - include_directories : [configinc, libsinc, gl_includes], - version : libversion, - soversion : soversion, --- -GitLab -
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb +1 -2
@@ -11,9 +11,8 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-ba 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 \ - file://4ef5c91697a141fea7317aff7f0f28e5a861db99.patch \ " -SRC_URI[sha256sum] = "29e53229a84d01d722f6f6db13087231cdf6113dd85c25746b9b58c3d68e8323" +SRC_URI[sha256sum] = "960b7af4585700db0fdd5b843554e11e2564fed9e061f591fae88a7be6446fa3" S = "${WORKDIR}/gst-plugins-base-${PV}"
Signature · 1 line
2.31.1
PATCH 5/37 gstreamer1.0-plugins-bad: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
...plugins-bad_1.18.4.bb => gstreamer1.0-plugins-bad_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.18.4.bb => gstreamer1.0-plugins-bad_1.18.5.bb} (98%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.4.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ file://0005-msdk-fix-includedir-path.patch \ " -SRC_URI[sha256sum] = "74e806bc5595b18c70e9ca93571e27e79dfb808e5d2e7967afa952b52e99c85f" +SRC_URI[sha256sum] = "a164923b94f0d08578a6fcaeaac6e0c05da788a46903a1086870e9ca45ad678e" S = "${WORKDIR}/gst-plugins-bad-${PV}"
Signature · 1 line
2.31.1
PATCH 6/37 gstreamer1.0-plugins-ugly: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
...ugins-ugly_1.18.4.bb => gstreamer1.0-plugins-ugly_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.18.4.bb => gstreamer1.0-plugins-ugly_1.18.5.bb} (94%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.4.bb +1 -1
@@ -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] = "218df0ce0d31e8ca9cdeb01a3b0c573172cc9c21bb3d41811c7820145623d13c" +SRC_URI[sha256sum] = "df32803e98f8a9979373fa2ca7e05e62f977b1097576d3a80619d9f5c69f66d9" S = "${WORKDIR}/gst-plugins-ugly-${PV}"
Signature · 1 line
2.31.1
PATCH 7/37 gstreamer1.0-rtsp-server: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
...rtsp-server_1.18.4.bb => gstreamer1.0-rtsp-server_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.18.4.bb => gstreamer1.0-rtsp-server_1.18.5.bb} (90%)meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.4.bb +1 -1
@@ -10,7 +10,7 @@ PNREAL = "gst-rtsp-server" SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" -SRC_URI[sha256sum] = "a46bb8de40b971a048580279d2660e616796f871ad3ed00c8a95fe4d273a6c94" +SRC_URI[sha256sum] = "04d63bf48816c6f41c73f6de0f912a7cef0aab39c44162a7bcece1923dfc9d1f" S = "${WORKDIR}/${PNREAL}-${PV}"
Signature · 1 line
2.31.1
PATCH 8/37 gstreamer1.0-libav: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
...streamer1.0-libav_1.18.4.bb => gstreamer1.0-libav_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.18.4.bb => gstreamer1.0-libav_1.18.5.bb} (91%)meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.4.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \ " SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz" -SRC_URI[sha256sum] = "344a463badca216c2cef6ee36f9510c190862bdee48dc4591c0a430df7e8c396" +SRC_URI[sha256sum] = "822e008a910e9dd13aedbdd8dc63fedef4040c0ee2e927bab3112e9de693a548" S = "${WORKDIR}/gst-libav-${PV}"
Signature · 1 line
2.31.1
PATCH 9/37 gstreamer1.0-vaapi: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
...streamer1.0-vaapi_1.18.4.bb => gstreamer1.0-vaapi_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.18.4.bb => gstreamer1.0-vaapi_1.18.5.bb} (95%)meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.18.4.bb +1 -1
@@ -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] = "92db98af86f3150d429c9ab17e88d2364f9c07a140c8f445ed739e8f10252aea" +SRC_URI[sha256sum] = "4a460fb95559f41444eb24864ad2d9e37922b6eea941510310319fc3e0ba727b" S = "${WORKDIR}/${REALPN}-${PV}" DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
Signature · 1 line
2.31.1
PATCH 10/37 gstreamer1.0-omx: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
.../{gstreamer1.0-omx_1.18.4.bb => gstreamer1.0-omx_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.18.4.bb => gstreamer1.0-omx_1.18.5.bb} (95%)meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.18.4.bb +1 -1
@@ -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] = "e35051cf891eb2f31d6fcf176ff37d985f97f33874ac31b0b3ad3b5b95035043" +SRC_URI[sha256sum] = "2cd457c1e8deb1a9b39608048fb36a44f6c9a864a6b6115b1453a32e7be93b42" S = "${WORKDIR}/gst-omx-${PV}"
Signature · 1 line
2.31.1
PATCH 11/37 gstreamer1.0-python: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
...reamer1.0-python_1.18.4.bb => gstreamer1.0-python_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.18.4.bb => gstreamer1.0-python_1.18.5.bb} (91%)meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.18.4.bb +1 -1
@@ -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] = "cb68e08a7e825e08b83a12a22dcd6e4f1b328a7b02a7ac84f42f68f4ddc7098e" +SRC_URI[sha256sum] = "533685871305959d6db89507f3b3aa6c765c2f2b0dacdc32c5a6543e72e5bc52" DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject"
Signature · 1 line
2.31.1
PATCH 12/37 gst-devtools: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
.../{gst-devtools_1.18.4.bb => gst-devtools_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.18.4.bb => gst-devtools_1.18.5.bb} (94%)meta/recipes-multimedia/gstreamer/gst-devtools_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gst-devtools_1.18.4.bb +1 -1
@@ -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] = "ffbd194c40912cb5e7fca2863648bf9dd8257b7af97d3a60c4fcd4efd8526ccf" +SRC_URI[sha256sum] = "fecffc86447daf5c2a06843c757a991d745caa2069446a0d746e99b13f7cb079" DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" RRECOMMENDS:${PN} = "git"
Signature · 1 line
2.31.1
PATCH 13/37 gst-examples: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
.../{gst-examples_1.18.4.bb => gst-examples_1.18.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-multimedia/gstreamer/{gst-examples_1.18.4.bb => gst-examples_1.18.5.bb} (96%)meta/recipes-multimedia/gstreamer/gst-examples_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gst-examples_1.18.4.bb +1 -1
@@ -12,7 +12,7 @@ SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gst-examples.git;protocol=http file://gst-player.desktop \ " -SRCREV = "959bb246a5b1f5f9c78557da11c3f22b42ff89c0" +SRCREV = "fe9a365dc0f1ff632abcfe3322ac5527a2cf30a0" S = "${WORKDIR}/git"
Signature · 1 line
2.31.1
PATCH 14/37 gstreamer1.0: 1.18.4 -> 1.18.5
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
---
.../0002-Remove-unused-valgrind-detection.patch | 14 +++++++-------
...treamer1.0_1.18.4.bb => gstreamer1.0_1.18.5.bb} | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.18.4.bb => gstreamer1.0_1.18.5.bb} (97%)meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-Remove-unused-valgrind-detection.patch +7 -7
@@ -1,4 +1,4 @@ -From 598d108e2c438d8f2ecd3bf948fa3ebbd3681490 Mon Sep 17 00:00:00 2001 +From e275ba2bd854ac15a4b65a8f07d9f042021950da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <[email protected]> Date: Fri, 14 Aug 2020 16:38:26 +0100 Subject: [PATCH 2/3] Remove unused valgrind detection
@@ -19,7 +19,7 @@ Signed-off-by: Jose Quaresma <[email protected]> 3 files changed, 42 deletions(-) diff --git a/gst/gst_private.h b/gst/gst_private.h -index eefd044d9..8252ede51 100644 +index eefd044..8252ede 100644 --- a/gst/gst_private.h +++ b/gst/gst_private.h @@ -116,8 +116,6 @@ G_GNUC_INTERNAL gboolean _priv_plugin_deps_env_vars_changed (GstPlugin * plugin
@@ -32,12 +32,12 @@ index eefd044d9..8252ede51 100644 G_GNUC_INTERNAL void _priv_gst_quarks_initialize (void); G_GNUC_INTERNAL void _priv_gst_mini_object_initialize (void); diff --git a/gst/gstinfo.c b/gst/gstinfo.c -index 5d317877b..097f8b20d 100644 +index eea1a21..d3035d6 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -305,36 +305,6 @@ static gboolean pretty_tags = PRETTY_TAGS_DEFAULT; - static volatile gint G_GNUC_MAY_ALIAS __default_level = GST_LEVEL_DEFAULT; - static volatile gint G_GNUC_MAY_ALIAS __use_color = GST_DEBUG_COLOR_MODE_ON; + static gint G_GNUC_MAY_ALIAS __default_level = GST_LEVEL_DEFAULT; + static gint G_GNUC_MAY_ALIAS __use_color = GST_DEBUG_COLOR_MODE_ON; -/* FIXME: export this? */ -gboolean
@@ -82,7 +82,7 @@ index 5d317877b..097f8b20d 100644 env = g_getenv ("GST_DEBUG_OPTIONS"); if (env != NULL) { if (strstr (env, "full_tags") || strstr (env, "full-tags")) -@@ -2503,12 +2470,6 @@ gst_debug_construct_win_color (guint colorinfo) +@@ -2505,12 +2472,6 @@ gst_debug_construct_win_color (guint colorinfo) return 0; }
@@ -96,7 +96,7 @@ index 5d317877b..097f8b20d 100644 _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file, const gchar * func, gint line, GObject * obj, const gchar * msg, diff --git a/meson.build b/meson.build -index ce1921aa4..7a84d0981 100644 +index 82a1728..42ae617 100644 --- a/meson.build +++ b/meson.build @@ -200,7 +200,6 @@ check_headers = [
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.18.5.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.18.4.bb +1 -1
@@ -25,7 +25,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x file://0006-tests-use-a-dictionaries-for-environment.patch \ file://0007-tests-install-the-environment-for-installed_tests.patch \ " -SRC_URI[sha256sum] = "9aeec99b38e310817012aa2d1d76573b787af47f8a725a65b833880a094dfbc5" +SRC_URI[sha256sum] = "55862232a63459bbf56abebde3085ca9aec211b478e891dacea4d6df8cafe80a" PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ check \
Signature · 1 line
2.31.1
PATCH 15/37 busybox: 1.34.0 -> 1.34.1
In reply to Anuj MittalFrom: Andrej Valek <[email protected]>
- update to next stable version 1.34.1
---
.../{busybox-inittab_1.34.0.bb => busybox-inittab_1.34.1.bb} | 0
.../busybox/{busybox_1.34.0.bb => busybox_1.34.1.bb} | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-core/busybox/{busybox-inittab_1.34.0.bb => busybox-inittab_1.34.1.bb} (100%)
rename meta/recipes-core/busybox/{busybox_1.34.0.bb => busybox_1.34.1.bb} (95%)meta/recipes-core/busybox/busybox-inittab_1.34.1.bb renamed from meta/recipes-core/busybox/busybox-inittab_1.34.0.bb +0 -0
meta/recipes-core/busybox/busybox_1.34.1.bb renamed from meta/recipes-core/busybox/busybox_1.34.0.bb +1 -1
@@ -51,4 +51,4 @@ SRC_URI = "https://busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ " SRC_URI:append:libc-musl = " file://musl.cfg " -SRC_URI[tarball.sha256sum] = "ec8d1615edb045b83b81966604759c4d4ac921434ab4011da604f629c06074ce" +SRC_URI[tarball.sha256sum] = "415fbd89e5344c96acf449d94a6f956dbed62e18e835fc83e064db33a34bd549"
Signature · 1 line
2.31.1
PATCH 16/37 go: upgrade 1.16.7 -> 1.16.8
In reply to Anuj MittalFrom: Sakib Sajal <[email protected]>
---
meta/recipes-devtools/go/{go-1.16.7.inc => go-1.16.8.inc} | 4 ++--
...{go-binary-native_1.16.7.bb => go-binary-native_1.16.8.bb} | 4 ++--
...o-cross-canadian_1.16.7.bb => go-cross-canadian_1.16.8.bb} | 0
.../go/{go-cross_1.16.7.bb => go-cross_1.16.8.bb} | 0
.../go/{go-crosssdk_1.16.7.bb => go-crosssdk_1.16.8.bb} | 0
.../go/{go-native_1.16.7.bb => go-native_1.16.8.bb} | 0
.../go/{go-runtime_1.16.7.bb => go-runtime_1.16.8.bb} | 0
meta/recipes-devtools/go/{go_1.16.7.bb => go_1.16.8.bb} | 0
8 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/go/{go-1.16.7.inc => go-1.16.8.inc} (90%)
rename meta/recipes-devtools/go/{go-binary-native_1.16.7.bb => go-binary-native_1.16.8.bb} (83%)
rename meta/recipes-devtools/go/{go-cross-canadian_1.16.7.bb => go-cross-canadian_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go-cross_1.16.7.bb => go-cross_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go-crosssdk_1.16.7.bb => go-crosssdk_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go-native_1.16.7.bb => go-native_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go-runtime_1.16.7.bb => go-runtime_1.16.8.bb} (100%)
rename meta/recipes-devtools/go/{go_1.16.7.bb => go_1.16.8.bb} (100%)meta/recipes-devtools/go/go-1.16.8.inc renamed from meta/recipes-devtools/go/go-1.16.7.inc +2 -2
@@ -1,7 +1,7 @@ require go-common.inc GO_BASEVERSION = "1.16" -PV = "1.16.7" +PV = "1.16.8" FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-${GO_BASEVERSION}:" LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
@@ -17,7 +17,7 @@ SRC_URI += "\ file://0008-use-GOBUILDMODE-to-set-buildmode.patch \ file://0009-Revert-cmd-go-make-sure-CC-and-CXX-are-absolute.patch \ " -SRC_URI[main.sha256sum] = "1a9f2894d3d878729f7045072f30becebe243524cf2fce4e0a7b248b1e0654ac" +SRC_URI[main.sha256sum] = "8f2a8c24b793375b3243df82fdb0c8387486dcc8a892ca1c991aa99ace086b98" # Upstream don't believe it is a signifiant real world issue and will only # fix in 1.17 onwards where we can drop this.
meta/recipes-devtools/go/go-binary-native_1.16.8.bb renamed from meta/recipes-devtools/go/go-binary-native_1.16.7.bb +2 -2
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707" PROVIDES = "go-native" SRC_URI = "https://dl.google.com/go/go${PV}.${BUILD_GOOS}-${BUILD_GOARCH}.tar.gz;name=go_${BUILD_GOTUPLE}" -SRC_URI[go_linux_amd64.sha256sum] = "7fe7a73f55ba3e2285da36f8b085e5c0159e9564ef5f63ee0ed6b818ade8ef04" -SRC_URI[go_linux_arm64.sha256sum] = "63d6b53ecbd2b05c1f0e9903c92042663f2f68afdbb67f4d0d12700156869bac" +SRC_URI[go_linux_amd64.sha256sum] = "f32501aeb8b7b723bc7215f6c373abb6981bbc7e1c7b44e9f07317e1a300dce2" +SRC_URI[go_linux_arm64.sha256sum] = "430dbe185417204f6788913197ab3b189b6deae9c9b524f262858e53dab239c2" UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux"
meta/recipes-devtools/go/go-cross-canadian_1.16.8.bb renamed from meta/recipes-devtools/go/go-cross-canadian_1.16.7.bb +0 -0
meta/recipes-devtools/go/go-cross_1.16.8.bb renamed from meta/recipes-devtools/go/go-cross_1.16.7.bb +0 -0
meta/recipes-devtools/go/go-crosssdk_1.16.8.bb renamed from meta/recipes-devtools/go/go-crosssdk_1.16.7.bb +0 -0
meta/recipes-devtools/go/go-native_1.16.8.bb renamed from meta/recipes-devtools/go/go-native_1.16.7.bb +0 -0
meta/recipes-devtools/go/go-runtime_1.16.8.bb renamed from meta/recipes-devtools/go/go-runtime_1.16.7.bb +0 -0
meta/recipes-devtools/go/go_1.16.8.bb renamed from meta/recipes-devtools/go/go_1.16.7.bb +0 -0
Signature · 1 line
2.31.1
PATCH 17/37 python3: update to 3.9.7
In reply to Anuj MittalFrom: Oleksandr Kravchuk <[email protected]>
---
.../python/{python3_3.9.6.bb => python3_3.9.7.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/python/{python3_3.9.6.bb => python3_3.9.7.bb} (99%)meta/recipes-devtools/python/python3_3.9.7.bb renamed from meta/recipes-devtools/python/python3_3.9.6.bb +1 -1
@@ -39,7 +39,7 @@ SRC_URI:append:class-native = " \ file://12-distutils-prefix-is-inside-staging-area.patch \ file://0001-Don-t-search-system-for-headers-libraries.patch \ " -SRC_URI[sha256sum] = "397920af33efc5b97f2e0b57e91923512ef89fc5b3c1d21dbfc8c4828ce0108a" +SRC_URI[sha256sum] = "f8145616e68c00041d1a6399b76387390388f8359581abc24432bb969b5e3c57" # exclude pre-releases for both python 2.x and 3.x UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
Signature · 1 line
2.31.1
PATCH 18/37 libxml2: Use python3targetconfig to fix reproducibility issue
In reply to Anuj MittalFrom: Richard Purdie <[email protected]>
We're seeing pthread being linked sometimes and not others leading to non-reproducible target binaries. The reason is mixing the native python config with the target one. We should use the target one.
--- meta/recipes-core/libxml/libxml2_2.9.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/libxml/libxml2_2.9.12.bb +1 -1
@@ -36,7 +36,7 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," inherit autotools pkgconfig binconfig-disabled ptest -inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3native', '', d)} +inherit ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3targetconfig', '', d)} RDEPENDS:${PN}-ptest += "bash make ${@bb.utils.contains('PACKAGECONFIG', 'python', 'libgcc python3-core python3-logging python3-shell python3-stringold python3-threading python3-unittest ${PN}-python', '', d)}"
Signature · 1 line
2.31.1
PATCH 19/37 libnewt: Use python3targetconfig to fix reproducibility issue
In reply to Anuj MittalFrom: Richard Purdie <[email protected]>
We're seeing pthread being linked sometimes and not others leading to non-reproducible target binaries. The reason is mixing the native python config with the target one. We should use the target one.
--- meta/recipes-extended/newt/libnewt_0.52.21.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/newt/libnewt_0.52.21.bb +1 -1
@@ -29,7 +29,7 @@ SRC_URI[sha256sum] = "265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac S = "${WORKDIR}/newt-${PV}" -inherit autotools-brokensep python3native python3-dir +inherit autotools-brokensep python3native python3-dir python3targetconfig EXTRA_OECONF = "--without-tcl --with-python"
Signature · 1 line
2.31.1
PATCH 21/37 buildhistory: Fix package output files for SDKs
In reply to Anuj MittalFrom: Andres Beltran <[email protected]>
Currently, installed packages are listed for images in image-info.txt, but not for SDKs in sdk-info.txt. Add TOOLCHAIN_HOST_TASK and TOOLCHAIN_TARGET_TASK to the output variables in sdk-info.txt.
Moreover, package output files for the SDK host are empty because PKGDATA_DIR defaults to the target directory. Fix this bug and create a new variable called PKGDATA_DIR_SDK which stores the correct path for the SDK host package data.
--- meta/classes/buildhistory.bbclass | 21 ++++++++++++++++----- meta/classes/cross-canadian.bbclass | 2 +- meta/classes/nativesdk.bbclass | 2 +- meta/conf/bitbake.conf | 1 + meta/lib/oe/package_manager/__init__.py | 2 +- 5 files changed, 20 insertions(+), 8 deletions(-)
meta/classes/buildhistory.bbclass +16 -5
@@ -442,11 +442,16 @@ def buildhistory_list_installed(d, rootfs_type="image"): else: pkgs = sdk_list_installed_packages(d, rootfs_type == "sdk_target") + if rootfs_type == "sdk_host": + pkgdata_dir = d.getVar('PKGDATA_DIR_SDK') + else: + pkgdata_dir = d.getVar('PKGDATA_DIR') + for output_type, output_file in process_list: output_file_full = os.path.join(d.getVar('WORKDIR'), output_file) with open(output_file_full, 'w') as output: - output.write(format_pkg_list(pkgs, output_type, d.getVar('PKGDATA_DIR'))) + output.write(format_pkg_list(pkgs, output_type, pkgdata_dir)) python buildhistory_list_installed_image() { buildhistory_list_installed(d)
@@ -496,13 +501,19 @@ buildhistory_get_installed() { echo "}" >> $1/depends.dot rm $1/depends.tmp + # Set correct pkgdatadir + pkgdatadir=${PKGDATA_DIR} + if [ "$2" == "sdk" ] && [ "$3" == "host" ]; then + pkgdatadir="${PKGDATA_DIR_SDK}" + fi + # Produce installed package sizes list - oe-pkgdata-util -p ${PKGDATA_DIR} read-value "PKGSIZE" -n -f $pkgcache > $1/installed-package-sizes.tmp + oe-pkgdata-util -p $pkgdatadir read-value "PKGSIZE" -n -f $pkgcache > $1/installed-package-sizes.tmp cat $1/installed-package-sizes.tmp | awk '{print $2 "\tKiB\t" $1}' | sort -n -r > $1/installed-package-sizes.txt rm $1/installed-package-sizes.tmp # Produce package info: runtime_name, buildtime_name, recipe, version, size - oe-pkgdata-util -p ${PKGDATA_DIR} read-value "PACKAGE,PN,PV,PKGSIZE" -n -f $pkgcache > $1/installed-package-info.tmp + oe-pkgdata-util -p $pkgdatadir read-value "PACKAGE,PN,PV,PKGSIZE" -n -f $pkgcache > $1/installed-package-info.tmp cat $1/installed-package-info.tmp | sort -n -r -k 5 > $1/installed-package-info.txt rm $1/installed-package-info.tmp
@@ -542,7 +553,7 @@ buildhistory_get_sdk_installed() { return fi - buildhistory_get_installed ${BUILDHISTORY_DIR_SDK}/$1 sdk + buildhistory_get_installed ${BUILDHISTORY_DIR_SDK}/$1 sdk $1 } buildhistory_get_sdk_installed_host() {
@@ -773,7 +784,7 @@ def buildhistory_get_imagevars(d): def buildhistory_get_sdkvars(d): if d.getVar('BB_WORKERCONTEXT') != '1': return "" - sdkvars = "DISTRO DISTRO_VERSION SDK_NAME SDK_VERSION SDKMACHINE SDKIMAGE_FEATURES BAD_RECOMMENDATIONS NO_RECOMMENDATIONS PACKAGE_EXCLUDE" + sdkvars = "DISTRO DISTRO_VERSION SDK_NAME SDK_VERSION SDKMACHINE SDKIMAGE_FEATURES TOOLCHAIN_HOST_TASK TOOLCHAIN_TARGET_TASK BAD_RECOMMENDATIONS NO_RECOMMENDATIONS PACKAGE_EXCLUDE" if d.getVar('BB_CURRENTTASK') == 'populate_sdk_ext': # Extensible SDK uses some additional variables sdkvars += " SDK_LOCAL_CONF_WHITELIST SDK_LOCAL_CONF_BLACKLIST SDK_INHERIT_BLACKLIST SDK_UPDATE_URL SDK_EXT_TYPE SDK_RECRDEP_TASKS SDK_INCLUDE_PKGDATA SDK_INCLUDE_TOOLCHAIN"
meta/classes/cross-canadian.bbclass +1 -1
@@ -169,7 +169,7 @@ USE_NLS = "${SDKUSE_NLS}" # and not any particular tune that is enabled. TARGET_ARCH[vardepsexclude] = "TUNE_ARCH" -PKGDATA_DIR = "${TMPDIR}/pkgdata/${SDK_SYS}" +PKGDATA_DIR = "${PKGDATA_DIR_SDK}" # If MLPREFIX is set by multilib code, shlibs # points to the wrong place so force it SHLIBSDIRS = "${PKGDATA_DIR}/nativesdk-shlibs2"
meta/classes/nativesdk.bbclass +1 -1
@@ -31,7 +31,7 @@ PACKAGE_ARCHS = "${SDK_PACKAGE_ARCHS}" DEPENDS:append = " chrpath-replacement-native" EXTRANATIVEPATH += "chrpath-native" -PKGDATA_DIR = "${TMPDIR}/pkgdata/${SDK_SYS}" +PKGDATA_DIR = "${PKGDATA_DIR_SDK}" HOST_ARCH = "${SDK_ARCH}" HOST_VENDOR = "${SDK_VENDOR}"
meta/conf/bitbake.conf +1 -0
@@ -415,6 +415,7 @@ DEPLOY_DIR_IMAGE ?= "${DEPLOY_DIR}/images/${MACHINE}" DEPLOY_DIR_TOOLS = "${DEPLOY_DIR}/tools" PKGDATA_DIR = "${TMPDIR}/pkgdata/${MACHINE}" +PKGDATA_DIR_SDK = "${TMPDIR}/pkgdata/${SDK_SYS}" ################################################################## # SDK variables.
meta/lib/oe/package_manager/__init__.py +1 -1
@@ -321,7 +321,7 @@ class PackageManager(object, metaclass=ABCMeta): # TODO don't have sdk here but have a property on the superclass # (and respect in install_complementary) if sdk: - pkgdatadir = self.d.expand("${TMPDIR}/pkgdata/${SDK_SYS}") + pkgdatadir = self.d.getVar("PKGDATA_DIR_SDK") else: pkgdatadir = self.d.getVar("PKGDATA_DIR")
Signature · 1 line
2.31.1
PATCH 22/37 linux-yocto: add libmpc-native to DEPENDS
In reply to Anuj MittalFrom: Ross Burton <[email protected]>
5.14 changed how the GCC plugins are built, which means they now depend on both GMP and MPC to be built. We already depend on gmp-native, so add libmpc-native aswell.
--- meta/recipes-kernel/linux/linux-yocto_5.14.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/linux/linux-yocto_5.14.bb +1 -1
@@ -46,7 +46,7 @@ LINUX_VERSION ?= "5.14.9" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" -DEPENDS += "gmp-native" +DEPENDS += "gmp-native libmpc-native" PV = "${LINUX_VERSION}+git${SRCPV}"
Signature · 1 line
2.31.1
PATCH 23/37 linux-yocto-dev: Ensure DEPENDS matches recent 5.14 kernel changes
In reply to Anuj MittalFrom: Richard Purdie <[email protected]>
DEPENDS here should match what 5.14 is using.
--- meta/recipes-kernel/linux/linux-yocto-dev.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-kernel/linux/linux-yocto-dev.bb +1 -0
@@ -38,6 +38,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native" +DEPENDS += "gmp-native libmpc-native" COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv64)"
Signature · 1 line
2.31.1
PATCH 24/37 patch.bbclass: when the patch fails show more info on the fatal error
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
There are situations when the user have the 'patchdir' defined as a parameter on SRC_URI. However he doesn't know that with this the patch is applied relatively to the receipe source dir 'S'.
- When user have 'patchdir' defined check if this directory exist.
- If the patch fails show addition info to the user:
- Import: show the striplevel
- Resolver: show the expanded 'patchdir' to the user.
The next example is from opencv in meta-oe layer, here the patch is applied on the target directory ${WORKDIR}/git/contrib.
S = "${WORKDIR}/git"SRCREV_FORMAT = "opencv_contrib"
SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \
git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib \
file://0001-sfm-link-with-Glog_LIBS.patch;patchdir=../contrib \
"* When the patch fail there are no message that indicates the real reason. patchdir=../no-found-on-file-system
ERROR: opencv-4.5.2-r0 do_patch: Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
* The check of the patchdir will add a new fatal error when the user specifies a wrong path than don't exist. patchdir=../no-found-on-file-system
ERROR: opencv-4.5.2-r0 do_patch: Target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../no-found-on-file-system' not found, patchdir '../no-found-on-file-system' is incorrect in patch file '0001-sfm-link-with-Glog_LIBS.patch'
* When we can't aplly the patch but the patchdir exist, show the expanded patchdir on fatal error. patchdir=../git
ERROR: opencv-4.5.2-r0 do_patch: Applying patch '0001-sfm-link-with-Glog_LIBS.patch' on target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../git' Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
--- meta/classes/patch.bbclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta/classes/patch.bbclass +5 -2
@@ -131,6 +131,9 @@ python patch_do_patch() { patchdir = parm["patchdir"] if not os.path.isabs(patchdir): patchdir = os.path.join(s, patchdir) + if not os.path.isdir(patchdir): + bb.fatal("Target directory '%s' not found, patchdir '%s' is incorrect in patch file '%s'" % + (patchdir, parm["patchdir"], parm['patchname'])) else: patchdir = s
@@ -147,12 +150,12 @@ python patch_do_patch() { patchset.Import({"file":local, "strippath": parm['striplevel']}, True) except Exception as exc: bb.utils.remove(process_tmpdir, True) - bb.fatal(str(exc)) + bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], str(exc))) try: resolver.Resolve() except bb.BBHandledException as e: bb.utils.remove(process_tmpdir, True) - bb.fatal(str(e)) + bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, str(e))) bb.utils.remove(process_tmpdir, True) del os.environ['TMPDIR']
Signature · 1 line
2.31.1
PATCH 25/37 curl: fix CVE-2021-22945 through -22947
In reply to Anuj MittalFrom: Ross Burton <[email protected]>
--- .../curl/curl/cve-2021-22945.patch | 34 ++ .../curl/curl/cve-2021-22946.patch | 332 ++++++++++++++++ .../curl/curl/cve-2021-22947.patch | 355 ++++++++++++++++++ meta/recipes-support/curl/curl_7.78.0.bb | 3 + 4 files changed, 724 insertions(+) create mode 100644 meta/recipes-support/curl/curl/cve-2021-22945.patch create mode 100644 meta/recipes-support/curl/curl/cve-2021-22946.patch create mode 100644 meta/recipes-support/curl/curl/cve-2021-22947.patch
meta/recipes-support/curl/curl/cve-2021-22945.patch new file +34 -0
@@ -0,0 +1,34 @@ +CVE: CVE-2021-22945 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> + +From 92cb3059dab2f9ef3e6ea614dad5c86917d19807 Mon Sep 17 00:00:00 2001 +From: z2_ on hackerone <> +Date: Tue, 24 Aug 2021 09:50:33 +0200 +Subject: [PATCH 1/3] mqtt: clear the leftovers pointer when sending succeeds + +CVE-2021-22945 + +Bug: https://curl.se/docs/CVE-2021-22945.html +--- + lib/mqtt.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/lib/mqtt.c b/lib/mqtt.c +index f077e6c3d..fcd40b41e 100644 +--- a/lib/mqtt.c ++++ b/lib/mqtt.c +@@ -128,6 +128,10 @@ static CURLcode mqtt_send(struct Curl_easy *data, + mq->sendleftovers = sendleftovers; + mq->nsend = nsend; + } ++ else { ++ mq->sendleftovers = NULL; ++ mq->nsend = 0; ++ } + return result; + } + +-- +2.25.1 +
meta/recipes-support/curl/curl/cve-2021-22946.patch new file +332 -0
332 lines not on this page · raw message
meta/recipes-support/curl/curl/cve-2021-22947.patch new file +355 -0
355 lines not on this page · raw message
meta/recipes-support/curl/curl_7.78.0.bb +3 -0
@@ -11,6 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=425f6fdc767cc067518eef9bbdf4ab7b" SRC_URI = "https://curl.haxx.se/download/curl-${PV}.tar.bz2 \ file://0001-replace-krb5-config-with-pkg-config.patch \ + file://cve-2021-22945.patch \ + file://cve-2021-22946.patch \ + file://cve-2021-22947.patch \ " SRC_URI[sha256sum] = "98530b317dc95ccb324bbe4f834f07bb642fbc393b794ddf3434f246a71ea44a"
Signature · 1 line
2.31.1
PATCH 26/37 oeqa: Update cleanup code to wait for hashserv exit
In reply to Anuj MittalFrom: Richard Purdie <[email protected]>
We sometimes see exceptions from code seeing the hashserv DB files being removed at directory cleanup time. Add a check to ensure the hashserv has written the data base journal (and hence likely exited) before cleaning up.
This will hopefully avoid errors like:
Traceback (most recent call last):
File "[...]/meta/lib/oeqa/sdk/buildtools-cases/build.py", line 30, in test_libc
delay = delay - 1
File "/usr/lib/python3.6/tempfile.py", line 948, in __exit__
self.cleanup()
File "/usr/lib/python3.6/tempfile.py", line 952, in cleanup
_rmtree(self.name)
File "/usr/lib/python3.6/shutil.py", line 486, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.6/shutil.py", line 424, in _rmtree_safe_fd
_rmtree_safe_fd(dirfd, fullname, onerror)
File "/usr/lib/python3.6/shutil.py", line 444, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.6/shutil.py", line 442, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'hashserv.db-wal'
--- meta/lib/oeqa/sdk/buildtools-cases/build.py | 2 +- meta/lib/oeqa/selftest/cases/eSDK.py | 2 +- meta/lib/oeqa/selftest/context.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
meta/lib/oeqa/sdk/buildtools-cases/build.py +1 -1
@@ -25,6 +25,6 @@ class BuildTests(OESDKTestCase): self._run('. %s/oe-init-build-env %s && bitbake virtual/libc' % (corebase, testdir)) finally: delay = 10 - while delay and os.path.exists(testdir + "/bitbake.lock"): + while delay and (os.path.exists(testdir + "/bitbake.lock") or os.path.exists(testdir + "/cache/hashserv.db-wal")): time.sleep(1) delay = delay - 1
meta/lib/oeqa/selftest/cases/eSDK.py +1 -1
@@ -100,7 +100,7 @@ SSTATE_MIRRORS = "file://.* file://%s/PATH" @classmethod def tearDownClass(cls): for i in range(0, 10): - if os.path.exists(os.path.join(cls.tmpdir_eSDKQA, 'bitbake.lock')): + if os.path.exists(os.path.join(cls.tmpdir_eSDKQA, 'bitbake.lock')) or os.path.exists(os.path.join(cls.tmpdir_eSDKQA, 'cache/hashserv.db-wal')): time.sleep(1) else: break
meta/lib/oeqa/selftest/context.py +1 -1
@@ -39,7 +39,7 @@ class NonConcurrentTestSuite(unittest.TestSuite): def removebuilddir(d): delay = 5 - while delay and os.path.exists(d + "/bitbake.lock"): + while delay and (os.path.exists(d + "/bitbake.lock") or os.path.exists(d + "/cache/hashserv.db-wal")): time.sleep(1) delay = delay - 1 # Deleting these directories takes a lot of time, use autobuilder
Signature · 1 line
2.31.1
PATCH 27/37 mesa: Enable svga for x86 only
In reply to Anuj MittalFrom: Khem Raj <[email protected]>
Enable svga only on x86/x86_64 since some arches e.g. riscv64 do not support it
--- meta/recipes-graphics/mesa/mesa.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-graphics/mesa/mesa.inc +3 -1
@@ -143,7 +143,9 @@ GALLIUMDRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'v3d', ',v3d', '', # radeonsi requires LLVM GALLIUMDRIVERS_RADEONSI = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}" -GALLIUMDRIVERS_LLVM = "r300,svga,nouveau${GALLIUMDRIVERS_RADEONSI}" +GALLIUMDRIVERS_LLVM = "r300,nouveau${GALLIUMDRIVERS_RADEONSI}" +GALLIUMDRIVERS_LLVM:append:x86:class-target = ",svga" +GALLIUMDRIVERS_LLVM:append:x86-64:class-target = ",svga" PACKAGECONFIG[r600] = "" PACKAGECONFIG[virgl] = ""
Signature · 1 line
2.31.1
PATCH 28/37 testimage: fix unclosed testdata file
In reply to Anuj MittalFrom: Ross Burton <[email protected]>
--- meta/classes/testimage.bbclass | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
meta/classes/testimage.bbclass +4 -3
@@ -235,9 +235,10 @@ def testimage_main(d): tdname = "%s.testdata.json" % image_name try: - td = json.load(open(tdname, "r")) - except (FileNotFoundError) as err: - bb.fatal('File %s Not Found. Have you built the image with INHERIT+="testimage" in the conf/local.conf?' % tdname) + with open(tdname, "r") as f: + td = json.load(f) + except FileNotFoundError as err: + bb.fatal('File %s not found (%s).\nHave you built the image with INHERIT += "testimage" in the conf/local.conf?' % (tdname, err)) # Some variables need to be updates (mostly paths) with the # ones of the current environment because some tests require them.
Signature · 1 line
2.31.1
PATCH 29/37 ca-certificates: update 20210119 -> 20211016
In reply to Anuj MittalFrom: Alexander Kanavin <[email protected]>
---
...ertdata2pem.py-print-a-warning-for-e.patch | 80 +++++++++++++++++++
.../ca-certificates/sbindir.patch | 26 ------
...pdate-ca-certificates-support-Toybox.patch | 33 --------
...0210119.bb => ca-certificates_20211016.bb} | 5 +-
4 files changed, 82 insertions(+), 62 deletions(-)
create mode 100644 meta/recipes-support/ca-certificates/ca-certificates/0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch
delete mode 100644 meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch
delete mode 100644 meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch
rename meta/recipes-support/ca-certificates/{ca-certificates_20210119.bb => ca-certificates_20211016.bb} (95%)meta/recipes-support/ca-certificates/ca-certificates/0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch new file +80 -0
@@ -0,0 +1,80 @@ +From cb43ec15b700b25f3c4fe44043a1a021aaf5b768 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <[email protected]> +Date: Mon, 18 Oct 2021 12:05:49 +0200 +Subject: [PATCH] Revert "mozilla/certdata2pem.py: print a warning for expired + certificates." + +This avoids a dependency on python3-cryptography, and only checks +for expired certs (which is upstream concern, but not ours). + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Alexander Kanavin <[email protected]> +--- + debian/changelog | 1 - + debian/control | 2 +- + mozilla/certdata2pem.py | 11 ----------- + 3 files changed, 1 insertion(+), 13 deletions(-) + +diff --git a/debian/changelog b/debian/changelog +index 531e4d0..4006509 100644 +--- a/debian/changelog ++++ b/debian/changelog +@@ -37,7 +37,6 @@ ca-certificates (20211004) unstable; urgency=low + - "Trustis FPS Root CA" + - "Staat der Nederlanden Root CA - G3" + * Blacklist expired root certificate "DST Root CA X3" (closes: #995432) +- * mozilla/certdata2pem.py: print a warning for expired certificates. + + -- Julien Cristau <[email protected]> Thu, 07 Oct 2021 17:12:47 +0200 + +diff --git a/debian/control b/debian/control +index 4434b7a..5c6ba24 100644 +--- a/debian/control ++++ b/debian/control +@@ -3,7 +3,7 @@ Section: misc + Priority: optional + Maintainer: Julien Cristau <[email protected]> + Build-Depends: debhelper-compat (= 13), po-debconf +-Build-Depends-Indep: python3, openssl, python3-cryptography ++Build-Depends-Indep: python3, openssl + Standards-Version: 4.5.0.2 + Vcs-Git: https://salsa.debian.org/debian/ca-certificates.git + Vcs-Browser: https://salsa.debian.org/debian/ca-certificates +diff --git a/mozilla/certdata2pem.py b/mozilla/certdata2pem.py +index ede23d4..7d796f1 100644 +--- a/mozilla/certdata2pem.py ++++ b/mozilla/certdata2pem.py +@@ -21,16 +21,12 @@ + # USA. + + import base64 +-import datetime + import os.path + import re + import sys + import textwrap + import io + +-from cryptography import x509 +- +- + objects = [] + + # Dirty file parser. +@@ -121,13 +117,6 @@ for obj in objects: + if obj['CKA_CLASS'] == 'CKO_CERTIFICATE': + if not obj['CKA_LABEL'] in trust or not trust[obj['CKA_LABEL']]: + continue +- +- cert = x509.load_der_x509_certificate(obj['CKA_VALUE']) +- if cert.not_valid_after < datetime.datetime.now(): +- print('!'*74) +- print('Trusted but expired certificate found: %s' % obj['CKA_LABEL']) +- print('!'*74) +- + bname = obj['CKA_LABEL'][1:-1].replace('/', '_')\ + .replace(' ', '_')\ + .replace('(', '=')\ +-- +2.20.1 +
meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch deleted +0 -26
@@ -1,26 +0,0 @@ -sbin/Makefile: Allow the sbin path to be configurable - -Some project sharing ca-certificates from Debian allow configuration -of the installation location. Make the sbin location configurable. - -Also ensure the target directory exists - -Signed-off-by: Richard Purdie <[email protected]> -Upstream-Status: Submitted [https://salsa.debian.org/debian/ca-certificates/-/merge_requests/5] - ---- ca-certificates-20130119.orig/sbin/Makefile -+++ ca-certificates-20130119/sbin/Makefile -@@ -3,9 +3,12 @@ - # - # - -+SBINDIR = /usr/sbin -+ - all: - - clean: - - install: -- install -m755 update-ca-certificates $(DESTDIR)/usr/sbin/ -+ install -d $(DESTDIR)$(SBINDIR) -+ install -m755 update-ca-certificates $(DESTDIR)$(SBINDIR)/
meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch deleted +0 -33
@@ -1,33 +0,0 @@ -update-ca-certificates: Replace deprecated mktemp -t with mktemp --tmpdir - -According to coreutils docs, mktemp -t is deprecated, switch to the ---tmpdir option instead. - -Signed-off-by: Richard Purdie <[email protected]> -Upstream-Status: Submitted [https://salsa.debian.org/debian/ca-certificates/-/merge_requests/5] - -[This was originally for compatibility with toybox but toybox now -supports -t] ---- - sbin/update-ca-certificates | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates -index 79c41bb..ae9e3f1 100755 ---- a/sbin/update-ca-certificates -+++ b/sbin/update-ca-certificates -@@ -113,9 +113,9 @@ trap cleanup 0 - - # Helper files. (Some of them are not simple arrays because we spawn - # subshells later on.) --TEMPBUNDLE="$(mktemp -t "${CERTBUNDLE}.tmp.XXXXXX")" --ADDED="$(mktemp -t "ca-certificates.tmp.XXXXXX")" --REMOVED="$(mktemp -t "ca-certificates.tmp.XXXXXX")" -+TEMPBUNDLE="$(mktemp --tmpdir "${CERTBUNDLE}.tmp.XXXXXX")" -+ADDED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" -+REMOVED="$(mktemp --tmpdir "ca-certificates.tmp.XXXXXX")" - - # Adds a certificate to the list of trusted ones. This includes a symlink - # in /etc/ssl/certs to the certificate file and its inclusion into the --- -2.1.4
meta/recipes-support/ca-certificates/ca-certificates_20211016.bb renamed from meta/recipes-support/ca-certificates/ca-certificates_20210119.bb +2 -3
@@ -14,15 +14,14 @@ DEPENDS:class-nativesdk = "openssl-native" # Need rehash from openssl and run-parts from debianutils PACKAGE_WRITE_DEPS += "openssl-native debianutils-native" -SRCREV = "181be7ebd169b4a6fb5d90c3e6dc791e90534144" +SRCREV = "07de54fdcc5806bde549e1edf60738c6bccf50e8" SRC_URI = "git://salsa.debian.org/debian/ca-certificates.git;protocol=https \ file://0002-update-ca-certificates-use-SYSROOT.patch \ file://0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch \ - file://update-ca-certificates-support-Toybox.patch \ file://default-sysroot.patch \ - file://sbindir.patch \ file://0003-update-ca-certificates-use-relative-symlinks-from-ET.patch \ + file://0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch \ " UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+)"
Signature · 1 line
2.31.1
PATCH 30/37 ovmf: update 202105 -> 202108
In reply to Anuj MittalFrom: Alexander Kanavin <[email protected]>
--- meta/recipes-core/ovmf/ovmf_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/ovmf/ovmf_git.bb +2 -2
@@ -25,8 +25,8 @@ SRC_URI = "gitsm://github.com/tianocore/edk2.git;branch=master;protocol=https \ file://0001-Fix-VLA-parameter-warning.patch \ " -PV = "edk2-stable202105" -SRCREV = "e1999b264f1f9d7230edf2448f757c73da567832" +PV = "edk2-stable202108" +SRCREV = "7b4a99be8a39c12d3a7fc4b8db9f0eab4ac688d5" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>edk2-stable.*)" inherit deploy
Signature · 1 line
2.31.1
PATCH 31/37 linux-firmware: upgrade 20210818 -> 20210919
In reply to Anuj MittalFrom: Alexander Kanavin <[email protected]>
License-Update: additional files
---
...{linux-firmware_20210818.bb => linux-firmware_20210919.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-kernel/linux-firmware/{linux-firmware_20210818.bb => linux-firmware_20210919.bb} (99%)meta/recipes-kernel/linux-firmware/linux-firmware_20210919.bb renamed from meta/recipes-kernel/linux-firmware/linux-firmware_20210818.bb +2 -2
@@ -132,7 +132,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ - file://WHENCE;md5=15ad289bf2359e8ecf613f3b04f72fab \ + file://WHENCE;md5=76f012f7e9b2260d34eccf5726374f08 \ " # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -205,7 +205,7 @@ PE = "1" SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "bef3d317c348d962b3a1b95cb4e19ea4f282e18112b2c669cff74f9267ce3893" +SRC_URI[sha256sum] = "2fb22a5d7d23bf1f5800ab8152b39a00a445fbf4923de5a01b59d3f6253f0a9f" inherit allarch
Signature · 1 line
2.31.1
PATCH 32/37 wireless-regdb: upgrade 2021.07.14 -> 2021.08.28
In reply to Anuj MittalFrom: Alexander Kanavin <[email protected]>
---
...ireless-regdb_2021.07.14.bb => wireless-regdb_2021.08.28.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-kernel/wireless-regdb/{wireless-regdb_2021.07.14.bb => wireless-regdb_2021.08.28.bb} (94%)meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.08.28.bb renamed from meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.07.14.bb +1 -1
@@ -5,7 +5,7 @@ LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c" SRC_URI = "https://www.kernel.org/pub/software/network/${BPN}/${BP}.tar.xz" -SRC_URI[sha256sum] = "2e2dd216a5f1a310b849774af63e6309d94c2207c34771a534c47ae18b162742" +SRC_URI[sha256sum] = "cff370c410d1e6d316ae0a7fa8ac6278fdf1efca5d3d664aca7cfd2aafa54446" inherit bin_package allarch
Signature · 1 line
2.31.1
PATCH 35/37 mesa: upgrade 21.2.1 -> 21.2.4
In reply to Anuj MittalFrom: Pablo Saavedra Rodi?o <[email protected]>
Contains 'Make YUV formats we're going to emulate external-only' [1] was applied in 21.2.4. This fixes red label issues on video for VC4, Freedreno and others.
Deletes meta/recipes-graphics/mesa/files/without-neon.patch [2] already in Mesa since 21.2.
Release notes:
* 21.2.2: https://docs.mesa3d.org/relnotes/21.2.2.html
* 21.2.3: https://docs.mesa3d.org/relnotes/21.2.3.html
* 21.2.4: https://docs.mesa3d.org/relnotes/21.2.4.html
[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13038
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12569
---
.../mesa/files/without-neon.patch | 53 -------------------
.../{mesa-gl_21.2.1.bb => mesa-gl_21.2.4.bb} | 0
meta/recipes-graphics/mesa/mesa.inc | 3 +-
.../mesa/{mesa_21.2.1.bb => mesa_21.2.4.bb} | 0
4 files changed, 1 insertion(+), 55 deletions(-)
delete mode 100644 meta/recipes-graphics/mesa/files/without-neon.patch
rename meta/recipes-graphics/mesa/{mesa-gl_21.2.1.bb => mesa-gl_21.2.4.bb} (100%)
rename meta/recipes-graphics/mesa/{mesa_21.2.1.bb => mesa_21.2.4.bb} (100%)meta/recipes-graphics/mesa/files/without-neon.patch deleted +0 -53
@@ -1,53 +0,0 @@ -Since 80923e8d ("util/format: Add some NEON intrinsics-based u_format_unpack.") -upstream the build fails on Arm platforms which use the soft-float ABI, such as -qemuarmv5: - - arm_neon.h:31:2: error: #error "NEON intrinsics not available with the - soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" - -Take a patch from upstream to check the ABI being used before trying to -use NEON instructions. - -Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12569] -Signed-off-by: Ross Burton <[email protected]> - -From 5dcce985a6dd3b7856d65e21db753e2c7a0f5dd5 Mon Sep 17 00:00:00 2001 -From: Adrian Bunk <[email protected]> -Date: Thu, 26 Aug 2021 22:35:49 +0300 -Subject: [PATCH] util/format: NEON is not available with the soft-float ABI - -Fixes: 80923e8d58cc ("util/format: Add some NEON intrinsics-based u_format_unpack.") ---- - src/util/format/u_format.c | 2 +- - src/util/format/u_format_unpack_neon.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/util/format/u_format.c b/src/util/format/u_format.c -index c49b3788c82..31f1f240efc 100644 ---- a/src/util/format/u_format.c -+++ b/src/util/format/u_format.c -@@ -1138,7 +1138,7 @@ static void - util_format_unpack_table_init(void) - { - for (enum pipe_format format = PIPE_FORMAT_NONE; format < PIPE_FORMAT_COUNT; format++) { --#if (defined(PIPE_ARCH_AARCH64) || defined(PIPE_ARCH_ARM)) && !defined NO_FORMAT_ASM -+#if (defined(PIPE_ARCH_AARCH64) || defined(PIPE_ARCH_ARM)) && !defined(NO_FORMAT_ASM) && !defined(__SOFTFP__) - const struct util_format_unpack_description *unpack = util_format_unpack_description_neon(format); - if (unpack) { - util_format_unpack_table[format] = unpack; -diff --git a/src/util/format/u_format_unpack_neon.c b/src/util/format/u_format_unpack_neon.c -index 7456d7aaa88..a4a5cb1f723 100644 ---- a/src/util/format/u_format_unpack_neon.c -+++ b/src/util/format/u_format_unpack_neon.c -@@ -23,7 +23,7 @@ - - #include <u_format.h> - --#if (defined(PIPE_ARCH_AARCH64) || defined(PIPE_ARCH_ARM)) && !defined NO_FORMAT_ASM -+#if (defined(PIPE_ARCH_AARCH64) || defined(PIPE_ARCH_ARM)) && !defined(NO_FORMAT_ASM) && !defined(__SOFTFP__) - - /* armhf builds default to vfp, not neon, and refuses to compile neon intrinsics - * unless you tell it "no really". --- -GitLab -
meta/recipes-graphics/mesa/mesa-gl_21.2.4.bb renamed from meta/recipes-graphics/mesa/mesa-gl_21.2.1.bb +0 -0
meta/recipes-graphics/mesa/mesa.inc +1 -2
@@ -19,10 +19,9 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://0002-meson.build-make-TLS-ELF-optional.patch \ file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \ - file://without-neon.patch \ " -SRC_URI[sha256sum] = "2c65e6710b419b67456a48beefd0be827b32db416772e0e363d5f7d54dc01787" +SRC_URI[sha256sum] = "fe6ede82d1ac02339da3c2ec1820a379641902fd351a52cc01153f76eff85b44" UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"
meta/recipes-graphics/mesa/mesa_21.2.4.bb renamed from meta/recipes-graphics/mesa/mesa_21.2.1.bb +0 -0
Signature · 1 line
2.31.1
PATCH 36/37 sstate: fix touching files inside pseudo
In reply to Anuj MittalFrom: Jose Quaresma <[email protected]>
running the 'id' command inside the sstate_create_package function shows that this funcion run inside the pseudo:
uid=0(root) gid=0(root) groups=0(root)
The check for touch files [ ! -w ${SSTATE_PKG} ]
will always return true and the touch can fail
when the real user don't have permission or
in readonly filesystem.
As the documentation refers, the file test operator "-w" check if the file has write permission (for the user running the test).
We can avoid this test running the touch and mask any return errors that we have.
--- meta/classes/sstate.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes/sstate.bbclass +2 -2
@@ -825,7 +825,7 @@ sstate_task_postfunc[dirs] = "${WORKDIR}" sstate_create_package () { # Exit early if it already exists if [ -e ${SSTATE_PKG} ]; then - [ ! -w ${SSTATE_PKG} ] || touch ${SSTATE_PKG} + touch ${SSTATE_PKG} 2>/dev/null || true return fi
@@ -859,7 +859,7 @@ sstate_create_package () { else rm $TFILE fi - [ ! -w ${SSTATE_PKG} ] || touch ${SSTATE_PKG} + touch ${SSTATE_PKG} 2>/dev/null || true } python sstate_sign_package () {
Signature · 1 line
2.31.1
PATCH 37/37 bootchart2: Don't compile python modules
In reply to Anuj MittalFrom: Richard Purdie <[email protected]>
"make install" may attempt to compile the python modules but it uses the host python and host paths which means the binaries are not reproducbile. Make things consistent. If anyone needs compiling, it will beed to be fixed to be cross compile compatible.
--- meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-devtools/bootchart2/bootchart2_0.14.9.bb +5 -1
@@ -99,6 +99,10 @@ SRC_URI = "git://github.com/xrmx/bootchart.git \ S = "${WORKDIR}/git" SRCREV = "868a2afab9da34f32c007d773b77253c93104636" +# remove at next version upgrade or when output changes +PR = "r1" +HASHEQUIV_HASH_VERSION .= ".1" + inherit systemd update-rc.d python3native update-alternatives ALTERNATIVE:${PN} = "bootchartd"
@@ -131,7 +135,7 @@ do_install () { export PKGLIBDIR="${base_libdir}/bootchart" export SYSTEMD_UNIT_DIR="${systemd_system_unitdir}" - oe_runmake install + oe_runmake install NO_PYTHON_COMPILE=1 install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/bootchartd_stop.sh ${D}${sysconfdir}/init.d
Signature · 1 line
2.31.1
PATCH 34/37 ffmpeg: fix CVE-2021-38114
In reply to Anuj MittalFrom: Kiran Surendran <[email protected]>
backport from upstream
--- .../ffmpeg/ffmpeg/fix-CVE-2021-38114.patch | 67 +++++++++++++++++++ meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 3 +- 2 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2021-38114.patch
meta/recipes-multimedia/ffmpeg/ffmpeg/fix-CVE-2021-38114.patch new file +67 -0
@@ -0,0 +1,67 @@ +CVE: CVE-2021-38114 +Upstream-Status: Backport +Signed-off-by: Kiran Surendran <[email protected]> + +From 463dbe4e78cc560ca5b09f23a07add0eb78ccee8 Mon Sep 17 00:00:00 2001 +From: maryam ebr <[email protected]> +Date: Tue, 3 Aug 2021 01:05:47 -0400 +Subject: [PATCH] avcodec/dnxhddec: check and propagate function return value + +Similar to CVE-2013-0868, here return value check for 'init_vlc' is needed. +crafted DNxHD data can cause unspecified impact. + +Reviewed-by: Paul B Mahol <[email protected]> +Signed-off-by: James Almer <[email protected]> +--- + libavcodec/dnxhddec.c | 22 +++++++++++++++------- + 1 file changed, 15 insertions(+), 7 deletions(-) + +diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c +index c78d55aee5..9b475a6979 100644 +--- a/libavcodec/dnxhddec.c ++++ b/libavcodec/dnxhddec.c +@@ -112,6 +112,7 @@ static av_cold int dnxhd_decode_init(AVCodecContext *avctx) + + static int dnxhd_init_vlc(DNXHDContext *ctx, uint32_t cid, int bitdepth) + { ++ int ret; + if (cid != ctx->cid) { + const CIDEntry *cid_table = ff_dnxhd_get_cid_table(cid); + +@@ -132,19 +133,26 @@ static int dnxhd_init_vlc(DNXHDContext *ctx, uint32_t cid, int bitdepth) + ff_free_vlc(&ctx->dc_vlc); + ff_free_vlc(&ctx->run_vlc); + +- init_vlc(&ctx->ac_vlc, DNXHD_VLC_BITS, 257, ++ if ((ret = init_vlc(&ctx->ac_vlc, DNXHD_VLC_BITS, 257, + ctx->cid_table->ac_bits, 1, 1, +- ctx->cid_table->ac_codes, 2, 2, 0); +- init_vlc(&ctx->dc_vlc, DNXHD_DC_VLC_BITS, bitdepth > 8 ? 14 : 12, ++ ctx->cid_table->ac_codes, 2, 2, 0)) < 0) ++ goto out; ++ if ((ret = init_vlc(&ctx->dc_vlc, DNXHD_DC_VLC_BITS, bitdepth > 8 ? 14 : 12, + ctx->cid_table->dc_bits, 1, 1, +- ctx->cid_table->dc_codes, 1, 1, 0); +- init_vlc(&ctx->run_vlc, DNXHD_VLC_BITS, 62, ++ ctx->cid_table->dc_codes, 1, 1, 0)) < 0) ++ goto out; ++ if ((ret = init_vlc(&ctx->run_vlc, DNXHD_VLC_BITS, 62, + ctx->cid_table->run_bits, 1, 1, +- ctx->cid_table->run_codes, 2, 2, 0); ++ ctx->cid_table->run_codes, 2, 2, 0)) < 0) ++ goto out; + + ctx->cid = cid; + } +- return 0; ++ ret = 0; ++out: ++ if (ret < 0) ++ av_log(ctx->avctx, AV_LOG_ERROR, "init_vlc failed\n"); ++ return ret; + } + + static int dnxhd_get_profile(int cid) +-- +2.31.1 +
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +2 -1
@@ -31,7 +31,8 @@ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ file://fix-CVE-2020-22021.patch \ file://fix-CVE-2020-22033-CVE-2020-22019.patch \ file://fix-CVE-2021-33815.patch \ - file://fix-CVE-2021-38171.patch \ + file://fix-CVE-2021-38171.patch \ + file://fix-CVE-2021-38114.patch \ " SRC_URI[sha256sum] = "06b10a183ce5371f915c6bb15b7b1fffbe046e8275099c96affc29e17645d909"
Signature · 1 line
2.31.1