All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core][dunfell 00/29] Patch review
@ 2021-10-31 16:57 Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 01/29] curl: Whitelist CVE-2021-22897 Steve Sakoman
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

Please review this set of patches for dunfell and have comments back by end
of day Tuesday.

Passed a-full on autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2833

The following changes since commit a7520c47573cd166d441e504737492b86f5aa42e:

  selftest/reproducible: adjust exclusion list for dunfell (2021-10-25 13:28:19 -1000)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib stable/dunfell-nut
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=stable/dunfell-nut

Alexander Kanavin (7):
  linux-firmware: upgrade 20210511 -> 20210818
  linux-firmware: upgrade 20210818 -> 20210919
  wireless-regdb: upgrade 2021.04.21 -> 2021.07.14
  wireless-regdb: upgrade 2021.07.14 -> 2021.08.28
  ca-certificates: update 20210119 -> 20211016
  tzdata: upgrade 2021a -> 2021d
  tzdata: update 2021d -> 2021e

Daniel McGregor (1):
  bitbake.conf: Add gpg-agent as a host tool

Jose Quaresma (1):
  sstate: fix touching files inside pseudo

Minjae Kim (1):
  vim: fix 2021-3796

Oleksandr Kravchuk (1):
  mirrors.bbclass: remove dead infozip mirrors

Ranjitsinh Rathod (1):
  curl: Whitelist CVE-2021-22897

Richard Purdie (5):
  base: Clean up unneeded len() calls
  base: Use repr() for printing exceptions
  reproducible_build: Drop obsolete sstate workaround
  patch: Use repr() with exceptions instead of str()
  git: Fix determinism issue

Ross Burton (8):
  devtool: fix modify with patches in override directories
  sstate: don't silently handle all exceptions in sstate_checkhashes
  oe/license: implement ast.NodeVisitor.visit_Constant
  license.bbclass: implement ast.NodeVisitor.visit_Constant
  oe/utils: log exceptions in ThreadedWorker functions
  testimage: fix unclosed testdata file
  oeqa/runtime: load modules using importlib
  oeqa/runtime: search sys.path explicitly for modules

Steve Sakoman (3):
  waffle: old website is down, update to new project URLs
  stress-ng: convert to git, website is down
  stress-ng: improve reproducibility

Teoh Jay Shen (1):
  oeqa/runtime/parselogs: modified drm error in common errors list

 meta/classes/base.bbclass                     | 12 +--
 meta/classes/devtool-source.bbclass           |  4 +-
 meta/classes/license.bbclass                  |  4 +
 meta/classes/mirrors.bbclass                  |  1 -
 meta/classes/patch.bbclass                    |  4 +-
 meta/classes/reproducible_build.bbclass       |  4 -
 meta/classes/sstate.bbclass                   | 11 +--
 meta/classes/testimage.bbclass                |  7 +-
 meta/conf/bitbake.conf                        |  2 +-
 meta/lib/oe/license.py                        |  6 ++
 meta/lib/oe/utils.py                          |  3 +-
 meta/lib/oeqa/runtime/cases/parselogs.py      |  2 +-
 meta/lib/oeqa/runtime/context.py              | 29 +++----
 meta/lib/oeqa/selftest/cases/bbtests.py       |  3 -
 meta/recipes-devtools/git/git.inc             |  2 +-
 meta/recipes-devtools/git/git/fixsort.patch   | 36 +++++++++
 ...write-the-timestamp-into-compressed-.patch | 26 ++++++
 .../stress-ng/stress-ng_0.11.17.bb            |  7 +-
 meta/recipes-extended/timezone/timezone.inc   |  7 +-
 meta/recipes-graphics/waffle/waffle_1.6.0.bb  | 12 +--
 ...20210511.bb => linux-firmware_20210919.bb} |  6 +-
 ....04.21.bb => wireless-regdb_2021.08.28.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 +-
 meta/recipes-support/curl/curl_7.69.1.bb      |  5 ++
 .../vim/files/CVE-2021-3796.patch             | 50 ++++++++++++
 28 files changed, 266 insertions(+), 123 deletions(-)
 create mode 100644 meta/recipes-devtools/git/git/fixsort.patch
 create mode 100644 meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch
 rename meta/recipes-kernel/linux-firmware/{linux-firmware_20210511.bb => linux-firmware_20210919.bb} (99%)
 rename meta/recipes-kernel/wireless-regdb/{wireless-regdb_2021.04.21.bb => wireless-regdb_2021.08.28.bb} (94%)
 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/vim/files/CVE-2021-3796.patch

-- 
2.25.1



^ permalink raw reply	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 01/29] curl: Whitelist CVE-2021-22897
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 02/29] vim: fix 2021-3796 Steve Sakoman
                   ` (27 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>

CVE-2021-22897 is affecting only Windows, hence whitelisting this CVE.
Link: https://security-tracker.debian.org/tracker/CVE-2021-22897
Link: https://ubuntu.com/security/CVE-2021-22897

Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-support/curl/curl_7.69.1.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-support/curl/curl_7.69.1.bb b/meta/recipes-support/curl/curl_7.69.1.bb
index d7ffb2dc50..bc1b993e9e 100644
--- a/meta/recipes-support/curl/curl_7.69.1.bb
+++ b/meta/recipes-support/curl/curl_7.69.1.bb
@@ -34,6 +34,11 @@ SRC_URI[sha256sum] = "2ff5e5bd507adf6aa88ff4bbafd4c7af464867ffb688be93b9930717a5
 CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
 CVE_CHECK_WHITELIST = "CVE-2021-22922 CVE-2021-22923 CVE-2021-22926 CVE-22945"
 
+# As per link https://security-tracker.debian.org/tracker/CVE-2021-22897
+# and https://ubuntu.com/security/CVE-2021-22897
+# This CVE issue affects Windows only Hence whitelisting this CVE
+CVE_CHECK_WHITELIST += "CVE-2021-22897"
+
 inherit autotools pkgconfig binconfig multilib_header
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls libidn proxy threaded-resolver verbose zlib"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 02/29] vim: fix 2021-3796
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 01/29] curl: Whitelist CVE-2021-22897 Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 03/29] sstate: fix touching files inside pseudo Steve Sakoman
                   ` (26 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Minjae Kim <flowergom@gmail.com>

vim is vulnerable to Use After Free
Problem: Checking first character of url twice.

reference:
https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3

Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 .../vim/files/CVE-2021-3796.patch             | 50 +++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 meta/recipes-support/vim/files/CVE-2021-3796.patch

diff --git a/meta/recipes-support/vim/files/CVE-2021-3796.patch b/meta/recipes-support/vim/files/CVE-2021-3796.patch
new file mode 100644
index 0000000000..666bd5c48b
--- /dev/null
+++ b/meta/recipes-support/vim/files/CVE-2021-3796.patch
@@ -0,0 +1,50 @@
+From 6d02e1429771c00046b48f26e53ca4123c3ce4e1 Mon Sep 17 00:00:00 2001
+From: Bram Moolenaar <Bram@vim.org>
+Date: Fri, 24 Sep 2021 16:01:09 +0800
+Subject: [PATCH] patch 8.2.3428: using freed memory when replacing
+
+Problem:    Using freed memory when replacing. (Dhiraj Mishra)
+Solution:   Get the line pointer after calling ins_copychar().
+
+Upstream-Status: Backport [https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3]
+CVE: CVE-2021-3796
+
+Signed-off-by: Minjae Kim  <flowergom@gmail.com>
+---
+ src/normal.c | 10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/src/normal.c b/src/normal.c
+index c4963e621..305b514bc 100644
+--- a/src/normal.c
++++ b/src/normal.c
+@@ -5009,19 +5009,23 @@ nv_replace(cmdarg_T *cap)
+           {
+               /*
+                * Get ptr again, because u_save and/or showmatch() will have
+-               * released the line.  At the same time we let know that the
+-               * line will be changed.
++               * released the line. This may also happen in ins_copychar().
++               * At the same time we let know that the line will be changed.
+                */
+-              ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE);
+               if (cap->nchar == Ctrl_E || cap->nchar == Ctrl_Y)
+               {
+                 int c = ins_copychar(curwin->w_cursor.lnum
+                                          + (cap->nchar == Ctrl_Y ? -1 : 1));
++
++                ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE);
+                 if (c != NUL)
+                   ptr[curwin->w_cursor.col] = c;
+               }
+               else
++              {
++                  ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE);
+                   ptr[curwin->w_cursor.col] = cap->nchar;
++              }
+               if (p_sm && msg_silent == 0)
+                   showmatch(cap->nchar);
+               ++curwin->w_cursor.col;
+-- 
+2.17.1
+
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 03/29] sstate: fix touching files inside pseudo
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 01/29] curl: Whitelist CVE-2021-22897 Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 02/29] vim: fix 2021-3796 Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 04/29] devtool: fix modify with patches in override directories Steve Sakoman
                   ` (25 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Jose Quaresma <quaresma.jose@gmail.com>

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.

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6e7445c94443544e92fda97a017ce93393c5f84)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/sstate.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 2ff0d6850c..a2496dce2b 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -796,7 +796,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
 
@@ -830,7 +830,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 () {
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 04/29] devtool: fix modify with patches in override directories
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (2 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 03/29] sstate: fix touching files inside pseudo Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 05/29] sstate: don't silently handle all exceptions in sstate_checkhashes Steve Sakoman
                   ` (24 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ross Burton <ross@burtonini.com>

If a recipe applies patches which are in machine-specific override
directories, devtool will fail to fetch the patches that don't match the
default configuration.  For example where there are patches at
qemux86/x86.patch and qemuarm/arm.patch:

SRC_URI = "file://source"
SRC_URI_append_qemuarm = " file://arm.patch"
SRC_URI_append_qemux86 = " file://x86.patch"

The patch apply phase sets OVERRIDES but does not set FILESOVERRIDES, so
it cannot find the patch files as the search path isn't correct.  Fix
this by setting FILESOVERRIDES too.

Also when iterating through the overrides we need to be sure that other
overrides that are used are not enabled, so extend no_overrides instead of
simply appending the current override.

Fixes most but not all of [ YOCTO #14060 ].

(From OE-Core rev: a372cdf8e175423c47faeecc98ad076ee26bbec8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a35bcc9d164ac038a31356a15a0f61ccdd38be2)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/devtool-source.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/devtool-source.bbclass b/meta/classes/devtool-source.bbclass
index 280d6009f3..41900e651f 100644
--- a/meta/classes/devtool-source.bbclass
+++ b/meta/classes/devtool-source.bbclass
@@ -199,6 +199,7 @@ python devtool_post_patch() {
             # Run do_patch function with the override applied
             localdata = bb.data.createCopy(d)
             localdata.setVar('OVERRIDES', ':'.join(no_overrides))
+            localdata.setVar('FILESOVERRIDES', ':'.join(no_overrides))
             bb.build.exec_func('do_patch', localdata)
             rm_patches()
             # Now we need to reconcile the dev branch with the no-overrides one
@@ -216,7 +217,8 @@ python devtool_post_patch() {
                 # Reset back to the initial commit on a new branch
                 bb.process.run('git checkout %s -b devtool-override-%s' % (initial_rev, override), cwd=srcsubdir)
                 # Run do_patch function with the override applied
-                localdata.appendVar('OVERRIDES', ':%s' % override)
+                localdata.setVar('OVERRIDES', ':'.join(no_overrides + [override]))
+                localdata.setVar('FILESOVERRIDES', ':'.join(no_overrides + [override]))
                 bb.build.exec_func('do_patch', localdata)
                 rm_patches()
                 # Now we need to reconcile the new branch with the no-overrides one
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 05/29] sstate: don't silently handle all exceptions in sstate_checkhashes
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (3 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 04/29] devtool: fix modify with patches in override directories Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 06/29] base: Clean up unneeded len() calls Steve Sakoman
                   ` (23 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ross Burton <ross@burtonini.com>

If checkstatus returns an exception we should silently handle
FetchError, as this means the fetch failed for 'normal' reasons such as
file not found.  However, other exceptions may be raised, and these
should be made visible.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50d99faf88a1d82cbd939b9bd6e33ebed2b1ffd8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/sstate.bbclass | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index a2496dce2b..38dc3bff30 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -950,10 +950,11 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True,
                 found.add(tid)
                 if tid in missed:
                     missed.remove(tid)
-            except:
+            except bb.fetch2.FetchError as e:
                 missed.add(tid)
-                bb.debug(2, "SState: Unsuccessful fetch test for %s" % srcuri)
-                pass
+                bb.debug(2, "SState: Unsuccessful fetch test for %s (%s)" % (srcuri, e))
+            except Exception as e:
+                bb.error("SState: cannot test %s: %s" % (srcuri, e))
             if len(tasklist) >= min_tasks:
                 bb.event.fire(bb.event.ProcessProgress(msg, len(tasklist) - thread_worker.tasks.qsize()), d)
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 06/29] base: Clean up unneeded len() calls
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (4 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 05/29] sstate: don't silently handle all exceptions in sstate_checkhashes Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 07/29] base: Use repr() for printing exceptions Steve Sakoman
                   ` (22 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

This code pattern isn't very pythonic, improve it to drop the unneeded
len() calls.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69376ac1a6147b26fe1abaa4cf68414024814d63)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/base.bbclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 8a1b5f79c1..a3e98d1b50 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -153,7 +153,7 @@ do_fetch[vardeps] += "SRCREV"
 python base_do_fetch() {
 
     src_uri = (d.getVar('SRC_URI') or "").split()
-    if len(src_uri) == 0:
+    if not src_uri:
         return
 
     try:
@@ -170,7 +170,7 @@ do_unpack[cleandirs] = "${@d.getVar('S') if os.path.normpath(d.getVar('S')) != o
 
 python base_do_unpack() {
     src_uri = (d.getVar('SRC_URI') or "").split()
-    if len(src_uri) == 0:
+    if not src_uri:
         return
 
     try:
@@ -688,7 +688,7 @@ python () {
             if os.path.basename(p) == machine and os.path.isdir(p):
                 paths.append(p)
 
-        if len(paths) != 0:
+        if paths:
             for s in srcuri.split():
                 if not s.startswith("file://"):
                     continue
@@ -721,7 +721,7 @@ do_cleansstate[nostamp] = "1"
 
 python do_cleanall() {
     src_uri = (d.getVar('SRC_URI') or "").split()
-    if len(src_uri) == 0:
+    if not src_uri:
         return
 
     try:
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 07/29] base: Use repr() for printing exceptions
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (5 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 06/29] base: Clean up unneeded len() calls Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 08/29] bitbake.conf: Add gpg-agent as a host tool Steve Sakoman
                   ` (21 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

Exceptions print more clearly using repr() instead of str(), fix
in fetch and unpack tasks.

Drop part of the test which no longer makes sense after this change.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c94816259cc1c09746353ad26ca0c811e0c962c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/base.bbclass               | 4 ++--
 meta/lib/oeqa/selftest/cases/bbtests.py | 3 ---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index a3e98d1b50..9ed736b0e1 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -160,7 +160,7 @@ python base_do_fetch() {
         fetcher = bb.fetch2.Fetch(src_uri, d)
         fetcher.download()
     except bb.fetch2.BBFetchException as e:
-        bb.fatal(str(e))
+        bb.fatal("Bitbake Fetcher Error: " + repr(e))
 }
 
 addtask unpack after do_fetch
@@ -177,7 +177,7 @@ python base_do_unpack() {
         fetcher = bb.fetch2.Fetch(src_uri, d)
         fetcher.unpack(d.getVar('WORKDIR'))
     except bb.fetch2.BBFetchException as e:
-        bb.fatal(str(e))
+        bb.fatal("Bitbake Fetcher Error: " + repr(e))
 }
 
 def get_layers_branch_rev(d):
diff --git a/meta/lib/oeqa/selftest/cases/bbtests.py b/meta/lib/oeqa/selftest/cases/bbtests.py
index dc423ec439..d4f6a08991 100644
--- a/meta/lib/oeqa/selftest/cases/bbtests.py
+++ b/meta/lib/oeqa/selftest/cases/bbtests.py
@@ -148,9 +148,6 @@ INHERIT_remove = \"report-error\"
         self.delete_recipeinc('man-db')
         self.assertEqual(result.status, 1, msg="Command succeded when it should have failed. bitbake output: %s" % result.output)
         self.assertIn('Fetcher failure: Unable to find file file://invalid anywhere. The paths that were searched were:', result.output)
-        line = self.getline(result, 'Fetcher failure for URL: \'file://invalid\'. Unable to fetch URL from any source.')
-        self.assertTrue(line and line.startswith("ERROR:"), msg = "\"invalid\" file \
-doesn't exist, yet fetcher didn't report any error. bitbake output: %s" % result.output)
 
     def test_rename_downloaded_file(self):
         # TODO unique dldir instead of using cleanall
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 08/29] bitbake.conf: Add gpg-agent as a host tool
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (6 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 07/29] base: Use repr() for printing exceptions Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 09/29] oe/license: implement ast.NodeVisitor.visit_Constant Steve Sakoman
                   ` (20 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Daniel McGregor <daniel.mcgregor@vecima.com>

If gpg is used, it will find the first gpg agent in the path, this
may lead to issues where gpg comes from the host, and the agent
comes from a gnupg-native due to package signing. The versions
being out of sync causes gpg to fail.

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b59fb9d52a405a32a1d069d4c5320b72fbd35ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f442a6593a..91f003d6dd 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -502,7 +502,7 @@ HOSTTOOLS += " \
 HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d) or any(x in (d.getVar("BBINCLUDED") or "") for x in ["testimage.bbclass", "testsdk.bbclass"])) else ''}"
 
 # Link to these if present
-HOSTTOOLS_NONFATAL += "aws gcc-ar gpg ld.bfd ld.gold nc pigz sftp socat ssh sudo"
+HOSTTOOLS_NONFATAL += "aws gcc-ar gpg gpg-agent ld.bfd ld.gold nc pigz sftp socat ssh sudo"
 
 # Temporary add few more detected in bitbake world
 HOSTTOOLS_NONFATAL += "join nl size yes zcat"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 09/29] oe/license: implement ast.NodeVisitor.visit_Constant
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (7 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 08/29] bitbake.conf: Add gpg-agent as a host tool Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 10/29] license.bbclass: " Steve Sakoman
                   ` (19 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ross Burton <ross@burtonini.com>

Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant.  We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit abc93390a3f19bc4cc159c5690a478b9e2270906)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/lib/oe/license.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py
index c1274a61de..c4efbe142b 100644
--- a/meta/lib/oe/license.py
+++ b/meta/lib/oe/license.py
@@ -81,6 +81,9 @@ class FlattenVisitor(LicenseVisitor):
     def visit_Str(self, node):
         self.licenses.append(node.s)
 
+    def visit_Constant(self, node):
+        self.licenses.append(node.value)
+
     def visit_BinOp(self, node):
         if isinstance(node.op, ast.BitOr):
             left = FlattenVisitor(self.choose_licenses)
@@ -234,6 +237,9 @@ class ListVisitor(LicenseVisitor):
     def visit_Str(self, node):
         self.licenses.add(node.s)
 
+    def visit_Constant(self, node):
+        self.licenses.add(node.value)
+
 def list_licenses(licensestr):
     """Simply get a list of all licenses mentioned in a license string.
        Binary operators are not applied or taken into account in any way"""
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 10/29] license.bbclass: implement ast.NodeVisitor.visit_Constant
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (8 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 09/29] oe/license: implement ast.NodeVisitor.visit_Constant Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 11/29] oe/utils: log exceptions in ThreadedWorker functions Steve Sakoman
                   ` (18 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ross Burton <ross@burtonini.com>

Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant.  We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 875a944392a3c93f40081a14af357f70b6b8264f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/license.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index 73f99e87a8..6b03221c7f 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -153,6 +153,10 @@ def find_license_files(d):
             find_license(node.s.replace("+", "").replace("*", ""))
             self.generic_visit(node)
 
+        def visit_Constant(self, node):
+            find_license(node.value.replace("+", "").replace("*", ""))
+            self.generic_visit(node)
+
     def find_license(license_type):
         try:
             bb.utils.mkdirhier(gen_lic_dest)
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 11/29] oe/utils: log exceptions in ThreadedWorker functions
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (9 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 10/29] license.bbclass: " Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 12/29] reproducible_build: Drop obsolete sstate workaround Steve Sakoman
                   ` (17 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ross Burton <ross@burtonini.com>

If the function a ThreadedWorker is executing raises an exception, don't
use print() as that mostly disappears.  Instead, output it to the logger.

This is done using bb.mainlogger.debug directly instead of bb.debug() as
this allows us to pass the exception instance directly, which is then
incorporated into the log stream.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f1ea25c222b344dd8b784b2bc73a6540ab30274)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/lib/oe/utils.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index 83d298906b..3e016244c5 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -481,7 +481,8 @@ class ThreadedWorker(Thread):
             try:
                 func(self, *args, **kargs)
             except Exception as e:
-                print(e)
+                # Eat all exceptions
+                bb.mainlogger.debug("Worker task raised %s" % e, exc_info=e)
             finally:
                 self.tasks.task_done()
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 12/29] reproducible_build: Drop obsolete sstate workaround
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (10 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 11/29] oe/utils: log exceptions in ThreadedWorker functions Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 13/29] patch: Use repr() with exceptions instead of str() Steve Sakoman
                   ` (16 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

sstate has been sufficiently invalidated since this change was made, drop
the workaround now.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a497d8f30f21bafc78d0f22f3442a9cc99544cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/reproducible_build.bbclass | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass
index 62655c2a5b..b44053d076 100644
--- a/meta/classes/reproducible_build.bbclass
+++ b/meta/classes/reproducible_build.bbclass
@@ -104,10 +104,6 @@ def get_source_date_epoch_value(d):
             s = f.read()
             try:
                 source_date_epoch = int(s)
-                # workaround for old sstate with SDE_FILE content being 0 - use SOURCE_DATE_EPOCH_FALLBACK
-                if source_date_epoch == 0 :
-                    source_date_epoch = int(d.getVar('SOURCE_DATE_EPOCH_FALLBACK'))
-                    bb.warn("SOURCE_DATE_EPOCH value from sstate '%s' is deprecated/invalid. Reverting to SOURCE_DATE_EPOCH_FALLBACK '%s'" % (s, source_date_epoch))
             except ValueError:
                 bb.warn("SOURCE_DATE_EPOCH value '%s' is invalid. Reverting to SOURCE_DATE_EPOCH_FALLBACK" % s)
                 source_date_epoch = int(d.getVar('SOURCE_DATE_EPOCH_FALLBACK'))
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 13/29] patch: Use repr() with exceptions instead of str()
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (11 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 12/29] reproducible_build: Drop obsolete sstate workaround Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 14/29] testimage: fix unclosed testdata file Steve Sakoman
                   ` (15 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

This gives more meaningful errors.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b285796b618623289992faea1282f1822335239)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/patch.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 484d27ac76..6a19ae3e73 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -150,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("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], str(exc)))
+            bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc)))
         try:
             resolver.Resolve()
         except bb.BBHandledException as e:
             bb.utils.remove(process_tmpdir, True)
-            bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, str(e)))
+            bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e)))
 
     bb.utils.remove(process_tmpdir, True)
     del os.environ['TMPDIR']
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 14/29] testimage: fix unclosed testdata file
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (12 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 13/29] patch: Use repr() with exceptions instead of str() Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 15/29] oeqa/runtime: load modules using importlib Steve Sakoman
                   ` (14 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ross Burton <ross@burtonini.com>

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c192a97e3e1c015a48667d6903cc07a8b2620e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/testimage.bbclass | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index db1d54e5cb..b1aef626f7 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -229,9 +229,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.
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 15/29] oeqa/runtime: load modules using importlib
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (13 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 14/29] testimage: fix unclosed testdata file Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 16/29] oeqa/runtime: search sys.path explicitly for modules Steve Sakoman
                   ` (13 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ross Burton <ross@burtonini.com>

Instead of using __import__() which is low-level and discouraged, use
importlib.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f501d22eab5dbd565f3f5783f4f484a6d1f70a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/lib/oeqa/runtime/context.py | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py
index 3826f27642..7908ce1fd4 100644
--- a/meta/lib/oeqa/runtime/context.py
+++ b/meta/lib/oeqa/runtime/context.py
@@ -175,16 +175,12 @@ class OERuntimeTestContextExecutor(OETestContextExecutor):
     # Search for and return a controller or None from given module name
     @staticmethod
     def _loadControllerFromModule(target, modulename):
-        obj = None
-        # import module, allowing it to raise import exception
-        module = __import__(modulename, globals(), locals(), [target])
-        # look for target class in the module, catching any exceptions as it
-        # is valid that a module may not have the target class.
         try:
-            obj = getattr(module, target)
-        except:
-            obj = None
-        return obj
+            import importlib
+            module = importlib.import_module(modulename)
+            return getattr(module, target)
+        except AttributeError:
+            return None
 
     @staticmethod
     def readPackagesManifest(manifest):
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 16/29] oeqa/runtime: search sys.path explicitly for modules
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (14 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 15/29] oeqa/runtime: load modules using importlib Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 17/29] oeqa/runtime/parselogs: modified drm error in common errors list Steve Sakoman
                   ` (12 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Ross Burton <ross@burtonini.com>

The controller module loading code needs to be told what directories
to search for modules via the target_modules_path keyword argument, which
is set to BBPATH.

However, as the actual module loading is done via importlib this relies
on the paths being on sys.path, which it is as base.bbclass puts each
layer's lib/ in sys.path.

Simplify the code by removing this indirection, and simply search
sys.path directly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 570a19581f582f77e04d6892adb647cd649a6943)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/lib/oeqa/runtime/context.py | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py
index 7908ce1fd4..d707ab263a 100644
--- a/meta/lib/oeqa/runtime/context.py
+++ b/meta/lib/oeqa/runtime/context.py
@@ -5,6 +5,7 @@
 #
 
 import os
+import sys
 
 from oeqa.core.context import OETestContext, OETestContextExecutor
 from oeqa.core.target.ssh import OESSHTarget
@@ -119,8 +120,7 @@ class OERuntimeTestContextExecutor(OETestContextExecutor):
             # XXX: Don't base your targets on this code it will be refactored
             # in the near future.
             # Custom target module loading
-            target_modules_path = kwargs.get('target_modules_path', '')
-            controller = OERuntimeTestContextExecutor.getControllerModule(target_type, target_modules_path)
+            controller = OERuntimeTestContextExecutor.getControllerModule(target_type)
             target = controller(logger, target_ip, server_ip, **kwargs)
 
         return target
@@ -130,15 +130,15 @@ class OERuntimeTestContextExecutor(OETestContextExecutor):
     # AttributeError raised if not found.
     # ImportError raised if a provided module can not be imported.
     @staticmethod
-    def getControllerModule(target, target_modules_path):
-        controllerslist = OERuntimeTestContextExecutor._getControllerModulenames(target_modules_path)
+    def getControllerModule(target):
+        controllerslist = OERuntimeTestContextExecutor._getControllerModulenames()
         controller = OERuntimeTestContextExecutor._loadControllerFromName(target, controllerslist)
         return controller
 
     # Return a list of all python modules in lib/oeqa/controllers for each
     # layer in bbpath
     @staticmethod
-    def _getControllerModulenames(target_modules_path):
+    def _getControllerModulenames():
 
         controllerslist = []
 
@@ -153,9 +153,8 @@ class OERuntimeTestContextExecutor(OETestContextExecutor):
                 else:
                     raise RuntimeError("Duplicate controller module found for %s. Layers should create unique controller module names" % module)
 
-        extpath = target_modules_path.split(':')
-        for p in extpath:
-            controllerpath = os.path.join(p, 'lib', 'oeqa', 'controllers')
+        for p in sys.path:
+            controllerpath = os.path.join(p, 'oeqa', 'controllers')
             if os.path.exists(controllerpath):
                 add_controller_list(controllerpath)
         return controllerslist
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 17/29] oeqa/runtime/parselogs: modified drm error in common errors list
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (15 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 16/29] oeqa/runtime: search sys.path explicitly for modules Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 18/29] mirrors.bbclass: remove dead infozip mirrors Steve Sakoman
                   ` (11 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Teoh Jay Shen <jay.shen.teoh@intel.com>

Changed the following line from:

  [drm] Cannot find any crtc or sizes - going 1024x768  >  [drm] Cannot find any crtc or sizes

This will expand the coverage of the failure to also cover the case when fallback size is not set.

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0569fa735458512d6e15aa3315218ecbdf8510a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/lib/oeqa/runtime/cases/parselogs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py
index 138fc306fc..30e42ed9d5 100644
--- a/meta/lib/oeqa/runtime/cases/parselogs.py
+++ b/meta/lib/oeqa/runtime/cases/parselogs.py
@@ -32,7 +32,7 @@ common_errors = [
     "Failed to load module \"fbdev\"",
     "Failed to load module fbdev",
     "Failed to load module glx",
-    "[drm] Cannot find any crtc or sizes - going 1024x768",
+    "[drm] Cannot find any crtc or sizes",
     "_OSC failed (AE_NOT_FOUND); disabling ASPM",
     "Open ACPI failed (/var/run/acpid.socket) (No such file or directory)",
     "NX (Execute Disable) protection cannot be enabled: non-PAE kernel!",
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 18/29] mirrors.bbclass: remove dead infozip mirrors
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (16 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 17/29] oeqa/runtime/parselogs: modified drm error in common errors list Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 19/29] waffle: old website is down, update to new project URLs Steve Sakoman
                   ` (10 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0140df8724a1c73f7b62fbbbaee58c3eb119eeba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/classes/mirrors.bbclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 87bba41472..ebec56c83c 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -29,7 +29,6 @@ ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN \n \
 ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/ \n \
 ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/ \n \
 ftp://ftp.gnutls.org/gcrypt/gnutls ${GNUPG_MIRROR}/gnutls \n \
-http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/ \n \
 http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/ \n \
 http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/ http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/ \n \
 ${APACHE_MIRROR}  http://www.us.apache.org/dist \n \
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 19/29] waffle: old website is down, update to new project URLs
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (17 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 18/29] mirrors.bbclass: remove dead infozip mirrors Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 20/29] stress-ng: convert to git, website is down Steve Sakoman
                   ` (9 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-graphics/waffle/waffle_1.6.0.bb | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-graphics/waffle/waffle_1.6.0.bb b/meta/recipes-graphics/waffle/waffle_1.6.0.bb
index 14d6a61525..f0dc780ca1 100644
--- a/meta/recipes-graphics/waffle/waffle_1.6.0.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.6.0.bb
@@ -3,17 +3,19 @@ DESCRIPTION = "A cross-platform C library that allows one to defer selection \
 of an OpenGL API and window system until runtime. For example, on Linux, Waffle \
 enables an application to select X11/EGL with an OpenGL 3.3 core profile, \
 Wayland with OpenGL ES2, and other window system / API combinations."
-HOMEPAGE = "http://www.waffle-gl.org/"
+HOMEPAGE = "https://gitlab.freedesktop.org/mesa/waffle"
 BUGTRACKER = "https://gitlab.freedesktop.org/mesa/waffle"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4c5154407c2490750dd461c50ad94797 \
                     file://include/waffle/waffle.h;endline=24;md5=61dbf8697f61c78645e75a93c585b1bf"
 
-SRC_URI = "http://waffle-gl.org/files/release/${BPN}-${PV}/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "61bfc1a478e840825f33ddb4057115e7"
-SRC_URI[sha256sum] = "d9c899f710c50cfdd00f5f4cdfeaef0687d8497362239bdde93bed6c909c81d7"
+SRC_URI = "https://gitlab.freedesktop.org/mesa/waffle/-/archive/v${PV}/${BPN}-v${PV}.tar.bz2"
+SRC_URI[md5sum] = "9eaef03c8220dc8d64e2e42ae1b8c942"
+SRC_URI[sha256sum] = "38ef38fefbda605ba905ce00435a63fe45e9bf17a5eff096c3a47b5006a619cb"
 
-UPSTREAM_CHECK_URI = "http://www.waffle-gl.org/releases.html"
+S = "${WORKDIR}/${BPN}-v${PV}"
+
+UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/mesa/waffle/-/releases"
 
 inherit meson features_check lib_package bash-completion
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 20/29] stress-ng: convert to git, website is down
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (18 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 19/29] waffle: old website is down, update to new project URLs Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 21/29] stress-ng: improve reproducibility Steve Sakoman
                   ` (8 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb b/meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb
index 9b987c7bde..af8e77ece2 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb
@@ -5,11 +5,11 @@ HOMEPAGE = "https://kernel.ubuntu.com/~cking/stress-ng/"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI = "https://kernel.ubuntu.com/~cking/tarballs/${BPN}/${BP}.tar.xz \
+SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https \
            file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \
            "
-SRC_URI[md5sum] = "7b89157c838f2bb4bdeba8f46e3c56ae"
-SRC_URI[sha256sum] = "860291dd3a18b985b3483190a627bbede2b5c52113766c1921001b3fb4b83af0"
+SRCREV = "e045bcd711178c11b7e797ef6b4c524658468596"
+S = "${WORKDIR}/git"
 
 DEPENDS = "coreutils-native"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 21/29] stress-ng: improve reproducibility
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (19 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 20/29] stress-ng: convert to git, website is down Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 22/29] git: Fix determinism issue Steve Sakoman
                   ` (7 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 ...write-the-timestamp-into-compressed-.patch | 26 +++++++++++++++++++
 .../stress-ng/stress-ng_0.11.17.bb            |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch

diff --git a/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch b/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch
new file mode 100644
index 0000000000..9dfca0441b
--- /dev/null
+++ b/meta/recipes-extended/stress-ng/stress-ng/0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch
@@ -0,0 +1,26 @@
+From 2386cd8f907b379ae5cc1ce2888abef7d30e709a Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+Date: Sat, 23 Oct 2021 20:20:59 +0200
+Subject: [PATCH] Makefile: do not write the timestamp into compressed manpage.
+
+This helps reproducibility.
+
+Upstream-Status: Submitted [https://github.com/ColinIanKing/stress-ng/pull/156]
+Signed-off-by: Alexander Kanavin <alex@linutronix.de>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 886018f9..f4290f9c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -412,7 +412,7 @@ git-commit-id.h:
+ $(OBJS): stress-ng.h Makefile
+ 
+ stress-ng.1.gz: stress-ng.1
+-	gzip -c $< > $@
++	gzip -n -c $< > $@
+ 
+ .PHONY: dist
+ dist:
diff --git a/meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb b/meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb
index af8e77ece2..0533a0e19b 100644
--- a/meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb
+++ b/meta/recipes-extended/stress-ng/stress-ng_0.11.17.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "git://github.com/ColinIanKing/stress-ng.git;protocol=https \
            file://0001-Do-not-preserve-ownership-when-installing-example-jo.patch \
+           file://0001-Makefile-do-not-write-the-timestamp-into-compressed-.patch \
            "
 SRCREV = "e045bcd711178c11b7e797ef6b4c524658468596"
 S = "${WORKDIR}/git"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 22/29] git: Fix determinism issue
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (20 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 21/29] stress-ng: improve reproducibility Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 23/29] linux-firmware: upgrade 20210511 -> 20210818 Steve Sakoman
                   ` (6 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9ae740939f8315c64fe7571f912404127a29dc89)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-devtools/git/git.inc           |  2 +-
 meta/recipes-devtools/git/git/fixsort.patch | 36 +++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/git/git/fixsort.patch

diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 738a429875..2b75bed055 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -10,7 +10,7 @@ PROVIDES_append_class-native = " git-replacement-native"
 SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \
            ${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages \
 	   file://CVE-2021-21300.patch \
-"
+           file://fixsort.patch"
 
 S = "${WORKDIR}/git-${PV}"
 
diff --git a/meta/recipes-devtools/git/git/fixsort.patch b/meta/recipes-devtools/git/git/fixsort.patch
new file mode 100644
index 0000000000..eec1f84945
--- /dev/null
+++ b/meta/recipes-devtools/git/git/fixsort.patch
@@ -0,0 +1,36 @@
+[PATCH] generate-cmdlist.sh: Fix determinism issue
+
+Currently git binaries are not entirely reproducible, at least partly 
+due to config-list.h differing in order depending on the system's
+locale settings. Under different locales, the entries:
+
+"sendemail.identity",
+"sendemail.<identity>.*",
+
+would differ in order for example and this leads to differences in 
+the debug symbols for the binaries.
+
+This can be fixed by specifying the C locale for the sort in the
+shell script generating the header.
+
+Note: This is a backport of Richard Purdie's original patch for a more
+recent version of git. The offending code in this older version is
+in generate-cmdlist.sh. The upstream current version has this code
+in generate-configlist.sh.
+
+Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
+Signed-off-by: Steve Sakoman <steve@sakoman.com>
+Upstream-Status: Submitted [https://public-inbox.org/git/f029a942dd3d50d85e60bd37d8e454524987842f.camel@linuxfoundation.org/T/#u]
+
+index 71158f7..c137091 100755
+--- a/generate-cmdlist.sh
++++ b/generate-cmdlist.sh
+@@ -82,7 +82,7 @@ static const char *config_name_list[] = {
+ EOF
+ 	grep -h '^[a-zA-Z].*\..*::$' Documentation/*config.txt Documentation/config/*.txt |
+ 	sed '/deprecated/d; s/::$//; s/,  */\n/g' |
+-	sort |
++	LC_ALL=C sort |
+ 	while read line
+ 	do
+ 		echo "	\"$line\","
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 23/29] linux-firmware: upgrade 20210511 -> 20210818
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (21 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 22/29] git: Fix determinism issue Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 24/29] linux-firmware: upgrade 20210818 -> 20210919 Steve Sakoman
                   ` (5 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

License-Update: new firmware files, copyright years, file names
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bfceaba4f38771047dfdfdfdbf16b794006dfd78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 ...inux-firmware_20210511.bb => linux-firmware_20210818.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-kernel/linux-firmware/{linux-firmware_20210511.bb => linux-firmware_20210818.bb} (99%)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20210511.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20210818.bb
similarity index 99%
rename from meta/recipes-kernel/linux-firmware/linux-firmware_20210511.bb
rename to meta/recipes-kernel/linux-firmware/linux-firmware_20210818.bb
index 513932984e..7f6db18b69 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20210511.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20210818.bb
@@ -97,7 +97,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
                     file://LICENSE.ice;md5=742ab4850f2670792940e6d15c974b2f \
                     file://LICENCE.IntcSST2;md5=9e7d8bea77612d7cc7d9e9b54b623062 \
                     file://LICENCE.it913x;md5=1fbf727bfb6a949810c4dbfa7e6ce4f8 \
-                    file://LICENCE.iwlwifi_firmware;md5=3fd842911ea93c29cd32679aa23e1c88 \
+                    file://LICENCE.iwlwifi_firmware;md5=2ce6786e0fc11ac6e36b54bb9b799f1b \
                     file://LICENCE.kaweth;md5=b1d876e562f4b3b8d391ad8395dfe03f \
                     file://LICENSE.Lontium;md5=4ec8dc582ff7295f39e2ca6a7b0be2b6 \
                     file://LICENCE.Marvell;md5=28b6ed8bd04ba105af6e4dcd6e997772 \
@@ -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=727d0d4e2d420f41d89d098f6322e779 \
+                    file://WHENCE;md5=15ad289bf2359e8ecf613f3b04f72fab \
                     "
 
 # 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] = "2aa6ae8b9808408f9811ac38f00c188e53e984a2b3990254f6c9c02c1ab13417"
+SRC_URI[sha256sum] = "bef3d317c348d962b3a1b95cb4e19ea4f282e18112b2c669cff74f9267ce3893"
 
 inherit allarch
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 24/29] linux-firmware: upgrade 20210818 -> 20210919
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (22 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 23/29] linux-firmware: upgrade 20210511 -> 20210818 Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 25/29] wireless-regdb: upgrade 2021.04.21 -> 2021.07.14 Steve Sakoman
                   ` (4 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

License-Update: additional files
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8dac57dfed45a0d8a049473f2efc1711b56273a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 ...{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%)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20210818.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20210919.bb
similarity index 99%
rename from meta/recipes-kernel/linux-firmware/linux-firmware_20210818.bb
rename to meta/recipes-kernel/linux-firmware/linux-firmware_20210919.bb
index 7f6db18b69..03eb1a29f0 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20210818.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20210919.bb
@@ -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
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 25/29] wireless-regdb: upgrade 2021.04.21 -> 2021.07.14
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (23 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 24/29] linux-firmware: upgrade 20210818 -> 20210919 Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 26/29] wireless-regdb: upgrade 2021.07.14 -> 2021.08.28 Steve Sakoman
                   ` (3 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7f4d11e8da6bb79232535c42ad41798a56162ac7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 ...ireless-regdb_2021.04.21.bb => wireless-regdb_2021.07.14.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-kernel/wireless-regdb/{wireless-regdb_2021.04.21.bb => wireless-regdb_2021.07.14.bb} (94%)

diff --git a/meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.04.21.bb b/meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.07.14.bb
similarity index 94%
rename from meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.04.21.bb
rename to meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.07.14.bb
index f79c0b29ea..40b4d563f0 100644
--- a/meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.04.21.bb
+++ b/meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.07.14.bb
@@ -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] = "9e4c02b2a9710df4dbdb327c39612e8cbbae6495987afeddaebab28c1ea3d8fa"
+SRC_URI[sha256sum] = "2e2dd216a5f1a310b849774af63e6309d94c2207c34771a534c47ae18b162742"
 
 inherit bin_package allarch
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 26/29] wireless-regdb: upgrade 2021.07.14 -> 2021.08.28
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (24 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 25/29] wireless-regdb: upgrade 2021.04.21 -> 2021.07.14 Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 27/29] ca-certificates: update 20210119 -> 20211016 Steve Sakoman
                   ` (2 subsequent siblings)
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00c590f50d6894089ff7ce8ad6e263431d9cc550)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 ...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%)

diff --git a/meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.07.14.bb b/meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.08.28.bb
similarity index 94%
rename from meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.07.14.bb
rename to meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.08.28.bb
index 40b4d563f0..376311804e 100644
--- a/meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.07.14.bb
+++ b/meta/recipes-kernel/wireless-regdb/wireless-regdb_2021.08.28.bb
@@ -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
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 27/29] ca-certificates: update 20210119 -> 20211016
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (25 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 26/29] wireless-regdb: upgrade 2021.07.14 -> 2021.08.28 Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 28/29] tzdata: upgrade 2021a -> 2021d Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 29/29] tzdata: update 2021d -> 2021e Steve Sakoman
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c479b8a810d966d7267af1b4dac38a46f55fc547)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 ...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%)

diff --git a/meta/recipes-support/ca-certificates/ca-certificates/0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch b/meta/recipes-support/ca-certificates/ca-certificates/0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch
new file mode 100644
index 0000000000..5c4a32f526
--- /dev/null
+++ b/meta/recipes-support/ca-certificates/ca-certificates/0001-Revert-mozilla-certdata2pem.py-print-a-warning-for-e.patch
@@ -0,0 +1,80 @@
+From cb43ec15b700b25f3c4fe44043a1a021aaf5b768 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin <alex@linutronix.de>
+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 <alex@linutronix.de>
+---
+ 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 <jcristau@debian.org>  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 <jcristau@debian.org>
+ 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
+
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch b/meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch
deleted file mode 100644
index f343ebf16e..0000000000
--- a/meta/recipes-support/ca-certificates/ca-certificates/sbindir.patch
+++ /dev/null
@@ -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 <richard.purdie@linuxfoundation.org>
-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)/
diff --git a/meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch b/meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch
deleted file mode 100644
index f78790923c..0000000000
--- a/meta/recipes-support/ca-certificates/ca-certificates/update-ca-certificates-support-Toybox.patch
+++ /dev/null
@@ -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 <richard.purdie@linuxfoundation.org>
-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
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb b/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
similarity index 95%
rename from meta/recipes-support/ca-certificates/ca-certificates_20210119.bb
rename to meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
index 7dcc86fdc1..214bad4ae3 100644
--- a/meta/recipes-support/ca-certificates/ca-certificates_20210119.bb
+++ b/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb
@@ -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+)"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 28/29] tzdata: upgrade 2021a -> 2021d
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (26 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 27/29] ca-certificates: update 20210119 -> 20211016 Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  2021-10-31 16:57 ` [OE-core][dunfell 29/29] tzdata: update 2021d -> 2021e Steve Sakoman
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f171f4f528090fc108624de6049274aa4d4880eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-extended/timezone/timezone.inc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/timezone/timezone.inc b/meta/recipes-extended/timezone/timezone.inc
index a89560b424..5c19e9a7f4 100644
--- a/meta/recipes-extended/timezone/timezone.inc
+++ b/meta/recipes-extended/timezone/timezone.inc
@@ -6,7 +6,7 @@ SECTION = "base"
 LICENSE = "PD & BSD & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
 
-PV = "2021a"
+PV = "2021d"
 
 SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \
            http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \
@@ -14,5 +14,6 @@ SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz
 
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
 
-SRC_URI[tzcode.sha256sum] = "eb46bfa124b5b6bd13d61a609bfde8351bd192894708d33aa06e5c1e255802d0"
-SRC_URI[tzdata.sha256sum] = "39e7d2ba08c68cbaefc8de3227aab0dec2521be8042cf56855f7dc3a9fb14e08"
+SRC_URI[tzcode.sha256sum] = "ed0d02be79b54f4449ba1f239aeaf9315da490bf32f401d302dcbba4921f591d"
+SRC_URI[tzdata.sha256sum] = "d7c188a2b33d4a3c25ee4a9fdc68c1ff462bfdb302cf41343d84ca5942dbddf6"
+
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [OE-core][dunfell 29/29] tzdata: update 2021d -> 2021e
  2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
                   ` (27 preceding siblings ...)
  2021-10-31 16:57 ` [OE-core][dunfell 28/29] tzdata: upgrade 2021a -> 2021d Steve Sakoman
@ 2021-10-31 16:57 ` Steve Sakoman
  28 siblings, 0 replies; 30+ messages in thread
From: Steve Sakoman @ 2021-10-31 16:57 UTC (permalink / raw)
  To: openembedded-core

From: Alexander Kanavin <alex.kanavin@gmail.com>

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 660f932c21fed410ad092ec610749e7090b6a324)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-extended/timezone/timezone.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-extended/timezone/timezone.inc b/meta/recipes-extended/timezone/timezone.inc
index 5c19e9a7f4..e9eb249afe 100644
--- a/meta/recipes-extended/timezone/timezone.inc
+++ b/meta/recipes-extended/timezone/timezone.inc
@@ -6,7 +6,7 @@ SECTION = "base"
 LICENSE = "PD & BSD & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
 
-PV = "2021d"
+PV = "2021e"
 
 SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \
            http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \
@@ -14,6 +14,6 @@ SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz
 
 UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
 
-SRC_URI[tzcode.sha256sum] = "ed0d02be79b54f4449ba1f239aeaf9315da490bf32f401d302dcbba4921f591d"
-SRC_URI[tzdata.sha256sum] = "d7c188a2b33d4a3c25ee4a9fdc68c1ff462bfdb302cf41343d84ca5942dbddf6"
+SRC_URI[tzcode.sha256sum] = "584666393a5424d13d27ec01183da17703273664742e049d4f62f62dab631775"
+SRC_URI[tzdata.sha256sum] = "07ec42b737d0d3c6be9c337f8abb5f00554a0f9cc4fcf01a703d69403b6bb2b1"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2021-10-31 16:59 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-31 16:57 [OE-core][dunfell 00/29] Patch review Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 01/29] curl: Whitelist CVE-2021-22897 Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 02/29] vim: fix 2021-3796 Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 03/29] sstate: fix touching files inside pseudo Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 04/29] devtool: fix modify with patches in override directories Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 05/29] sstate: don't silently handle all exceptions in sstate_checkhashes Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 06/29] base: Clean up unneeded len() calls Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 07/29] base: Use repr() for printing exceptions Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 08/29] bitbake.conf: Add gpg-agent as a host tool Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 09/29] oe/license: implement ast.NodeVisitor.visit_Constant Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 10/29] license.bbclass: " Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 11/29] oe/utils: log exceptions in ThreadedWorker functions Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 12/29] reproducible_build: Drop obsolete sstate workaround Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 13/29] patch: Use repr() with exceptions instead of str() Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 14/29] testimage: fix unclosed testdata file Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 15/29] oeqa/runtime: load modules using importlib Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 16/29] oeqa/runtime: search sys.path explicitly for modules Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 17/29] oeqa/runtime/parselogs: modified drm error in common errors list Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 18/29] mirrors.bbclass: remove dead infozip mirrors Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 19/29] waffle: old website is down, update to new project URLs Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 20/29] stress-ng: convert to git, website is down Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 21/29] stress-ng: improve reproducibility Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 22/29] git: Fix determinism issue Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 23/29] linux-firmware: upgrade 20210511 -> 20210818 Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 24/29] linux-firmware: upgrade 20210818 -> 20210919 Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 25/29] wireless-regdb: upgrade 2021.04.21 -> 2021.07.14 Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 26/29] wireless-regdb: upgrade 2021.07.14 -> 2021.08.28 Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 27/29] ca-certificates: update 20210119 -> 20211016 Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 28/29] tzdata: upgrade 2021a -> 2021d Steve Sakoman
2021-10-31 16:57 ` [OE-core][dunfell 29/29] tzdata: update 2021d -> 2021e Steve Sakoman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.