Re: [OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Richard Purdie
On Fri, 2023-12-29 at 14:04 +0200, Alexander Kanavin wrote:
> Reproducibility exclusions should be listed in the test itself, so
> this continues to be built in regular world builds (otherwise it may
> silently regress).

FWIW this is what the zvariant recipe was doing and the recipe is in
meta-selftest...

I'm torn on it to be honest.

Cheers,

Richard

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



[OE-core] [PATCH] curl: Disable test 1091 due to intermittent failures

2023-12-29 Thread Richard Purdie
Disable another test that intermittently fails on the autobuilder.

Signed-off-by: Richard Purdie 
---
 meta/recipes-support/curl/curl/disable-tests | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/curl/curl/disable-tests 
b/meta/recipes-support/curl/curl/disable-tests
index 38a4d944765..419022091fd 100644
--- a/meta/recipes-support/curl/curl/disable-tests
+++ b/meta/recipes-support/curl/curl/disable-tests
@@ -7,6 +7,8 @@
 413
 # These CRL tests are scanning docs
 971
+# Intermittently hangs e.g 
http://autobuilder.yocto.io/pub/non-release/20231228-18/testresults/qemux86-64-ptest/curl.log
+1091
 # Intermittently hangs e.g 
https://autobuilder.yocto.io/pub/non-release/20231220-27/testresults/qemux86-64-ptest/curl.log
 1096
 # These CRL tests are scanning docs
-- 
2.39.2


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



[OE-core] [PATCH] oeqa/selftest/sstatetests: Update sstate management script tests to python script

2023-12-29 Thread Richard Purdie
Now we've switched to the python script, update the tests to match
that by removing the now unneeded parameter.

Signed-off-by: Richard Purdie 
---
 meta/lib/oeqa/selftest/cases/sstatetests.py | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/sstatetests.py 
b/meta/lib/oeqa/selftest/cases/sstatetests.py
index 9a6bea553ff..340f41162f0 100644
--- a/meta/lib/oeqa/selftest/cases/sstatetests.py
+++ b/meta/lib/oeqa/selftest/cases/sstatetests.py
@@ -263,7 +263,7 @@ class SStateDistroTests(SStateBase):
 
 class SStateCacheManagement(SStateBase):
 # Test the sstate-cache-management script. Each element in the 
global_config list is used with the corresponding element in the target_config 
list
-# global_config elements are expected to not generate any sstate files 
that would be removed by sstate-cache-management.sh (such as changing the value 
of MACHINE)
+# global_config elements are expected to not generate any sstate files 
that would be removed by sstate-cache-management.py (such as changing the value 
of MACHINE)
 def run_test_sstate_cache_management_script(self, target, 
global_config=[''], target_config=[''], ignore_patterns=[]):
 self.assertTrue(global_config)
 self.assertTrue(target_config)
@@ -277,14 +277,10 @@ class SStateCacheManagement(SStateBase):
 # For now this only checks if random sstate tasks are handled 
correctly as a group.
 # In the future we should add control over what tasks we check for.
 
-sstate_archs_list = []
 expected_remaining_sstate = []
 for idx in range(len(target_config)):
 self.append_config(global_config[idx])
 self.append_recipeinc(target, target_config[idx])
-sstate_arch = get_bb_var('SSTATE_PKGARCH', target)
-if not sstate_arch in sstate_archs_list:
-sstate_archs_list.append(sstate_arch)
 if target_config[idx] == target_config[-1]:
 target_sstate_before_build = self.search_sstate(target + 
r'.*?\.tar.zst$')
 bitbake("-cclean %s" % target)
@@ -296,7 +292,7 @@ class SStateCacheManagement(SStateBase):
 self.remove_recipeinc(target, target_config[idx])
 self.assertEqual(result.status, 0, msg = "build of %s failed with 
%s" % (target, result.output))
 
-runCmd("sstate-cache-management.py -y --cache-dir=%s 
--remove-duplicated --extra-archs=%s" % (self.sstate_path, ','.join(map(str, 
sstate_archs_list
+runCmd("sstate-cache-management.py -y --cache-dir=%s 
--remove-duplicated" % (self.sstate_path))
 actual_remaining_sstate = [x for x in self.search_sstate(target + 
r'.*?\.tar.zst$') 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]
-- 
2.39.2


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



[OE-core][kirkstone 4/4] testimage: drop target_dumper, host_dumper, and monitor_dumper

2023-12-29 Thread Steve Sakoman
The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.

It isn't possible to cherry-pick "testimage: Drop target_dumper and most of 
monitor_dumper"
from master, so just make target_dumper, host_dumper, and monitor_dumper empty
functions.

For further details see:

https://lists.openembedded.org/g/openembedded-architecture/message/1888

Signed-off-by: Steve Sakoman 
---
 meta/classes/testimage.bbclass | 24 
 1 file changed, 24 deletions(-)

diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 6864eeed2f..0241f29dfb 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -101,36 +101,12 @@ TESTIMAGE_DUMP_DIR ?= "${LOG_DIR}/runtime-hostdump/"
 TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR"
 
 testimage_dump_target () {
-top -bn1
-ps
-free
-df
-# The next command will export the default gateway IP
-export DEFAULT_GATEWAY=$(ip route | awk '/default/ { print $3}')
-ping -c3 $DEFAULT_GATEWAY
-dmesg
-netstat -an
-ip address
-# Next command will dump logs from /var/log/
-find /var/log/ -type f -name !wtmp* 2>/dev/null -exec echo 
"" \; -exec echo {} \; -exec echo "" \; 
-exec cat {} \; -exec echo "" \;
 }
 
 testimage_dump_host () {
-top -bn1
-iostat -x -z -N -d -p ALL 20 2
-ps -ef
-free
-df
-memstat
-dmesg
-ip -s link
-netstat -an
 }
 
 testimage_dump_monitor () {
-query-status
-query-block
-dump-guest-memory {"paging":false,"protocol":"file:%s.img"}
 }
 
 python do_testimage() {
-- 
2.34.1


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



[OE-core][kirkstone 3/4] elfutils: Disable stringop-overflow warning for build host

2023-12-29 Thread Steve Sakoman
From: Khem Raj 

Some distributions shipping gcc12 end up with stringop-overflow warnings
e.g.
/usr/include/bits/unistd.h:74:10: error: ‘__pread_alias’ specified size between 
9223372036854775813 and 18446744073709551615 exceeds maximum object size 
9223372036854775807 [-Werror=stringop-overflow=]
   74 |   return __glibc_fortify (pread, __nbytes, sizeof (char),
  |  ^~~

Until fixed, lets not treat this warning as hard error

MJ: this is needed e.g. on ubuntu 24.04 after gcc was upgraded
from 13.2.0-8ubuntu1 to 13.2.0-9ubuntu1 which includes
switch _FORTIFY_SOURCE to 3:

https://changelogs.ubuntu.com/changelogs/pool/main/g/gcc-13/gcc-13_13.2.0-9ubuntu1/changelog

elfutils config.log then shows:

configure:6762: checking whether to add -D_FORTIFY_SOURCE=2 to CFLAGS
configure:6779: gcc  -c -D_FORTIFY_SOURCE=2 
-isystem/work/x86_64-linux/elfutils-native/0.186-r0/recipe-sysroot-native/usr/include
 -O2 -pipe -Werror 
-isystem/work/x86_64-linux/elfutils-native/0.186-r0/recipe-sysroot-native/usr/include
 conftest.c >&5
: error: "_FORTIFY_SOURCE" redefined [-Werror]
: note: this is the location of the previous definition
cc1: all warnings being treated as errors
configure:6786: result: no

and -D_FORTIFY_SOURCE=2 missing in CFLAGS later causes the above error
in do_compile

Signed-off-by: Khem Raj 
Signed-off-by: Richard Purdie 
Signed-off-by: Martin Jansa 
Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/elfutils/elfutils_0.186.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/elfutils/elfutils_0.186.bb 
b/meta/recipes-devtools/elfutils/elfutils_0.186.bb
index 46ee40cce6..d742a2e14e 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.186.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.186.bb
@@ -35,6 +35,8 @@ PTEST_ENABLED:libc-musl = "0"
 
 EXTRA_OECONF = "--program-prefix=eu-"
 
+BUILD_CFLAGS += "-Wno-error=stringop-overflow"
+
 DEPENDS_BZIP2 = "bzip2-replacement-native"
 DEPENDS_BZIP2:class-target = "bzip2"
 
-- 
2.34.1


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



[OE-core][kirkstone 2/4] openssh: fix CVE-2023-51385

2023-12-29 Thread Steve Sakoman
From: Archana Polampalli 

In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or
host name has shell metacharacters, and this name is referenced by an expansion
token in certain situations. For example, an untrusted Git repository can have a
submodule with shell metacharacters in a user name or host name.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-51385

Upstream patches:
https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a

Signed-off-by: Archana Polampalli 
Signed-off-by: Steve Sakoman 
---
 .../openssh/openssh/CVE-2023-51385.patch  | 97 +++
 .../openssh/openssh_8.9p1.bb  |  1 +
 2 files changed, 98 insertions(+)
 create mode 100644 
meta/recipes-connectivity/openssh/openssh/CVE-2023-51385.patch

diff --git a/meta/recipes-connectivity/openssh/openssh/CVE-2023-51385.patch 
b/meta/recipes-connectivity/openssh/openssh/CVE-2023-51385.patch
new file mode 100644
index 00..b8e6813857
--- /dev/null
+++ b/meta/recipes-connectivity/openssh/openssh/CVE-2023-51385.patch
@@ -0,0 +1,97 @@
+From 7ef3787c84b6b524501211b11a26c742f829af1a Mon Sep 17 00:00:00 2001
+From: "d...@openbsd.org" 
+Date: Mon, 18 Dec 2023 14:47:44 +
+Subject: [PATCH] upstream: ban user/hostnames with most shell metacharacters
+ This makes ssh(1) refuse user or host names provided on the commandline that
+ contain most shell metacharacters.
+
+Some programs that invoke ssh(1) using untrusted data do not filter
+metacharacters in arguments they supply. This could create
+interactions with user-specified ProxyCommand and other directives
+that allow shell injection attacks to occur.
+
+It's a mistake to invoke ssh(1) with arbitrary untrusted arguments,
+but getting this stuff right can be tricky, so this should prevent
+most obvious ways of creating risky situations. It however is not
+and cannot be perfect: ssh(1) has no practical way of interpreting
+what shell quoting rules are in use and how they interact with the
+user's specified ProxyCommand.
+
+To allow configurations that use strange user or hostnames to
+continue to work, this strictness is applied only to names coming
+from the commandline. Names specified using User or Hostname
+directives in ssh_config(5) are not affected.
+
+feedback/ok millert@ markus@ dtucker@ deraadt@
+
+OpenBSD-Commit-ID: 3b487348b5964f3e77b6b4d3da4c3b439e94b2d9
+
+CVE: CVE-2023-51385
+
+Upstream-Status: Backport
+[https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a]
+
+Signed-off-by: Archana Polampalli 
+---
+ ssh.c | 39 +++
+ 1 file changed, 39 insertions(+)
+
+diff --git a/ssh.c b/ssh.c
+index 8ff9788..82ed15f 100644
+--- a/ssh.c
 b/ssh.c
+@@ -611,6 +611,41 @@ ssh_conn_info_free(struct ssh_conn_info *cinfo)
+   free(cinfo);
+ }
+
++static int
++valid_hostname(const char *s)
++{
++  size_t i;
++
++  if (*s == '-')
++  return 0;
++  for (i = 0; s[i] != 0; i++) {
++  if (strchr("'`\"$\\;&<>|(){}", s[i]) != NULL ||
++  isspace((u_char)s[i]) || iscntrl((u_char)s[i]))
++  return 0;
++  }
++  return 1;
++}
++
++static int
++valid_ruser(const char *s)
++{
++  size_t i;
++
++  if (*s == '-')
++  return 0;
++  for (i = 0; s[i] != 0; i++) {
++  if (strchr("'`\";&<>|(){}", s[i]) != NULL)
++  return 0;
++  /* Disallow '-' after whitespace */
++  if (isspace((u_char)s[i]) && s[i + 1] == '-')
++  return 0;
++  /* Disallow \ in last position */
++  if (s[i] == '\\' && s[i + 1] == '\0')
++  return 0;
++  }
++  return 1;
++}
++
+ /*
+  * Main program for the ssh client.
+  */
+@@ -1097,6 +1132,10 @@ main(int ac, char **av)
+   if (!host)
+   usage();
+
++  if (!valid_hostname(host))
++  fatal("hostname contains invalid characters");
++  if (options.user != NULL && !valid_ruser(options.user))
++  fatal("remote username contains invalid characters");
+   host_arg = xstrdup(host);
+
+   /* Initialize the command to execute on remote host. */
+--
+2.40.0
diff --git a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb 
b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
index 3860899540..bc8e2d81b8 100644
--- a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
@@ -35,6 +35,7 @@ SRC_URI = 
"http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar
file://fix-authorized-principals-command.patch \
file://CVE-2023-48795.patch \
file://CVE-2023-51384.patch \
+   file://CVE-2023-51385.patch \
"
 SRC_URI[sha256sum] = 
"fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: 

[OE-core][kirkstone 1/4] openssh: fix CVE-2023-51384

2023-12-29 Thread Steve Sakoman
From: Archana Polampalli 

In ssh-agent in OpenSSH before 9.6, certain destination constraints can be
incompletely applied. When destination constraints are specified during
addition of PKCS#11-hosted private keys, these constraints are only applied
to the first key, even if a PKCS#11 token returns multiple keys.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-51384

Upstream patches:
https://github.com/openssh/openssh-portable/commit/881d9c6af9da4257c69c327c4e2f1508b2fa754b

Signed-off-by: Archana Polampalli 
Signed-off-by: Steve Sakoman 
---
 .../openssh/openssh/CVE-2023-51384.patch  | 171 ++
 .../openssh/openssh_8.9p1.bb  |   1 +
 2 files changed, 172 insertions(+)
 create mode 100644 
meta/recipes-connectivity/openssh/openssh/CVE-2023-51384.patch

diff --git a/meta/recipes-connectivity/openssh/openssh/CVE-2023-51384.patch 
b/meta/recipes-connectivity/openssh/openssh/CVE-2023-51384.patch
new file mode 100644
index 00..ead3256915
--- /dev/null
+++ b/meta/recipes-connectivity/openssh/openssh/CVE-2023-51384.patch
@@ -0,0 +1,171 @@
+From 881d9c6af9da4257c69c327c4e2f1508b2fa754b Mon Sep 17 00:00:00 2001
+From: "d...@openbsd.org" 
+Date: Mon, 18 Dec 2023 14:46:12 +
+Subject: [PATCH] upstream: apply destination constraints to all p11 keys
+
+Previously applied only to the first key returned from each token.
+
+ok markus@
+
+OpenBSD-Commit-ID: 36df3afb8eb94eec6b2541f063d0d164ef8b488d
+
+CVE: CVE-2023-51384
+
+Upstream-Status: Backport
+https://github.com/openssh/openssh-portable/commit/881d9c6af9da4257c69c327c4e2f1508b2fa754b
+
+Signed-off-by: Archana Polampalli 
+---
+ ssh-agent.c | 102 +---
+ 1 file changed, 98 insertions(+), 4 deletions(-)
+
+diff --git a/ssh-agent.c b/ssh-agent.c
+index 19eeaae..4dbb4f3 100644
+--- a/ssh-agent.c
 b/ssh-agent.c
+@@ -249,6 +249,90 @@ free_dest_constraints(struct dest_constraint *dcs, size_t 
ndcs)
+   free(dcs);
+ }
+
++static void
++dup_dest_constraint_hop(const struct dest_constraint_hop *dch,
++struct dest_constraint_hop *out)
++{
++  u_int i;
++  int r;
++
++  out->user = dch->user == NULL ? NULL : xstrdup(dch->user);
++  out->hostname = dch->hostname == NULL ? NULL : xstrdup(dch->hostname);
++  out->is_ca = dch->is_ca;
++  out->nkeys = dch->nkeys;
++  out->keys = out->nkeys == 0 ? NULL :
++  xcalloc(out->nkeys, sizeof(*out->keys));
++  out->key_is_ca = out->nkeys == 0 ? NULL :
++  xcalloc(out->nkeys, sizeof(*out->key_is_ca));
++  for (i = 0; i < dch->nkeys; i++) {
++  if (dch->keys[i] != NULL &&
++  (r = sshkey_from_private(dch->keys[i],
++  &(out->keys[i]))) != 0)
++  fatal_fr(r, "copy key");
++  out->key_is_ca[i] = dch->key_is_ca[i];
++  }
++}
++
++static struct dest_constraint *
++dup_dest_constraints(const struct dest_constraint *dcs, size_t ndcs)
++{
++  size_t i;
++  struct dest_constraint *ret;
++
++  if (ndcs == 0)
++  return NULL;
++  ret = xcalloc(ndcs, sizeof(*ret));
++  for (i = 0; i < ndcs; i++) {
++  dup_dest_constraint_hop([i].from, [i].from);
++  dup_dest_constraint_hop([i].to, [i].to);
++  }
++  return ret;
++}
++
++#ifdef DEBUG_CONSTRAINTS
++static void
++dump_dest_constraint_hop(const struct dest_constraint_hop *dch)
++{
++  u_int i;
++  char *fp;
++
++  debug_f("user %s hostname %s is_ca %d nkeys %u",
++  dch->user == NULL ? "(null)" : dch->user,
++  dch->hostname == NULL ? "(null)" : dch->hostname,
++  dch->is_ca, dch->nkeys);
++  for (i = 0; i < dch->nkeys; i++) {
++  fp = NULL;
++  if (dch->keys[i] != NULL &&
++  (fp = sshkey_fingerprint(dch->keys[i],
++  SSH_FP_HASH_DEFAULT, SSH_FP_DEFAULT)) == NULL)
++  fatal_f("fingerprint failed");
++  debug_f("key %u/%u: %s%s%s key_is_ca %d", i, dch->nkeys,
++  dch->keys[i] == NULL ? "" : sshkey_ssh_name(dch->keys[i]),
++  dch->keys[i] == NULL ? "" : " ",
++  dch->keys[i] == NULL ? "none" : fp,
++  dch->key_is_ca[i]);
++  free(fp);
++  }
++}
++#endif /* DEBUG_CONSTRAINTS */
++
++static void
++dump_dest_constraints(const char *context,
++const struct dest_constraint *dcs, size_t ndcs)
++{
++#ifdef DEBUG_CONSTRAINTS
++  size_t i;
++
++  debug_f("%s: %zu constraints", context, ndcs);
++  for (i = 0; i < ndcs; i++) {
++  debug_f("constraint %zu / %zu: from: ", i, ndcs);
++  dump_dest_constraint_hop([i].from);
++  debug_f("constraint %zu / %zu: to: ", i, ndcs);
++  dump_dest_constraint_hop([i].to);
++  }
++  debug_f("done for %s", context);
++#endif /* DEBUG_CONSTRAINTS */
++}
+ static void
+ free_identity(Identity *id)
+ {
+@@ 

[OE-core][kirkstone 0/4] Patch review

2023-12-29 Thread Steve Sakoman
Please review this set of changes for kirkstone and have comments back by
end of day Wednesday, January 3

Passed a-full on autobuilder:

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

The following changes since commit 2afd9a6002cba2a23dd62a1805b4be04083c041b:

  testimage: Exclude wtmp from target-dumper commands (2023-12-20 11:40:13 
-1000)

are available in the Git repository at:

  https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
  
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut

Archana Polampalli (2):
  openssh: fix CVE-2023-51384
  openssh: fix CVE-2023-51385

Khem Raj (1):
  elfutils: Disable stringop-overflow warning for build host

Steve Sakoman (1):
  testimage: drop target_dumper, host_dumper, and monitor_dumper

 meta/classes/testimage.bbclass|  24 ---
 .../openssh/openssh/CVE-2023-51384.patch  | 171 ++
 .../openssh/openssh/CVE-2023-51385.patch  |  97 ++
 .../openssh/openssh_8.9p1.bb  |   2 +
 .../elfutils/elfutils_0.186.bb|   2 +
 5 files changed, 272 insertions(+), 24 deletions(-)
 create mode 100644 
meta/recipes-connectivity/openssh/openssh/CVE-2023-51384.patch
 create mode 100644 
meta/recipes-connectivity/openssh/openssh/CVE-2023-51385.patch

-- 
2.34.1


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



[OE-core][nanbield 41/41] tcl: skip async and event tests in run-ptest

2023-12-29 Thread Steve Sakoman
From: Ross Burton 

These test suites are full of timing-sensitive test cases, so skip
them too.

[ YOCTO #15321 ]

Signed-off-by: Ross Burton 
Signed-off-by: Richard Purdie 
(cherry picked from commit dd06c3668dbe9ec1cf9a0a84d7a6bc9851f9c662)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/tcltk/tcl/run-ptest | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest 
b/meta/recipes-devtools/tcltk/tcl/run-ptest
index 51e1e4aa7b..87e025fce1 100644
--- a/meta/recipes-devtools/tcltk/tcl/run-ptest
+++ b/meta/recipes-devtools/tcltk/tcl/run-ptest
@@ -5,8 +5,8 @@ export TZ="Europe/London"
 export TCL_LIBRARY=library
 
 # Some tests are overly strict with timings and fail on loaded systems.
-# See bugs #14825 #14882 #15081.
-SKIPPED_TESTS='cmdMZ-6.6 exit-1.* socket-* socket_inet-*'
+# See bugs #14825 #14882 #15081 #15321.
+SKIPPED_TESTS='async-* cmdMZ-6.6 event-* exit-1.* socket-* socket_inet-*'
 
 for i in `ls tests/*.test | awk -F/ '{print $2}'`; do
 ./tcltest tests/all.tcl -file $i -skip "$SKIPPED_TESTS" >$i.log 2>&1
-- 
2.34.1


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



[OE-core][nanbield 40/41] tcl: skip timing-dependent tests in run-ptest

2023-12-29 Thread Steve Sakoman
From: Ross Burton 

There are several tests in the test suite which are very dependent on
timing and fail on a loaded host system, so skip them.

[ YOCTO #14825 #14882 #15081 ]

Signed-off-by: Ross Burton 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 68beb4f4b5a0bea5d431decddf7656f18ac7a04a)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/tcltk/tcl/run-ptest | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest 
b/meta/recipes-devtools/tcltk/tcl/run-ptest
index 5b9127784e..51e1e4aa7b 100644
--- a/meta/recipes-devtools/tcltk/tcl/run-ptest
+++ b/meta/recipes-devtools/tcltk/tcl/run-ptest
@@ -3,7 +3,11 @@
 # clock.test needs a timezone to be set
 export TZ="Europe/London"
 export TCL_LIBRARY=library
-SKIPPED_TESTS=
+
+# Some tests are overly strict with timings and fail on loaded systems.
+# See bugs #14825 #14882 #15081.
+SKIPPED_TESTS='cmdMZ-6.6 exit-1.* socket-* socket_inet-*'
+
 for i in `ls tests/*.test | awk -F/ '{print $2}'`; do
 ./tcltest tests/all.tcl -file $i -skip "$SKIPPED_TESTS" >$i.log 2>&1
 grep -q -F -e "Files with failing tests:" -e "Test files exiting with 
errors:" $i.log
-- 
2.34.1


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



[OE-core][nanbield 39/41] testimage: Drop target_dumper and most of monitor_dumper

2023-12-29 Thread Steve Sakoman
From: Richard Purdie 

The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.

For now, remove the commands and the target dumper code as the command
and execution point are problematic. Also remove the same pieces of the monitor
code but leave the command list since in theory this can be moved to a more
useful place in the code.

Signed-off-by: Richard Purdie 
(cherry picked from commit a24d787987dccc95fdd95b7e85bf525a1c55b285)
Signed-off-by: Steve Sakoman 
---
 meta/classes-recipe/testimage.bbclass | 16 
 meta/lib/oeqa/core/target/qemu.py | 10 --
 meta/lib/oeqa/core/target/ssh.py  | 20 +---
 meta/lib/oeqa/targetcontrol.py|  2 --
 4 files changed, 1 insertion(+), 47 deletions(-)

diff --git a/meta/classes-recipe/testimage.bbclass 
b/meta/classes-recipe/testimage.bbclass
index c6b7a1e142..f36d941891 100644
--- a/meta/classes-recipe/testimage.bbclass
+++ b/meta/classes-recipe/testimage.bbclass
@@ -109,21 +109,6 @@ TESTIMAGE_DUMP_DIR ?= "${LOG_DIR}/runtime-hostdump/"
 
 TESTIMAGE_UPDATE_VARS ?= "DL_DIR WORKDIR DEPLOY_DIR_IMAGE IMAGE_LINK_NAME"
 
-testimage_dump_target () {
-top -bn1
-ps
-free
-df
-# The next command will export the default gateway IP
-export DEFAULT_GATEWAY=$(ip route | awk '/default/ { print $3}')
-ping -c3 $DEFAULT_GATEWAY
-dmesg
-netstat -an
-ip address
-# Next command will dump logs from /var/log/
-find /var/log/ -type f -name !wtmp* 2>/dev/null -exec echo 
"" \; -exec echo {} \; -exec echo "" \; 
-exec cat {} \; -exec echo "" \;
-}
-
 testimage_dump_monitor () {
 query-status
 query-block
@@ -352,7 +337,6 @@ def testimage_main(d):
 target_kwargs['serialcontrol_cmd'] = d.getVar("TEST_SERIALCONTROL_CMD") or 
None
 target_kwargs['serialcontrol_extra_args'] = 
d.getVar("TEST_SERIALCONTROL_EXTRA_ARGS") or ""
 target_kwargs['testimage_dump_monitor'] = 
d.getVar("testimage_dump_monitor") or ""
-target_kwargs['testimage_dump_target'] = d.getVar("testimage_dump_target") 
or ""
 
 def export_ssh_agent(d):
 import os
diff --git a/meta/lib/oeqa/core/target/qemu.py 
b/meta/lib/oeqa/core/target/qemu.py
index 6893d10226..d93b3ac94a 100644
--- a/meta/lib/oeqa/core/target/qemu.py
+++ b/meta/lib/oeqa/core/target/qemu.py
@@ -14,8 +14,6 @@ from collections import defaultdict
 
 from .ssh import OESSHTarget
 from oeqa.utils.qemurunner import QemuRunner
-from oeqa.utils.dump import MonitorDumper
-from oeqa.utils.dump import TargetDumper
 
 supported_fstypes = ['ext3', 'ext4', 'cpio.gz', 'wic']
 
@@ -47,14 +45,6 @@ class OEQemuTarget(OESSHTarget):
  use_kvm=kvm, use_slirp=slirp, 
dump_dir=dump_dir, logger=logger,
  serial_ports=serial_ports, boot_patterns = 
boot_patterns, 
  use_ovmf=ovmf, tmpfsdir=tmpfsdir)
-dump_monitor_cmds = kwargs.get("testimage_dump_monitor")
-self.monitor_dumper = MonitorDumper(dump_monitor_cmds, dump_dir, 
self.runner)
-if self.monitor_dumper:
-self.monitor_dumper.create_dir("qmp")
-
-dump_target_cmds = kwargs.get("testimage_dump_target")
-self.target_dumper = TargetDumper(dump_target_cmds, dump_dir, 
self.runner)
-self.target_dumper.create_dir("qemu")
 
 def start(self, params=None, extra_bootparams=None, runqemuparams=''):
 if self.use_slirp and not self.server_ip:
diff --git a/meta/lib/oeqa/core/target/ssh.py b/meta/lib/oeqa/core/target/ssh.py
index f4dd0ca417..09cdd14c75 100644
--- a/meta/lib/oeqa/core/target/ssh.py
+++ b/meta/lib/oeqa/core/target/ssh.py
@@ -48,8 +48,6 @@ class OESSHTarget(OETarget):
 if port:
 self.ssh = self.ssh + [ '-p', port ]
 self.scp = self.scp + [ '-P', port ]
-self._monitor_dumper = None
-self.target_dumper = None
 
 def start(self, **kwargs):
 pass
@@ -57,15 +55,6 @@ class OESSHTarget(OETarget):
 def stop(self, **kwargs):
 pass
 
-@property
-def monitor_dumper(self):
-return self._monitor_dumper
-
-@monitor_dumper.setter
-def monitor_dumper(self, dumper):
-self._monitor_dumper = dumper
-self.monitor_dumper.dump_monitor()
-
 def _run(self, command, timeout=None, ignore_status=True):
 """
 Runs command in target using SSHProcess.
@@ -104,14 +93,7 @@ class OESSHTarget(OETarget):
 
 status, output = self._run(sshCmd, processTimeout, ignore_status)
 self.logger.debug('Command: %s\nStatus: %d Output:  %s\n' % (command, 
status, output))
-if (status == 255) and (('No route to host') in output):
-if 

[OE-core][nanbield 30/41] systemd-compat-units.bb: fix postinstall script

2023-12-29 Thread Steve Sakoman
From: Michael Opdenacker 

This fixes an issue running "opkg upgrade" on a system with systemd
(and when there is an update to "systemd-compat-units",
for example between yocto 4.2.2 and 4.2.3):

//var/lib/opkg/info/systemd-compat-units.postinst: cd: line 3: can't cd to 
/etc/init.d: No such file or directory

The existence of /etc/init.d is now tested
without causing an error if doesn't exist.

Fixes [YOCTO #15292]

Signed-off-by: Michael Opdenacker 
Signed-off-by: Richard Purdie 
(cherry picked from commit 0330331a1386fd2a34b410a7f62b29bfc8dc23c4)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/systemd/systemd-compat-units.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd-compat-units.bb 
b/meta/recipes-core/systemd/systemd-compat-units.bb
index 253bc9fcf1..c03d97f9c9 100644
--- a/meta/recipes-core/systemd/systemd-compat-units.bb
+++ b/meta/recipes-core/systemd/systemd-compat-units.bb
@@ -27,7 +27,8 @@ SYSTEMD_DISABLED_SYSV_SERVICES = " \
 
 pkg_postinst:${PN} () {
 
-   cd $D${sysconfdir}/init.d  ||  exit 0
+   test -d $D${sysconfdir}/init.d  ||  exit 0
+   cd $D${sysconfdir}/init.d
 
echo "Disabling the following sysv scripts: "
 
-- 
2.34.1


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



[OE-core][nanbield 36/41] json-c: fix icecc compilation

2023-12-29 Thread Steve Sakoman
From: Marco Felsch 

Skip -Werror to make it possible to compile this recipe with ICECC else
all fallthrough comments will be removed since we pre-process the files
on the host before sending them to the compile nodes which then cause
errors because of default -Werror switch.

Fixes: caf64f85b5c5 ("json-c: update 0.13.1 - > 0.14")
Signed-off-by: Marco Felsch 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 915f8307b063e17ddadd5dface83578b8ad254e2)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/json-c/json-c_0.17.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/json-c/json-c_0.17.bb 
b/meta/recipes-devtools/json-c/json-c_0.17.bb
index f4b7a32cea..20bcece768 100644
--- a/meta/recipes-devtools/json-c/json-c_0.17.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.17.bb
@@ -17,6 +17,9 @@ UPSTREAM_CHECK_REGEX = "json-c-(?P\d+(\.\d+)+)-\d+"
 
 RPROVIDES:${PN} = "libjson"
 
+# Required for ICECC builds
+EXTRA_OECMAKE = "-DDISABLE_WERROR=ON"
+
 inherit cmake ptest
 
 do_install_ptest() {
-- 
2.34.1


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



[OE-core][nanbield 38/41] patchtest: shorten patch signed-off-by test output

2023-12-29 Thread Steve Sakoman
From: Trevor Gamblin 

The patch Signed-off-by test's output line is excessively long, and can
trigger a failsafe in the patchtest automated service's email content
generation. Shorten the output by reducing redundant phrasing and using
os.path.basename to get only the failing patch's name, not the entire
path, as the submitter should have a good idea of where it is located
regardless.

Signed-off-by: Trevor Gamblin 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit cc7546ded87dd44a988d7a23f1d7645094b5cdd4)
Signed-off-by: Steve Sakoman 
---
 meta/lib/patchtest/tests/test_patch.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/patchtest/tests/test_patch.py 
b/meta/lib/patchtest/tests/test_patch.py
index 65d0f930b0..d7187a0cb1 100644
--- a/meta/lib/patchtest/tests/test_patch.py
+++ b/meta/lib/patchtest/tests/test_patch.py
@@ -6,6 +6,7 @@
 #
 
 import base
+import os
 import parse_signed_off_by
 import parse_upstream_status
 import pyparsing
@@ -87,7 +88,7 @@ class TestPatch(base.Base):
 if TestPatch.prog.search_string(payload):
 break
 else:
-self.fail('A patch file has been added without a Signed-off-by 
tag. Sign off the added patch file (%s)' % newpatch.path)
+self.fail('A patch file has been added without a Signed-off-by 
tag: \'%s\'' % os.path.basename(newpatch.path))
 
 def test_cve_tag_format(self):
 for commit in TestPatch.commits:
-- 
2.34.1


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



[OE-core][nanbield 37/41] systemd-boot: Fix build issues on armv7a-linux

2023-12-29 Thread Steve Sakoman
From: Viswanath Kraleti 

Backport a fix to address the build failure on armv7a introduced
in systemd v254-rc1.

see
https://github.com/systemd/systemd/issues/29381

Signed-off-by: Viswanath Kraleti 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 782790dc6423fe3ae1ce4cd674ab492bfc881230)
Signed-off-by: Steve Sakoman 
---
 .../systemd/systemd-boot_254.4.bb |  4 +++
 ...n-Pass-all-static-pie-args-to-linker.patch | 35 +++
 2 files changed, 39 insertions(+)
 create mode 100644 
meta/recipes-core/systemd/systemd/0030-meson-Pass-all-static-pie-args-to-linker.patch

diff --git a/meta/recipes-core/systemd/systemd-boot_254.4.bb 
b/meta/recipes-core/systemd/systemd-boot_254.4.bb
index 4ee25ee72f..2b43ccf243 100644
--- a/meta/recipes-core/systemd/systemd-boot_254.4.bb
+++ b/meta/recipes-core/systemd/systemd-boot_254.4.bb
@@ -8,6 +8,10 @@ DEPENDS = "intltool-native libcap util-linux gperf-native 
python3-jinja2-native
 inherit meson pkgconfig gettext
 inherit deploy
 
+SRC_URI += " \
+   file://0030-meson-Pass-all-static-pie-args-to-linker.patch \
+   "
+
 LDFLAGS:prepend = "${@ " ".join(d.getVar('LD').split()[1:])} "
 
 EFI_LD = "bfd"
diff --git 
a/meta/recipes-core/systemd/systemd/0030-meson-Pass-all-static-pie-args-to-linker.patch
 
b/meta/recipes-core/systemd/systemd/0030-meson-Pass-all-static-pie-args-to-linker.patch
new file mode 100644
index 00..8e563238ef
--- /dev/null
+++ 
b/meta/recipes-core/systemd/systemd/0030-meson-Pass-all-static-pie-args-to-linker.patch
@@ -0,0 +1,35 @@
+From f85a387a67900b02c69abccb88c2ef7191c67277 Mon Sep 17 00:00:00 2001
+From: Jan Janssen 
+Date: Sun, 1 Oct 2023 09:55:48 +0200
+Subject: [PATCH] meson: Pass all -static-pie args to linker
+
+Fixes: #29381
+
+Upstream-Status: Backport 
[https://github.com/systemd/systemd/commit/cecbb162a3134b43d2ca160e13198c73ff34c3ef]
+Signed-off-by: Viswanath Kraleti 
+---
+ src/boot/efi/meson.build | 11 ---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build
+index 2773eaf286..9a60a57329 100644
+--- a/src/boot/efi/meson.build
 b/src/boot/efi/meson.build
+@@ -161,9 +161,14 @@ efi_c_ld_args = [
+ '-Wl,--entry=efi_main',
+ '-Wl,--fatal-warnings',
+ 
+-# These flags should be passed by -static-pie, but seem to be missing 
sometimes.
+-'-Wl,--no-dynamic-linker',
+-'-z', 'text',
++# These flags should be passed by -static-pie, but for whatever 
reason the flag translation
++# is not enabled on all architectures. Not passing `-static` would 
just allow the linker to
++# use dynamic libraries, (which we can't/don't use anyway). But if 
`-pie` is missing and the
++# gcc build does not default to `-pie` we get a regular (no-pie) 
binary that will be
++# rightfully rejected by elf2efi. Note that meson also passes `-pie` 
to the linker driver,
++# but it is overridden by our `-static-pie`. We also need to pass 
these directly to the
++# linker as `-static`+`-pie` seem to get translated differently.
++'-Wl,-static,-pie,--no-dynamic-linker,-z,text',
+ 
+ # EFI has 4KiB pages.
+ '-z', 'common-page-size=4096',
-- 
2.34.1


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



[OE-core][nanbield 34/41] bluez5: fix connection for ps5/dualshock controllers

2023-12-29 Thread Steve Sakoman
From: Markus Volk 

Bluez 5.69 added a regression. Bluetooth connection for playstation controllers
stopped working. This adds a backport patch for the issue

Signed-off-by: Markus Volk 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit be05a177f943e9c8ce6c0fdbd157ee6f9103eef9)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-connectivity/bluez5/bluez5.inc   |   1 +
 ...e_probe-failing-if-SDP-record-is-not.patch | 313 ++
 2 files changed, 314 insertions(+)
 create mode 100644 
meta/recipes-connectivity/bluez5/bluez5/0002-input-Fix-.device_probe-failing-if-SDP-record-is-not.patch

diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc 
b/meta/recipes-connectivity/bluez5/bluez5.inc
index e10158a6e5..a23e4e58a6 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -55,6 +55,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \

file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
file://0001-test-gatt-Fix-hung-issue.patch \
file://0004-src-shared-util.c-include-linux-limits.h.patch \
+   
file://0002-input-Fix-.device_probe-failing-if-SDP-record-is-not.patch \
"
 S = "${WORKDIR}/bluez-${PV}"
 
diff --git 
a/meta/recipes-connectivity/bluez5/bluez5/0002-input-Fix-.device_probe-failing-if-SDP-record-is-not.patch
 
b/meta/recipes-connectivity/bluez5/bluez5/0002-input-Fix-.device_probe-failing-if-SDP-record-is-not.patch
new file mode 100644
index 00..d0884338db
--- /dev/null
+++ 
b/meta/recipes-connectivity/bluez5/bluez5/0002-input-Fix-.device_probe-failing-if-SDP-record-is-not.patch
@@ -0,0 +1,313 @@
+From 3a9c637010f8dc1ba3e8382abe01065761d4f5bb Mon Sep 17 00:00:00 2001
+From: Luiz Augusto von Dentz 
+Date: Tue, 10 Oct 2023 12:38:29 -0700
+Subject: [PATCH 02/40] input: Fix .device_probe failing if SDP record is not
+ found
+
+Due to changes introduced by 67a26abe53bf
+("profile: Add probe_on_discover flag") profiles may get probed when
+their profile UUID are discovered, rather than resolved, which means
+the SDP record may not be available.
+
+Fixes: https://github.com/bluez/bluez/issues/614
+
+Upstream-Status: Backport 
[https://github.com/bluez/bluez/commit/3a9c637010f8dc1ba3e8382abe01065761d4f5bb]
+---
+ profiles/input/device.c | 182 +++-
+ 1 file changed, 84 insertions(+), 98 deletions(-)
+
+diff --git a/profiles/input/device.c b/profiles/input/device.c
+index e2ac6ea60..4a50ea992 100644
+--- a/profiles/input/device.c
 b/profiles/input/device.c
+@@ -60,7 +60,7 @@ struct input_device {
+   char*path;
+   bdaddr_tsrc;
+   bdaddr_tdst;
+-  uint32_thandle;
++  const sdp_record_t  *rec;
+   GIOChannel  *ctrl_io;
+   GIOChannel  *intr_io;
+   guint   ctrl_watch;
+@@ -754,7 +754,8 @@ static void epox_endian_quirk(unsigned char *data, int 
size)
+   }
+ }
+ 
+-static int create_hid_dev_name(sdp_record_t *rec, struct hidp_connadd_req 
*req)
++static int create_hid_dev_name(const sdp_record_t *rec,
++  struct hidp_connadd_req *req)
+ {
+   char sdesc[sizeof(req->name) / 2];
+ 
+@@ -776,7 +777,7 @@ static int create_hid_dev_name(sdp_record_t *rec, struct 
hidp_connadd_req *req)
+ 
+ /* See HID profile specification v1.0, "7.11.6 HIDDescriptorList" for details
+  * on the attribute format. */
+-static int extract_hid_desc_data(sdp_record_t *rec,
++static int extract_hid_desc_data(const sdp_record_t *rec,
+   struct hidp_connadd_req *req)
+ {
+   sdp_data_t *d;
+@@ -817,36 +818,40 @@ invalid_desc:
+   return -EINVAL;
+ }
+ 
+-static int extract_hid_record(sdp_record_t *rec, struct hidp_connadd_req *req)
++static int extract_hid_record(struct input_device *idev,
++  struct hidp_connadd_req *req)
+ {
+   sdp_data_t *pdlist;
+   uint8_t attr_val;
+   int err;
+ 
+-  err = create_hid_dev_name(rec, req);
++  if (!idev->rec)
++  return -ENOENT;
++
++  err = create_hid_dev_name(idev->rec, req);
+   if (err < 0)
+   DBG("No valid Service Name or Service Description found");
+ 
+-  pdlist = sdp_data_get(rec, SDP_ATTR_HID_PARSER_VERSION);
++  pdlist = sdp_data_get(idev->rec, SDP_ATTR_HID_PARSER_VERSION);
+   req->parser = pdlist ? pdlist->val.uint16 : 0x0100;
+ 
+-  pdlist = sdp_data_get(rec, SDP_ATTR_HID_DEVICE_SUBCLASS);
++  pdlist = sdp_data_get(idev->rec, SDP_ATTR_HID_DEVICE_SUBCLASS);
+   req->subclass = pdlist ? pdlist->val.uint8 : 0;
+ 
+-  pdlist = sdp_data_get(rec, SDP_ATTR_HID_COUNTRY_CODE);
++  pdlist = sdp_data_get(idev->rec, SDP_ATTR_HID_COUNTRY_CODE);
+   req->country = pdlist ? pdlist->val.uint8 : 0;
+ 

[OE-core][nanbield 35/41] cups: Add root,sys,wheel to system groups

2023-12-29 Thread Steve Sakoman
From: Markus Volk 

The Cups documentation states:
The default contains "admin", "lpadmin", "root", "sys" and/or "system".
https://www.cups.org/doc/man-cups-files.conf.html#:~:text=SystemGroup

Add root and sys accordingly
Also add wheel group. This is required for systems with polkit support in order 
to
control the printer settings with cups-pk-helper.
Not only for gnome-control-center, but also when using plain 
system-config-printer on
a system with running polkit, cups-pk-helper would be a required rdepend.

Signed-off-by: Markus Volk 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 572fed0ac6dbcf5749e19c7b624826fc30cf301e)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-extended/cups/cups.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/cups/cups.inc 
b/meta/recipes-extended/cups/cups.inc
index fa32c38549..4c414b6549 100644
--- a/meta/recipes-extended/cups/cups.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -55,7 +55,7 @@ EXTRA_OECONF = " \
--enable-debug \
--disable-relro \
--enable-libusb \
-   --with-system-groups=lpadmin \
+   --with-system-groups=lpadmin,root,sys,wheel \
--with-cups-group=lp \
--with-domainsocket=/run/cups/cups.sock \
--with-pkgconfpath=${libdir}/pkgconfig \
-- 
2.34.1


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



[OE-core][nanbield 33/41] devtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM

2023-12-29 Thread Steve Sakoman
From: Julien Stephan 

When specifying --mode / -m srcrev with devtool finish/update-recipe on
recipes that are not fetched from a SCM repository we get the following
error:

  Traceback (most recent call last):
  [..]
File "<...>/poky/meta/lib/oe/patch.py", line 49, in runcmd
raise CmdError(cmd, exitstatus >> 8, "stdout: %s\nstderr: %s" % (stdout, 
stderr))
oe.patch.CmdError: Command Error: 'sh -c 'git format-patch --no-signature 
--no-numbered INVALID -o /tmp/oepatchbj7pfmzj -- .'' exited with 0  Output:
stdout:
stderr: fatal: bad revision 'INVALID'

Fix this by adding a check and abort with a proper error message.

Signed-off-by: Julien Stephan 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 5b77f60e85d07921ae5e808daa1fd7d8c3dc40ea)
Signed-off-by: Steve Sakoman 
---
 scripts/lib/devtool/standard.py | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index cd79c7802c..55fa38ccfb 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -1530,6 +1530,11 @@ def _update_recipe_srcrev(recipename, workspace, 
srctree, rd, appendlayerdir, wi
 recipedir = os.path.basename(recipefile)
 logger.info('Updating SRCREV in recipe %s%s' % (recipedir, dry_run_suffix))
 
+# Get original SRCREV
+old_srcrev = rd.getVar('SRCREV') or ''
+if old_srcrev == "INVALID":
+raise DevtoolError('Update mode srcrev is only valid for recipe 
fetched from an SCM repository')
+
 # Get HEAD revision
 try:
 stdout, _ = bb.process.run('git rev-parse HEAD', cwd=srctree)
@@ -1556,7 +1561,6 @@ def _update_recipe_srcrev(recipename, workspace, srctree, 
rd, appendlayerdir, wi
 if not no_remove:
 # Find list of existing patches in recipe file
 patches_dir = tempfile.mkdtemp(dir=tempdir)
-old_srcrev = rd.getVar('SRCREV') or ''
 upd_p, new_p, del_p = _export_patches(srctree, rd, old_srcrev,
   patches_dir)
 logger.debug('Patches: update %s, new %s, delete %s' % 
(dict(upd_p), dict(new_p), dict(del_p)))
-- 
2.34.1


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



[OE-core][nanbield 32/41] python3-ptest: skip test_storlines

2023-12-29 Thread Steve Sakoman
From: Trevor Gamblin 

[YOCTO #14933]

test_storlines is yet another Python ptest that fails intermittently on
the Yocto AB, so disable it during ptests for now.

Signed-off-by: Trevor Gamblin 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit d7b9f8157e6214a83b5495e8a32e11540ae65ff8)
Signed-off-by: Steve Sakoman 
---
 ...orlines-skip-due-to-load-variability.patch | 32 +++
 .../recipes-devtools/python/python3_3.11.5.bb |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch

diff --git 
a/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
 
b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
new file mode 100644
index 00..199031d42a
--- /dev/null
+++ 
b/meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch
@@ -0,0 +1,32 @@
+From 013ff01fdf2aa6ca69a7c80a2a2996630877e4ea Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin 
+Date: Fri, 6 Oct 2023 10:59:44 -0400
+Subject: [PATCH] test_storlines: skip due to load variability
+
+This is yet another test that intermittently fails on the Yocto AB when
+a worker is under heavy load, so skip it during testing.
+
+Upstream-Status: Inappropriate [OE-Specific]
+
+[YOCTO #14933]
+
+Signed-off-by: Trevor Gamblin 
+---
+ Lib/test/test_ftplib.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
+index 082a90d46b..508814d56a 100644
+--- a/Lib/test/test_ftplib.py
 b/Lib/test/test_ftplib.py
+@@ -629,6 +629,7 @@ def test_storbinary_rest(self):
+ self.client.storbinary('stor', f, rest=r)
+ self.assertEqual(self.server.handler_instance.rest, str(r))
+ 
++@unittest.skip('timing related test, dependent on load')
+ def test_storlines(self):
+ data = RETR_DATA.replace('\r\n', '\n').encode(self.client.encoding)
+ f = io.BytesIO(data)
+-- 
+2.41.0
+
diff --git a/meta/recipes-devtools/python/python3_3.11.5.bb 
b/meta/recipes-devtools/python/python3_3.11.5.bb
index 8e023c7dfb..d375de4b19 100644
--- a/meta/recipes-devtools/python/python3_3.11.5.bb
+++ b/meta/recipes-devtools/python/python3_3.11.5.bb
@@ -33,6 +33,7 @@ SRC_URI = 
"http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
file://0001-Avoid-shebang-overflow-on-python-config.py.patch \
file://0001-Update-test_sysconfig-for-posix_user-purelib.patch \

file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \
+   file://0001-test_storlines-skip-due-to-load-variability.patch \
"
 
 SRC_URI:append:class-native = " \
-- 
2.34.1


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



[OE-core][nanbield 29/41] package_ipk: Fix Source: field variable dependency

2023-12-29 Thread Steve Sakoman
From: Richard Purdie 

The Source: variable is generated from FILE but this is excluded from checksums
normally which results in a reproduciubility issue when the filename changes.

Add in a dependency by reworking the code a little to avoid this.

Signed-off-by: Richard Purdie 
(cherry picked from commit 3ea7da76c6930031a0071069027b1d71f737fbc9)
Signed-off-by: Steve Sakoman 
---
 meta/classes-global/package_ipk.bbclass | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/classes-global/package_ipk.bbclass 
b/meta/classes-global/package_ipk.bbclass
index b4b7bc9ac2..64fa237c00 100644
--- a/meta/classes-global/package_ipk.bbclass
+++ b/meta/classes-global/package_ipk.bbclass
@@ -47,6 +47,10 @@ python do_package_ipk () {
 do_package_ipk[vardeps] += "ipk_write_pkg"
 do_package_ipk[vardepsexclude] = "BB_NUMBER_THREADS"
 
+# FILE isn't included by default but we want the recipe to change if 
basename() changes
+IPK_RECIPE_FILE = "${@os.path.basename(d.getVar('FILE'))}"
+IPK_RECIPE_FILE[vardepvalue] = "${IPK_RECIPE_FILE}"
+
 def ipk_write_pkg(pkg, d):
 import re, copy
 import subprocess
@@ -62,7 +66,7 @@ def ipk_write_pkg(pkg, d):
 
 outdir = d.getVar('PKGWRITEDIRIPK')
 pkgdest = d.getVar('PKGDEST')
-recipesource = os.path.basename(d.getVar('FILE'))
+recipesource = d.getVar('IPK_RECIPE_FILE')
 
 localdata = bb.data.createCopy(d)
 root = "%s/%s" % (pkgdest, pkg)
-- 
2.34.1


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



[OE-core][nanbield 31/41] devtool: fix update-recipe dry-run mode

2023-12-29 Thread Steve Sakoman
From: Julien Stephan 

When running devtool update-recipe with --mode=srcrev AND --append switch
in dry-run, we get the following error:

  Traceback (most recent call last):
  [...]
  Exception: destpath should be set here

Fix this by removing a misplaced else statement in _update_recipe_srcrev

Signed-off-by: Julien Stephan 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 85ba125703d5b442133fd7c470b915460ee68ac9)
Signed-off-by: Steve Sakoman 
---
 scripts/lib/devtool/standard.py | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index d53fb81007..cd79c7802c 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -1576,11 +1576,10 @@ def _update_recipe_srcrev(recipename, workspace, 
srctree, rd, appendlayerdir, wi
 patchfields['SRC_URI'] = '\\\n'.join(srcuri)
 if dry_run_outdir:
 logger.info('Creating bbappend (dry-run)')
-else:
-appendfile, destpath = oe.recipeutils.bbappend_recipe(
-rd, appendlayerdir, files, 
wildcardver=wildcard_version,
-extralines=patchfields, removevalues=removevalues,
-redirect_output=dry_run_outdir)
+appendfile, destpath = oe.recipeutils.bbappend_recipe(
+rd, appendlayerdir, files, wildcardver=wildcard_version,
+extralines=patchfields, removevalues=removevalues,
+redirect_output=dry_run_outdir)
 else:
 files_dir = _determine_files_dir(rd)
 for basepath, path in upd_f.items():
-- 
2.34.1


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



[OE-core][nanbield 28/41] kernel-arch: use ccache only for compiler

2023-12-29 Thread Steve Sakoman
From: Javier Tia 

Attempting to use it with other tools is not beneficial, only with the
compiler. Confirmation from ccache's maintainer [1].

[1] https://github.com/ccache/ccache/discussions/1346#discussioncomment-7616180

Signed-off-by: Javier Tia 
Signed-off-by: Richard Purdie 
(cherry picked from commit 47fa8d81083f1ef594f8fe6fcab3e227e9607b3f)
Signed-off-by: Steve Sakoman 
---
 meta/classes-recipe/kernel-arch.bbclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/classes-recipe/kernel-arch.bbclass 
b/meta/classes-recipe/kernel-arch.bbclass
index 6a50bbfd42..404f2e7061 100644
--- a/meta/classes-recipe/kernel-arch.bbclass
+++ b/meta/classes-recipe/kernel-arch.bbclass
@@ -74,8 +74,8 @@ TARGET_STRIP_KERNEL_ARCH ?= ""
 HOST_STRIP_KERNEL_ARCH ?= "${TARGET_STRIP_KERNEL_ARCH}"
 
 KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd 
${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} 
-fdebug-prefix-map=${STAGING_KERNEL_BUILDDIR}=${KERNEL_SRC_PATH}"
-KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
-KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
-KERNEL_OBJCOPY = "${CCACHE}${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}"
+KERNEL_LD = "${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
+KERNEL_AR = "${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
+KERNEL_OBJCOPY = "${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}"
 KERNEL_STRIP = "${HOST_PREFIX}strip ${HOST_STRIP_KERNEL_ARCH}"
 TOOLCHAIN ?= "gcc"
-- 
2.34.1


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



[OE-core][nanbield 27/41] lib/oe/patch: ensure os.chdir restoring always happens

2023-12-29 Thread Steve Sakoman
From: Ross Burton 

If we chdir(), do the chdir back to the original directory in a finally
block so they always run.

Signed-off-by: Ross Burton 
Signed-off-by: Richard Purdie 
(cherry picked from commit cdc40292818683b6df1c814498c7589450a163fa)
Signed-off-by: Steve Sakoman 
---
 meta/lib/oe/patch.py | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index ff9afc9df9..9b480b2b28 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -772,8 +772,9 @@ class NOOPResolver(Resolver):
 self.patchset.Push()
 except Exception:
 import sys
-os.chdir(olddir)
 raise
+finally:
+os.chdir(olddir)
 
 # Patch resolver which relies on the user doing all the work involved in the
 # resolution, with the exception of refreshing the remote copy of the patch
@@ -833,9 +834,9 @@ class UserResolver(Resolver):
 # User did not fix the problem.  Abort.
 raise PatchError("Patch application failed, and 
user did not fix and refresh the patch.")
 except Exception:
-os.chdir(olddir)
 raise
-os.chdir(olddir)
+finally:
+os.chdir(olddir)
 
 
 def patch_path(url, fetch, workdir, expand=True):
-- 
2.34.1


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



[OE-core][nanbield 26/41] useradd_base: Fix sed command line for passwd-expire

2023-12-29 Thread Steve Sakoman
From: Adam Johnston 

A previous commit tried to add the --follow-symlinks option to
the perform_passwd_expire function in useradd_base.bbclass, however it used
a single -.

This is interpreted as --file=ollow-symlinks which results in...

sed: couldn't open file ollow-symlinks: No such file or directory

and...

ERROR: : passwd --expire operation did not succeed.

Fix by adding the missing -

Signed-off-by:  Adam Johnston 
Signed-off-by: Richard Purdie 
(cherry picked from commit 3c0deafcfcea3f610c7dd9a2d2884a16fbfe0497)
Signed-off-by: Steve Sakoman 
---
 meta/classes/useradd_base.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/useradd_base.bbclass 
b/meta/classes/useradd_base.bbclass
index f1a7a9695d..5e1c699118 100644
--- a/meta/classes/useradd_base.bbclass
+++ b/meta/classes/useradd_base.bbclass
@@ -160,7 +160,7 @@ perform_passwd_expire () {
local username=`echo "$opts" | awk '{ print $NF }'`
local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"
if test "x$user_exists" != "x"; then
-   eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO sed 
-follow-symlinks -i \''s/^\('$username':[^:]*\):[^:]*:/\1:0:/'\' 
$rootdir/etc/shadow \" || true
+   eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO sed 
--follow-symlinks -i \''s/^\('$username':[^:]*\):[^:]*:/\1:0:/'\' 
$rootdir/etc/shadow \" || true
local passwd_lastchanged="`grep "^$username:" 
$rootdir/etc/shadow | cut -d: -f3`"
if test "x$passwd_lastchanged" != "x0"; then
bbfatal "${PN}: passwd --expire operation did not 
succeed."
-- 
2.34.1


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



[OE-core][nanbield 25/41] gtk: Add rdepend on printbackend for cups

2023-12-29 Thread Steve Sakoman
From: Markus Volk 

install the required printbackends

Signed-off-by: Markus Volk 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 0a97892920db46043102d54ef1623669241e9780)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-gnome/gtk+/gtk+3.inc  | 2 +-
 meta/recipes-gnome/gtk+/gtk4_4.12.3.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc 
b/meta/recipes-gnome/gtk+/gtk+3.inc
index 8d01e6077f..4a04c06432 100644
--- a/meta/recipes-gnome/gtk+/gtk+3.inc
+++ b/meta/recipes-gnome/gtk+/gtk+3.inc
@@ -41,7 +41,7 @@ PACKAGECONFIG[x11] = 
"-Dx11_backend=true,-Dx11_backend=false,at-spi2-atk fontcon
 # this is provided by oe-core patch that removes epoxy/gl dependency from a 
X11 build
 PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy"
 PACKAGECONFIG[wayland] = 
"-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols 
libxkbcommon virtual/egl virtual/libgles2 wayland-native"
-PACKAGECONFIG[cups] = ",,cups,cups"
+PACKAGECONFIG[cups] = ",,cups,cups gtk3-printbackend-cups"
 PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
 PACKAGECONFIG[cloudproviders] = 
"-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
 PACKAGECONFIG[tracker3] = 
"-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
diff --git a/meta/recipes-gnome/gtk+/gtk4_4.12.3.bb 
b/meta/recipes-gnome/gtk+/gtk4_4.12.3.bb
index a547db8376..001b06934e 100644
--- a/meta/recipes-gnome/gtk+/gtk4_4.12.3.bb
+++ b/meta/recipes-gnome/gtk+/gtk4_4.12.3.bb
@@ -66,7 +66,7 @@ PACKAGECONFIG:class-nativesdk = 
"${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)
 PACKAGECONFIG[x11] = "-Dx11-backend=true,-Dx11-backend=false,at-spi2-atk 
fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender 
libxcomposite libxfixes xinerama"
 PACKAGECONFIG[wayland] = 
"-Dwayland-backend=true,-Dwayland-backend=false,wayland wayland-protocols 
virtual/egl virtual/libgles2 wayland-native"
 PACKAGECONFIG[cloudproviders] = 
"-Dcloudproviders=enabled,-Dcloudproviders=disabled,libcloudproviders"
-PACKAGECONFIG[cups] = "-Dprint-cups=enabled,-Dprint-cups=disabled,cups,cups"
+PACKAGECONFIG[cups] = "-Dprint-cups=enabled,-Dprint-cups=disabled,cups,cups 
gtk4-printbackend-cups"
 PACKAGECONFIG[colord] = "-Dcolord=enabled,-Dcolord=disabled,colord"
 PACKAGECONFIG[iso-codes] = ",,iso-codes,iso-codes"
 PACKAGECONFIG[ffmpeg] = "-Dmedia-ffmpeg=enabled,-Dmedia-ffmpeg=disabled,ffmpeg"
-- 
2.34.1


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



[OE-core][nanbield 24/41] sed -i destroys symlinks

2023-12-29 Thread Steve Sakoman
From: Joakim Tjernlund 

If /etc/passwd is a symlink, sed -i on same file will replace the
symlink with a new file. Prevent that by adding --follow-symlinks
option to sed

Signed-off-by: Joakim Tjernlund 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 6ec004b2e7b4342465af8e5e6cc66041834821a0)
Signed-off-by: Steve Sakoman 
---
 meta/classes-recipe/rootfs-postcommands.bbclass | 4 ++--
 meta/classes/useradd_base.bbclass   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/classes-recipe/rootfs-postcommands.bbclass 
b/meta/classes-recipe/rootfs-postcommands.bbclass
index 06388b72fb..29ee74932a 100644
--- a/meta/classes-recipe/rootfs-postcommands.bbclass
+++ b/meta/classes-recipe/rootfs-postcommands.bbclass
@@ -241,10 +241,10 @@ read_only_rootfs_hook () {
 #
 zap_empty_root_password () {
if [ -e ${IMAGE_ROOTFS}/etc/shadow ]; then
-   sed -i 's%^root::%root:*:%' ${IMAGE_ROOTFS}/etc/shadow
+   sed --follow-symlinks -i 's%^root::%root:*:%' 
${IMAGE_ROOTFS}/etc/shadow
 fi
if [ -e ${IMAGE_ROOTFS}/etc/passwd ]; then
-   sed -i 's%^root::%root:*:%' ${IMAGE_ROOTFS}/etc/passwd
+   sed --follow-symlinks -i 's%^root::%root:*:%' 
${IMAGE_ROOTFS}/etc/passwd
fi
 }
 
diff --git a/meta/classes/useradd_base.bbclass 
b/meta/classes/useradd_base.bbclass
index 863cb7b76c..f1a7a9695d 100644
--- a/meta/classes/useradd_base.bbclass
+++ b/meta/classes/useradd_base.bbclass
@@ -160,7 +160,7 @@ perform_passwd_expire () {
local username=`echo "$opts" | awk '{ print $NF }'`
local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`"
if test "x$user_exists" != "x"; then
-   eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO sed -i 
\''s/^\('$username':[^:]*\):[^:]*:/\1:0:/'\' $rootdir/etc/shadow \" || true
+   eval flock -x $rootdir${sysconfdir} -c \"$PSEUDO sed 
-follow-symlinks -i \''s/^\('$username':[^:]*\):[^:]*:/\1:0:/'\' 
$rootdir/etc/shadow \" || true
local passwd_lastchanged="`grep "^$username:" 
$rootdir/etc/shadow | cut -d: -f3`"
if test "x$passwd_lastchanged" != "x0"; then
bbfatal "${PN}: passwd --expire operation did not 
succeed."
-- 
2.34.1


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



[OE-core][nanbield 23/41] systemd: update LICENSE statement

2023-12-29 Thread Steve Sakoman
From: Massimiliano Minella 

As stated in the LICENSES/README.md "Unless otherwise noted, the systemd
project sources are licensed under the terms and conditions of the GNU
Lesser General Public License v2.1 or later", so replace LGPL-2.1-only
with LGPL-2.1-or-later.

With the exception of some udev sources that are licensed under
GPL-2.0-or-later (but are packaged separately), the project is licensed
under LGPL, and all the components are LGPL or under LGPL compatible
licenses. The package libsystemd is currently under the main package
license, which can cause problems when scanning for GPL software linked
to CLOSED one.  Add more granularity by setting a license for libsystemd
to LGPL-2.1-or-later.

Signed-off-by: Massimiliano Minella 
Signed-off-by: Richard Purdie 
(cherry picked from commit 54975f4b2184fe12c4995c289eba8358958e6c21)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/systemd/systemd.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd.inc 
b/meta/recipes-core/systemd/systemd.inc
index 3ba0b5ffc5..ccc3236457 100644
--- a/meta/recipes-core/systemd/systemd.inc
+++ b/meta/recipes-core/systemd/systemd.inc
@@ -10,7 +10,8 @@ state, maintains mount and automount points and implements an 
\
 elaborate transactional dependency-based service control logic. It can \
 work as a drop-in replacement for sysvinit."
 
-LICENSE = "GPL-2.0-only & LGPL-2.1-only"
+LICENSE = "GPL-2.0-only & LGPL-2.1-or-later"
+LICENSE:libsystemd = "LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
 
file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
 
-- 
2.34.1


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



[OE-core][nanbield 22/41] cmake: upgrade 3.27.5 -> 3.27.7

2023-12-29 Thread Steve Sakoman
From: Alexander Kanavin 

Changes made since CMake 3.27.6:

Brad King (6):
  Android: Require Clang 18 for -std=c++23
  Tests: Clarify RunCMake.CTestTimeout case name
  ctest: Restore support for --timeout values higher than default test timeout
  Help: Document CMP0124 behavior on already-set variables
  FindPostgreSQL: Add support for version 16
  CMake 3.27.7

Orkun Tokdemir (1):
  Linting: Fix empty evaluated genex

Signed-off-by: Alexander Kanavin 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 0faec0c8606b31216702252d0db7aa88388df231)
Signed-off-by: Steve Sakoman 
---
 .../cmake/{cmake-native_3.27.5.bb => cmake-native_3.27.7.bb}| 0
 meta/recipes-devtools/cmake/cmake.inc   | 2 +-
 .../recipes-devtools/cmake/{cmake_3.27.5.bb => cmake_3.27.7.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/cmake/{cmake-native_3.27.5.bb => 
cmake-native_3.27.7.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_3.27.5.bb => cmake_3.27.7.bb} (100%)

diff --git a/meta/recipes-devtools/cmake/cmake-native_3.27.5.bb 
b/meta/recipes-devtools/cmake/cmake-native_3.27.7.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake-native_3.27.5.bb
rename to meta/recipes-devtools/cmake/cmake-native_3.27.7.bb
diff --git a/meta/recipes-devtools/cmake/cmake.inc 
b/meta/recipes-devtools/cmake/cmake.inc
index ef4eec5ab1..ecb0e487df 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -19,7 +19,7 @@ CMAKE_MAJOR_VERSION = 
"${@'.'.join(d.getVar('PV').split('.')[0:2])}"
 SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
 "
 
-SRC_URI[sha256sum] = 
"5175e8fe1ca9b1dd09090130db7201968bcce1595971ff9e9998c2f0765004c9"
+SRC_URI[sha256sum] = 
"08f71a106036bf051f692760ef9558c0577c42ac39e96ba097e7662bd4158d8e"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/cmake/cmake_3.27.5.bb 
b/meta/recipes-devtools/cmake/cmake_3.27.7.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake_3.27.5.bb
rename to meta/recipes-devtools/cmake/cmake_3.27.7.bb
-- 
2.34.1


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



[OE-core][nanbield 18/41] ell: upgrade 0.59 -> 0.60

2023-12-29 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
==
-Fix issue with missing NETLINK_EXT_ACK definition.
-Fix issue with incorrect derivation of ECC compressed points.
-Add support for ECC usage from SPAKE2+ key exchange protocol.

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 9b13c1ffadda0893561e804d2ab789bf1c401d3a)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/ell/{ell_0.59.bb => ell_0.60.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/ell/{ell_0.59.bb => ell_0.60.bb} (89%)

diff --git a/meta/recipes-core/ell/ell_0.59.bb 
b/meta/recipes-core/ell/ell_0.60.bb
similarity index 89%
rename from meta/recipes-core/ell/ell_0.59.bb
rename to meta/recipes-core/ell/ell_0.60.bb
index 0483dbe582..4e414f3b90 100644
--- a/meta/recipes-core/ell/ell_0.59.bb
+++ b/meta/recipes-core/ell/ell_0.60.bb
@@ -15,7 +15,7 @@ DEPENDS = "dbus"
 inherit autotools pkgconfig
 
 SRC_URI = 
"https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz;
-SRC_URI[sha256sum] = 
"370dc2b7c73cd57856017180a2a70a15ca1b0183bfd453b3cffe2d707c37da3d"
+SRC_URI[sha256sum] = 
"61cec2df694b548e51afa3e7ffd1e1ad31a9fea7bedb93a3a3cc60894390c70f"
 
 do_configure:prepend () {
 mkdir -p ${S}/build-aux
-- 
2.34.1


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



[OE-core][nanbield 21/41] log4cplus: upgrade 2.1.0 -> 2.1.1

2023-12-29 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
===
-Add missing source files to MSVC project files.
-Resolve environment variables in include directive in configuration file.

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 33d49b14609d9b92a7c23d79f1bdfca79a5d8197)
Signed-off-by: Steve Sakoman 
---
 .../log4cplus/{log4cplus_2.1.0.bb => log4cplus_2.1.1.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/log4cplus/{log4cplus_2.1.0.bb => 
log4cplus_2.1.1.bb} (90%)

diff --git a/meta/recipes-devtools/log4cplus/log4cplus_2.1.0.bb 
b/meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb
similarity index 90%
rename from meta/recipes-devtools/log4cplus/log4cplus_2.1.0.bb
rename to meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb
index e0c16d2e73..be3c787ab2 100644
--- a/meta/recipes-devtools/log4cplus/log4cplus_2.1.0.bb
+++ b/meta/recipes-devtools/log4cplus/log4cplus_2.1.1.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=41e8e060c26822886b592ab4765c756b"
 
 SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz \
   "
-SRC_URI[sha256sum] = 
"2a8eb99d71b0680c0520c7c16248cdb4195da82f396b79fea30b0d9e289c8c72"
+SRC_URI[sha256sum] = 
"42dc435928917fd2f847046c4a0c6086b2af23664d198c7fc1b982c0bfe600c1"
 
 UPSTREAM_CHECK_URI = 
"https://sourceforge.net/projects/log4cplus/files/log4cplus-stable/;
 UPSTREAM_CHECK_REGEX = "log4cplus-stable/(?P\d+(\.\d+)+)/"
-- 
2.34.1


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



[OE-core][nanbield 20/41] libxslt: upgrade 1.1.38 -> 1.1.39

2023-12-29 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
===
- extensions: Don't search imports for extension prefixes
- transform: Check maximum depth when processing default templates
- build: Add more missing includes
- python: Don't set deprecated global
- build: Add missing includes
- imports: Limit nesting depth
- extensions: Report top-level elements in xsltDebugDumpExtensions
- Add extern "C" { } block to xsltlocale.h
- python: Make it compatible with python3.12
- date: Fix check for localtime_s
- date: Fix check for gmtime_s
- pkg-config files include cflags for static builds
- Handle NOCONFIG case when setting locations from CMake target properties
- autotools: Make xslt-config executable
- tests: Structured error handler now passes a const xmlError
- python: Fix tests on MinGW
- fuzz: Fix xmlFuzzEntityLoader after recent libxml2 changes

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 48b353f3fb8e5ab1853cba7faa3065d2fe6f36b4)
Signed-off-by: Steve Sakoman 
---
 .../libxslt/{libxslt_1.1.38.bb => libxslt_1.1.39.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libxslt/{libxslt_1.1.38.bb => libxslt_1.1.39.bb} 
(95%)

diff --git a/meta/recipes-support/libxslt/libxslt_1.1.38.bb 
b/meta/recipes-support/libxslt/libxslt_1.1.39.bb
similarity index 95%
rename from meta/recipes-support/libxslt/libxslt_1.1.38.bb
rename to meta/recipes-support/libxslt/libxslt_1.1.39.bb
index ed5b15badd..2cc0c84bec 100644
--- a/meta/recipes-support/libxslt/libxslt_1.1.38.bb
+++ b/meta/recipes-support/libxslt/libxslt_1.1.39.bb
@@ -15,7 +15,7 @@ DEPENDS = "libxml2"
 
 SRC_URI = "https://download.gnome.org/sources/libxslt/1.1/libxslt-${PV}.tar.xz;
 
-SRC_URI[sha256sum] = 
"1f32450425819a09acaff2ab7a5a7f8a2ec7956e505d7beeb45e843d0e1ecab1"
+SRC_URI[sha256sum] = 
"2a20ad621148339b0759c4d4e96719362dee64c9a096dbba625ba053846349f0"
 
 UPSTREAM_CHECK_REGEX = "libxslt-(?P\d+(\.\d+)+)\.tar"
 
-- 
2.34.1


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



[OE-core][nanbield 19/41] libgcrypt: upgrade 1.10.2 -> 1.10.3

2023-12-29 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
==
- Fix public key computation for other EdDSA curves.
- Remove out of core handler diagnostic in FIPS mode.
- Check that the digest size is not zero in gcry_pk_sign_md and
  gcry_pk_verify_md.
- Make store an s-exp with \0 is considered to be binary.
- Various constant-time improvements.
- Use getrandom call only when supported by the platform.
- Change the default for --with-libtool-modification to never.

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit e21583896116cf37bf6b95aea466854e4fd5e54b)
Signed-off-by: Steve Sakoman 
---
 .../libgcrypt/{libgcrypt_1.10.2.bb => libgcrypt_1.10.3.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libgcrypt/{libgcrypt_1.10.2.bb => 
libgcrypt_1.10.3.bb} (96%)

diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb 
b/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
similarity index 96%
rename from meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb
rename to meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
index 524b06ca22..1c4f4d6038 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt_1.10.2.bb
+++ b/meta/recipes-support/libgcrypt/libgcrypt_1.10.3.bb
@@ -27,7 +27,7 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \
file://no-bench-slope.patch \
file://run-ptest \
"
-SRC_URI[sha256sum] = 
"3b9c02a004b68c256add99701de00b383af37177e0d6c58289664cce0c03"
+SRC_URI[sha256sum] = 
"8b0870897ac5ac67ded568dcfadf45969cfa8a6beb0fd60af2a9eadc2a3272aa"
 
 CVE_STATUS[CVE-2018-12433] = "disputed: CVE is disputed and not affecting 
crypto libraries for any distro."
 CVE_STATUS[CVE-2018-12438] = "disputed: CVE is disputed and not affecting 
crypto libraries for any distro."
-- 
2.34.1


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



[OE-core][nanbield 17/41] bind: upgrade 9.18.19 -> 9.18.20

2023-12-29 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:

-Fix missing newlines in the output of "rndc nta -dump".
-Take into account local authoritative zones when falling back to serve-stale.
-Fix assertion failure when using lock-file configuration option together -X
 argument to named.
-The 'lock-file' file was being removed when it shouldn't have been making it
 ineffective if named was started 3 or more times.
-Fix a shutdown race in dns__catz_update_cb().
-B.ROOT-SERVERS.NET addresses are now 170.247.170.2 and 2801:1b8:10::b.
-The timeouts for resending zone refresh queries over UDP were lowered to enable
 named to more quickly determine that a primary is down.
-Don't schedule resign operations on the raw version of an inline-signing zone.
-Fix a possible assertion failure on an error path in resolver.c:fctx_query(),
 when using an uninitialized link.
-Add semantic patch to do an explicit cast from char to unsigned char in ctype.h
 class of functions.
-Python system tests have to be executed by invoking pytest directly. Executing
 them with the legacy test runner is no longer supported.
-The wrong covered value was being set by dns_ncache_current for RRSIG records
 in the returned rdataset structure. This resulted in TYPE0 being reported as
 the covered value of the RRSIG when dumping the cache contents.

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 9b34124561d926d9273c52163853161515e5666a)
Signed-off-by: Steve Sakoman 
---
 .../bind/{bind_9.18.19.bb => bind_9.18.20.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-connectivity/bind/{bind_9.18.19.bb => bind_9.18.20.bb} 
(97%)

diff --git a/meta/recipes-connectivity/bind/bind_9.18.19.bb 
b/meta/recipes-connectivity/bind/bind_9.18.20.bb
similarity index 97%
rename from meta/recipes-connectivity/bind/bind_9.18.19.bb
rename to meta/recipes-connectivity/bind/bind_9.18.20.bb
index 8124c5c591..187685eef5 100644
--- a/meta/recipes-connectivity/bind/bind_9.18.19.bb
+++ b/meta/recipes-connectivity/bind/bind_9.18.20.bb
@@ -20,7 +20,7 @@ SRC_URI = 
"https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
file://0001-avoid-start-failure-with-bind-user.patch \
"
 
-SRC_URI[sha256sum] = 
"115e09c05439bebade1d272eda08fa88eb3b60129edef690588c87a4d27612cc"
+SRC_URI[sha256sum] = 
"4b891ebf58d3f2a7ac3dd2682990f528a3448eaa1c992ddc5c141b8587a98ec5"
 
 UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/;
 # follow the ESV versions divisible by 2
-- 
2.34.1


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



[OE-core][nanbield 16/41] gstreamer1.0: upgrade 1.22.6 -> 1.22.7

2023-12-29 Thread Steve Sakoman
From: Anuj Mittal 

This release only contains bugfixes and security fixes.  For details:

https://gstreamer.freedesktop.org/releases/1.22/#1.22.8

Signed-off-by: Anuj Mittal 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit f6be55ef1e862d93d8275fb5792e6c66b0a0beee)
Signed-off-by: Steve Sakoman 
---
 .../{gst-devtools_1.22.6.bb => gst-devtools_1.22.7.bb}  | 2 +-
 ...streamer1.0-libav_1.22.6.bb => gstreamer1.0-libav_1.22.7.bb} | 2 +-
 .../{gstreamer1.0-omx_1.22.6.bb => gstreamer1.0-omx_1.22.7.bb}  | 2 +-
 ...plugins-bad_1.22.6.bb => gstreamer1.0-plugins-bad_1.22.7.bb} | 2 +-
 ...ugins-base_1.22.6.bb => gstreamer1.0-plugins-base_1.22.7.bb} | 2 +-
 ...ugins-good_1.22.6.bb => gstreamer1.0-plugins-good_1.22.7.bb} | 2 +-
 ...ugins-ugly_1.22.6.bb => gstreamer1.0-plugins-ugly_1.22.7.bb} | 2 +-
 ...reamer1.0-python_1.22.6.bb => gstreamer1.0-python_1.22.7.bb} | 2 +-
 ...rtsp-server_1.22.6.bb => gstreamer1.0-rtsp-server_1.22.7.bb} | 2 +-
 ...streamer1.0-vaapi_1.22.6.bb => gstreamer1.0-vaapi_1.22.7.bb} | 2 +-
 .../{gstreamer1.0_1.22.6.bb => gstreamer1.0_1.22.7.bb}  | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.22.6.bb => 
gst-devtools_1.22.7.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.22.6.bb => 
gstreamer1.0-libav_1.22.7.bb} (91%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.22.6.bb => 
gstreamer1.0-omx_1.22.7.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.22.6.bb 
=> gstreamer1.0-plugins-bad_1.22.7.bb} (98%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.22.6.bb 
=> gstreamer1.0-plugins-base_1.22.7.bb} (98%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.22.6.bb 
=> gstreamer1.0-plugins-good_1.22.7.bb} (97%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.22.6.bb 
=> gstreamer1.0-plugins-ugly_1.22.7.bb} (94%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.22.6.bb => 
gstreamer1.0-python_1.22.7.bb} (91%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.22.6.bb 
=> gstreamer1.0-rtsp-server_1.22.7.bb} (90%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.22.6.bb => 
gstreamer1.0-vaapi_1.22.7.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.22.6.bb => 
gstreamer1.0_1.22.7.bb} (97%)

diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.6.bb 
b/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.7.bb
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gst-devtools_1.22.6.bb
rename to meta/recipes-multimedia/gstreamer/gst-devtools_1.22.7.bb
index 90bbd9c733..b545f020cf 100644
--- a/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.6.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.7.bb
@@ -12,7 +12,7 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}
file://0001-connect-has-a-different-signature-on-musl.patch \
"
 
-SRC_URI[sha256sum] = 
"8928560efaf16137c30285e718708e5d0bab0777eb4ef8127e0274e120d3d86b"
+SRC_URI[sha256sum] = 
"157cf93fb2741cf0c3dea731be3af2ffae703c9f2cd3c0c91b380fbc685eb9f9"
 
 DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 
gstreamer1.0-plugins-base"
 RRECOMMENDS:${PN} = "git"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.6.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.7.bb
similarity index 91%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.6.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.7.bb
index 8906556b44..7169223636 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.6.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.7.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \
 "
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz;
-SRC_URI[sha256sum] = 
"7789e6408388a25f23cbf948cfc5c6230d735bbcd8b7f37f4a01c9e348a1e3a7"
+SRC_URI[sha256sum] = 
"1525b917141b895fe5cf618fe8867622b2528278a0286e9f727b5f37317daca1"
 
 S = "${WORKDIR}/gst-libav-${PV}"
 
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.6.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.7.bb
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.6.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.7.bb
index 2579aa3d66..ad40cf5513 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.6.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.7.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz;
 
-SRC_URI[sha256sum] = 

[OE-core][nanbield 15/41] libsolv: upgrade 0.7.25 -> 0.7.26

2023-12-29 Thread Steve Sakoman
From: Wang Mingyu 

Version 0.7.26
- selected bug fixes:
  * fix evr roundtrip in testcases
  * do not use deprecated headerUnload with newer rpm versions

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit abd47f16a4ef8a50af4287795969832d1391d8d2)
Signed-off-by: Steve Sakoman 
---
 .../libsolv/{libsolv_0.7.25.bb => libsolv_0.7.26.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/libsolv/{libsolv_0.7.25.bb => libsolv_0.7.26.bb} 
(95%)

diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.25.bb 
b/meta/recipes-extended/libsolv/libsolv_0.7.26.bb
similarity index 95%
rename from meta/recipes-extended/libsolv/libsolv_0.7.25.bb
rename to meta/recipes-extended/libsolv/libsolv_0.7.26.bb
index 69cb3f7996..bae7960138 100644
--- a/meta/recipes-extended/libsolv/libsolv_0.7.25.bb
+++ b/meta/recipes-extended/libsolv/libsolv_0.7.26.bb
@@ -12,7 +12,7 @@ SRC_URI = 
"git://github.com/openSUSE/libsolv.git;branch=master;protocol=https \
file://0001-utils-Conside-musl-when-wrapping-qsort_r.patch \
 "
 
-SRCREV = "f1be8bf3dcc7dc14d331adbc97f337fa08e641c9"
+SRCREV = "48c985375134d2443eee551613161cadc278af2f"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"
 
-- 
2.34.1


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



[OE-core][nanbield 14/41] linux-yocto/6.5: fix AB-INT: QEMU kernel panic: No irq handler for vector

2023-12-29 Thread Steve Sakoman
From: Bruce Ashfield 

Integrating the following commit(s) to linux-yocto/6.5:

1/2 [
Author: Thomas Gleixner
Email: t...@linutronix.de
Subject: x86/alternatives: Sync core before enabling interrupts
Date: Thu, 7 Dec 2023 20:49:24 +0100

text_poke_early() does:

   local_irq_save(flags);
   memcpy(addr, opcode, len);
   local_irq_restore(flags);
   sync_core();

That's not really correct because the synchronization should happen before
interrupts are reenabled to ensure that a pending interrupt observes the
complete update of the opcodes.

It's not entirely clear whether the interrupt entry provides enough
serialization already, but moving the sync_core() invocation into interrupt
disabled region does no harm and is obviously correct.

Signed-off-by: Thomas Gleixner 
Signed-off-by: Bruce Ashfield 
]

2/2 [
Author: Thomas Gleixner
Email: t...@linutronix.de
Subject: x86/alternatives: Disable interrupts and sync when optimizing NOPs 
in place
Date: Thu, 7 Dec 2023 20:49:26 +0100

apply_alternatives() treats alternatives with the ALT_FLAG_NOT flag set
special as it optimizes the existing NOPs in place.

Unfortunately this happens with interrupts enabled and does not provide any
form of core synchronization.

So an interrupt hitting in the middle of the update and using the affected
code path will observe a half updated NOP and crash and burn. The following
3 NOP sequence was observed to expose this crash halfways reliably under
QEMU 32bit:

   0x90 0x90 0x90

which is replaced by the optimized 3 byte NOP:

   0x8d 0x76 0x00

So an interrupt can observe:

   1) 0x90 0x90 0x90nop nop nop
   2) 0x8d 0x90 0x90undefined
   3) 0x8d 0x76 0x90lea-0x70(%esi),%esi
   4) 0x8d 0x76 0x00lea 0x0(%esi),%esi

Where only #1 and #4 are true NOPs. The same problem exists for 64bit 
obviously.

Disable interrupts around this NOP optimization and invoke sync_core()
before reenabling them.

Fixes: 270a69c4485d ("x86/alternative: Support relocations in alternatives")
Reported-by: Paul Gortmaker 
Signed-off-by: Thomas Gleixner 
Cc: sta...@vger.kernel.org
Signed-off-by: Bruce Ashfield 
]

Signed-off-by: Bruce Ashfield 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 1c8d29ab6b02c5b783429db3b67583deb1637142)
Signed-off-by: Steve Sakoman 
---
 .../linux/linux-yocto-rt_6.5.bb   |  2 +-
 .../linux/linux-yocto-tiny_6.5.bb |  2 +-
 meta/recipes-kernel/linux/linux-yocto_6.5.bb  | 22 +--
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
index fccf0252d0..0120b9ba63 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
@@ -14,7 +14,7 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "1d89cd73350cad73ecf330ad3785e6d8bdec092d"
+SRCREV_machine ?= "3ad8578bcc3186cde9b35de8c56afc0cba68bc55"
 SRCREV_meta ?= "3b1f87ec237ec3ad9acffb3d75c55efe958085dc"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
index b63d5ad893..cc24e3d346 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
@@ -17,7 +17,7 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "95753fe2a7d507646224fe973e2a4fc48cb7694d"
+SRCREV_machine ?= "fc3138c70652b48a0bf3620fd7aa861fa1f14e27"
 SRCREV_meta ?= "3b1f87ec237ec3ad9acffb3d75c55efe958085dc"
 
 PV = "${LINUX_VERSION}+git"
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.5.bb
index 984940d24c..e7abc9784a 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.5.bb
@@ -18,17 +18,17 @@ KBRANCH:qemux86-64 ?= "v6.5/standard/base"
 KBRANCH:qemuloongarch64  ?= "v6.5/standard/base"
 KBRANCH:qemumips64 ?= "v6.5/standard/mti-malta64"
 
-SRCREV_machine:qemuarm ?= "3fdf15eaa1db1b6fd1de804d03c6b4a10c2c3f4b"
-SRCREV_machine:qemuarm64 ?= "70210986a1c554098fb6f75f6cd10ab85171506a"
-SRCREV_machine:qemuloongarch64 ?= "7fe59b2e3f40a94ce4477854264e219aeb972990"
-SRCREV_machine:qemumips ?= "338cee0966e9ea856a696df0a9f5432f74b06270"
-SRCREV_machine:qemuppc ?= "2fbe7b92bda7afe7aca6e58b0ac124f2a26737ee"
-SRCREV_machine:qemuriscv64 ?= "7fe59b2e3f40a94ce4477854264e219aeb972990"
-SRCREV_machine:qemuriscv32 ?= "7fe59b2e3f40a94ce4477854264e219aeb972990"

[OE-core][nanbield 12/41] linux/cve-exclusion6.1: Update to latest kernel point release

2023-12-29 Thread Steve Sakoman
From: Richard Purdie 

Signed-off-by: Richard Purdie 
(cherry picked from commit c4ffd18d3e71b935acc050b106267db544d86df7)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/linux/cve-exclusion_6.1.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
index bf23742d70..1b51737c7d 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2023-12-18 14:15:17.069657+00:00 for version 6.1.65
+# Generated at 2023-12-23 08:44:42.304531+00:00 for version 6.1.68
 
 python check_kernel_cve_status_version() {
-this_version = "6.1.65"
+this_version = "6.1.68"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
-- 
2.34.1


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



[OE-core][nanbield 13/41] linux-yocto/6.5: drop removed IMA option

2023-12-29 Thread Steve Sakoman
From: Bruce Ashfield 

Integrating the following commit(s) to linux-yocto/.:

1/1 [
Author: Paul Gortmaker
Email: paul.gortma...@windriver.com
Subject: features/ima: drop now retired IMA_TRUSTED_KEYRING option
Date: Wed, 6 Dec 2023 09:15:38 -0500

Unfortunately linux-stable backported this:

  Subject: ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig

  From: Nayna Jain 

  [ Upstream commit 5087fd9e80e539d2163accd045b73da64de7de95 ]

  Time to remove "IMA_TRUSTED_KEYRING".

...to all releases still being maintained.

stable-queue$git grep -l 5087fd9e80e539
releases/5.10.195/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/5.15.132/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/5.4.257/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/6.1.53/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/6.4.16/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/6.5.3/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch

So now when someone uses the feature, it triggers a do_kernel_configcheck
warning when the audit runs.

We added this file way back in 2019 so this fix will be needed on all
active branches that are using an LTS linux-stable kernel listed above.

Signed-off-by: Paul Gortmaker 
Signed-off-by: Bruce Ashfield 
]

Signed-off-by: Bruce Ashfield 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit d575b2822c1779077177deb177bafa94ab975bfc)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_6.5.bb  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
index 62020312f8..fccf0252d0 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
@@ -15,7 +15,7 @@ python () {
 }
 
 SRCREV_machine ?= "1d89cd73350cad73ecf330ad3785e6d8bdec092d"
-SRCREV_meta ?= "867a6bdef9701f378f5a9ce66a713daa22598649"
+SRCREV_meta ?= "3b1f87ec237ec3ad9acffb3d75c55efe958085dc"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.5;destsuffix=${KMETA};protocol=https"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
index f57bc47b37..b63d5ad893 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
@@ -18,7 +18,7 @@ KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine ?= "95753fe2a7d507646224fe973e2a4fc48cb7694d"
-SRCREV_meta ?= "867a6bdef9701f378f5a9ce66a713daa22598649"
+SRCREV_meta ?= "3b1f87ec237ec3ad9acffb3d75c55efe958085dc"
 
 PV = "${LINUX_VERSION}+git"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.5.bb
index 1233140f8e..984940d24c 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.5.bb
@@ -29,7 +29,7 @@ SRCREV_machine:qemux86 ?= 
"7fe59b2e3f40a94ce4477854264e219aeb972990"
 SRCREV_machine:qemux86-64 ?= "7fe59b2e3f40a94ce4477854264e219aeb972990"
 SRCREV_machine:qemumips64 ?= "ff5efc72e961cf345f935ac14cdcaa9843ec5b23"
 SRCREV_machine ?= "7fe59b2e3f40a94ce4477854264e219aeb972990"
-SRCREV_meta ?= "867a6bdef9701f378f5a9ce66a713daa22598649"
+SRCREV_meta ?= "3b1f87ec237ec3ad9acffb3d75c55efe958085dc"
 
 # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and 
you'll
 # get the /base branch, which is pure upstream -stable, and the same
-- 
2.34.1


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



[OE-core][nanbield 11/41] linux-yocto/6.1: update to v6.1.68

2023-12-29 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

ba6f5fb46511 Linux 6.1.68
f38b4e99e24c drm/i915: Skip some timing checks on BXT/GLK DSI transcoders
d9ef7b05ccd7 drm/i915/sdvo: stop caching has_hdmi_monitor in struct 
intel_sdvo
cf70d62ace90 drm/i915/lvds: Use REG_BIT() & co.
e6d55cf49399 drm/i915/display: Drop check for doublescan mode in modevalid
9c322aaf28e8 riscv: Kconfig: Add select ARM_AMBA to SOC_STARFIVE
189c2a82933c netfilter: nft_set_pipapo: skip inactive elements during set 
walk
b4e440cf600e MIPS: Loongson64: Enable DMA noncoherent support
d52a5178cbdc MIPS: Loongson64: Handle more memory types passed from firmware
8d18a0158546 MIPS: Loongson64: Reserve vgabios memory on boot
2b9b2d28a92a KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
6d6314c3dbac KVM: s390/mm: Properly reset no-dat
be297475cabc MIPS: kernel: Clear FPU states when setting up kernel threads
358bd5f436d8 cifs: Fix flushing, invalidation and file size with FICLONE
18b02e4343e8 cifs: Fix flushing, invalidation and file size with 
copy_file_range()
69540c108d72 USB: gadget: core: adjust uevent timing on gadget unbind
2467f4f8cb7c x86/CPU/AMD: Check vendor in the AMD microcode callback
0553d5290879 devcoredump: Send uevent once devcd is ready
74799b43d856 serial: 8250_omap: Add earlycon support for the AM654 UART 
controller
d59dafa9eb12 serial: 8250: 8250_omap: Do not start RX DMA on THRI interrupt
638a6cbacefd serial: 8250: 8250_omap: Clear UART_HAS_RHR_IT_DIS bit
f434703fb893 serial: sc16is7xx: address RX timeout interrupt errata
a8027753ab65 ARM: PL011: Fix DMA support
c909ce57d055 usb: typec: class: fix typec_altmode_put_partner to put plugs
b12ccef70545 smb: client: fix potential NULL deref in parse_dfs_referrals()
f48430635b5e Revert "xhci: Loosen RPM as default policy to cover for AMD 
xHC 1.1"
9ce109b74875 cifs: Fix non-availability of dedup breaking generic/304
8e25331ea560 parport: Add support for Brainboxes IX/UC/PX parallel cards
bee9affd37b9 serial: 8250_dw: Add ACPI ID for Granite Rapids-D UART
16da1f84f5ef usb: gadget: f_hid: fix report descriptor allocation
c8bf22e0d049 drm/amdgpu: Update EEPROM I2C address for smu v13_0_0
87509778718c drm/amdgpu: Add I2C EEPROM support on smu v13_0_6
4ccb34d4313b drm/amdgpu: simplify amdgpu_ras_eeprom.c
af6b1f1156fc drm/amdgpu: Return from switch early for EEPROM I2C address
a3049c9a3013 drm/amdgpu: Remove second moot switch to set EEPROM I2C address
30289057ef8f drm/amdgpu: Add support for RAS table at 0x4
c67c553b4dd9 drm/amdgpu: Decouple RAS EEPROM addresses from chips
ee9efcdc76af drm/amdgpu: Remove redundant I2C EEPROM address
a945568638ac drm/amdgpu: Add EEPROM I2C address support for ip discovery
f549f837b9ac drm/amdgpu: Update ras eeprom support for smu v13_0_0 and 
v13_0_10
458affed0619 drm/amdgpu: correct the amdgpu runtime dereference usage count
41c5dd545e76 drm/amd/amdgpu: Fix warnings in amdgpu/amdgpu_display.c
613eaee4459d drm/amdgpu: fix memory overflow in the IB test
1705927a1073 gpiolib: sysfs: Fix error handling on failed export
4b716fcacd2a x86/sev: Fix kernel crash due to late update to read-only 
ghcb_version
06dec254c59a perf: Fix perf_event_validate_size()
b0c195a825d4 arm64: dts: mt8183: kukui: Fix underscores in node names
8a3d746c7ec5 arm64: dts: mediatek: add missing space before {
5656634ce01e parisc: Fix asm operand number out of range build error in bug 
table
f9e9e156dbbb parisc: Reduce size of the bug_table on 64-bit kernel by half
8479f5ca8b6c tracing: Stop current tracer when resizing buffer
df4aa7e84d00 tracing: Set actual size after ring buffer resize
07ad456e1c02 ring-buffer: Force absolute timestamp on discard of event
40421e0cf34e LoongArch: BPF: Don't sign extend function return value
ebb09d58dfe7 LoongArch: BPF: Don't sign extend memory load operand
066dcd87b94c misc: mei: client.c: fix problem of return '-EOVERFLOW' in 
mei_cl_write
d78789ba2195 misc: mei: client.c: return negative error code in mei_cl_write
672976c28e1b hwtracing: hisi_ptt: Add dummy callback pmu::read()
0b80e6af0d90 coresight: etm4x: Remove bogous __exit annotation for some 
functions
766b29f6141a coresight: etm4x: Make etm4_remove_dev() return void
920f84a6e8e9 binder: fix memory leaks of spam and pending work
18847b6bba36 arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg 
warning on ntc
c428285eab3c arm64: dts: mediatek: mt8183: Move thermal-zones to the root 
node
bdd7508661fc arm64: dts: mediatek: mt8183: Fix unit address for scp 
reserved memory
66398d18565d arm64: dts: mediatek: mt8195: Fix PM suspend/resume with venc 
clocks
e1d4f02a68d3 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node 
names
ff566a8d765f 

[OE-core][nanbield 10/41] linux-yocto/6.1: update to v6.1.67

2023-12-29 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

e7cddbb41b63 Linux 6.1.67
db46c77f3d51 Revert "wifi: cfg80211: fix CQM for non-range use"

Signed-off-by: Bruce Ashfield 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit a80b32127dccd35ed7ed129e28231229afdaa53b)
Signed-off-by: Steve Sakoman 
---
 .../linux/linux-yocto-rt_6.1.bb   |  6 ++--
 .../linux/linux-yocto-tiny_6.1.bb |  6 ++--
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 28 +--
 3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
index 54f7f4efef..93fc6a73e9 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
@@ -14,13 +14,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "97d59da1d2d5a9ace6b4e7695b1eabbcd6197c4c"
-SRCREV_meta ?= "211dccdc1a71cd953c83f88a025adfa6b5c58ad4"
+SRCREV_machine ?= "40d218ec6d26f4d8de1481ef665e7eafb18f45aa"
+SRCREV_meta ?= "b1742128ddec29743c5f9d5c031a5770ece2b1b6"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.1;destsuffix=${KMETA};protocol=https"
 
-LINUX_VERSION ?= "6.1.66"
+LINUX_VERSION ?= "6.1.67"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
index 3e025e6726..e3d3671a32 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
@@ -8,7 +8,7 @@ require recipes-kernel/linux/linux-yocto.inc
 # CVE exclusions
 include recipes-kernel/linux/cve-exclusion_6.1.inc
 
-LINUX_VERSION ?= "6.1.66"
+LINUX_VERSION ?= "6.1.67"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -17,8 +17,8 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_meta ?= "211dccdc1a71cd953c83f88a025adfa6b5c58ad4"
+SRCREV_machine ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_meta ?= "b1742128ddec29743c5f9d5c031a5770ece2b1b6"
 
 PV = "${LINUX_VERSION}+git"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
index 18beb3c3a1..3380604229 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
@@ -18,25 +18,25 @@ KBRANCH:qemux86-64 ?= "v6.1/standard/base"
 KBRANCH:qemuloongarch64  ?= "v6.1/standard/base"
 KBRANCH:qemumips64 ?= "v6.1/standard/mti-malta64"
 
-SRCREV_machine:qemuarm ?= "7f7eb326b47065b720ad4c760b77d52021336f95"
-SRCREV_machine:qemuarm64 ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_machine:qemuloongarch64 ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_machine:qemumips ?= "638a98e4a2146f79a588b125d74addaae42f75a2"
-SRCREV_machine:qemuppc ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_machine:qemuriscv64 ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_machine:qemuriscv32 ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_machine:qemux86 ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_machine:qemux86-64 ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_machine:qemumips64 ?= "d39acda588fe786b00969ade6eef057d86386578"
-SRCREV_machine ?= "504b0b3be8465541ffb1c9a896d32841459efa0f"
-SRCREV_meta ?= "211dccdc1a71cd953c83f88a025adfa6b5c58ad4"
+SRCREV_machine:qemuarm ?= "6b4fd468de656727bb53d6faf7634157a3f80d4b"
+SRCREV_machine:qemuarm64 ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_machine:qemuloongarch64 ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_machine:qemumips ?= "09c54782be2fdab1a62e547504c28f57160b81fd"
+SRCREV_machine:qemuppc ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_machine:qemuriscv64 ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_machine:qemuriscv32 ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_machine:qemux86 ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_machine:qemux86-64 ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_machine:qemumips64 ?= "a4b4e1d2daa47b400beb16e7f4aa0e7b650d8649"
+SRCREV_machine ?= "5b9711b24429c3543018411369d7086839169481"
+SRCREV_meta ?= "b1742128ddec29743c5f9d5c031a5770ece2b1b6"
 
 # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and 
you'll
 # get the /base branch, which is pure upstream -stable, and the same
 # meta SRCREV as the linux-yocto-standard builds. Select your version using the
 

[OE-core][nanbield 09/41] linux-yocto/6.1: update to v6.1.66

2023-12-29 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

6c6a6c7e211c Linux 6.1.66
ea574927fc0b iomap: update ki_pos a little later in iomap_dio_complete
adf0ecebf00a x86/apic/msi: Fix misconfigured non-maskable MSI quirk
b3b839fb636b x86/xen: fix percpu vcpu_info allocation
00bc8b2cf44c xen: simplify evtchn_do_upcall() call maze
9311a0ff388a xen: Allow platform PCI interrupt to be shared
402b8323461c r8169: fix deadlock on RTL8125 in jumbo mtu mode
22ee0ddb2af7 r8169: disable ASPM in case of tx timeout
10ce6301009f drm/amd/display: Fix MPCC 1DLUT programming
8332cb6c6339 drm/amd/display: Fix the delta clamping for shaper LUT
442a4d4d0157 drm/amd/display: clean code-style issues in 
dcn30_set_mpc_shaper_3dlut
6cd736272165 drm/amd/display: Expand kernel doc for DC
8b01195be4a9 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card 
was pulled
38d3216032c9 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
0e0a95166882 drm/amd/pm: fix a memleak in aldebaran_tables_init
59862b869275 iommu/vt-d: Make context clearing consistent with context 
mapping
ee2c2247690c iommu/vt-d: Disable PCI ATS in legacy passthrough mode
8f39d297a26a iommu/vt-d: Add device_block_translation() helper
3787b3168b6c iommu/vt-d: Allocate pasid table in device probe path
681aeeda413d iommu/vt-d: Omit devTLB invalidation requests when TES=0
8aaed5b81d26 cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
d3788f6e9d5a cpufreq: imx6q: don't warn for disabling a non-existing 
frequency
195514bda626 drm/amd/display: Guard against invalid RPTR/WPTR being set
395a63ca1ad2 drm/amd/display: Restore rptr/wptr for DMCUB as workaround
4ec4508db975 spi: Fix null dereference on suspend
b57eebfb80e8 fbdev: stifb: Make the STI next font pointer a 32-bit signed 
offset
5bc8d96fedce PCI: qcom-ep: Add dedicated callback for writing to DBI2 
registers
10c3d86fea04 octeontx2-af: Initialize 'cntr_val' to fix uninitialized 
symbol error
1c8f75ee9233 PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e 
card
7545ddda9c98 KVM: x86: Fix lapic timer interrupt lost after loading a 
snapshot.
21feaf558f93 net: ravb: Keep reverse order of operations in ravb_remove()
8d04278ff48b net: ravb: Stop DMA in case of failures on ravb_open()
52b751686cbf net: ravb: Start TX queues after HW initialization succeeded
e2db25d16cdd net: ravb: Make write access to CXR35 first before accessing 
other EMAC registers
f5c649ce7975 net: ravb: Use pm_runtime_resume_and_get()
149b2fe12aca net: ravb: Check return value of reset_control_deassert()
7ed2e4c2d016 ravb: Fix races between ravb_tx_timeout_work() and net related 
ops
8b1d088be5f1 r8169: prevent potential deadlock in rtl8169_close
9c4ac2d98a48 octeontx2-pf: Restore TC ingress police rules when interface 
is up
aef2d5b3e56e octeontx2-af: Install TC filter rules in hardware based on 
priority
662b88708408 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 
64
5d5bcfb1ca8d net: stmmac: xgmac: Disable FPE MMC interrupts
334e6378c28c octeontx2-af: Fix possible buffer overflow
c3e974e9c4bb selftests/net: mptcp: fix uninitialized variable warnings
12dd4c1bf3bd selftests/net: unix: fix unused variable compiler warning
4e999af7cf8a selftests/net: fix a char signedness issue
249ceee95caf selftests/net: ipsec: fix constant out of range
e01249a83939 uapi: propagate __struct_group() attributes to the container 
union
fd91b48f108d dpaa2-eth: increase the needed headroom to account for 
alignment
94445d958307 ipv4: igmp: fix refcnt uaf issue when receiving igmp query 
packet
f89fef7710b2 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
9aff7c51b440 USB: core: Change configuration warnings to notices
c89b34eef336 USB: xhci-plat: fix legacy PHY double init
307a6525c82a wifi: cfg80211: fix CQM for non-range use
e8c1105c0ccc serial: sc16is7xx: add missing support for rs485 devicetree 
properties
55061c323075 serial: sc16is7xx: Put IOControl register into regmap_volatile
a491c7be35ed auxdisplay: hd44780: move cursor home after clear display 
command
7f2116777541 Input: xpad - add HyperX Clutch Gladiate Support
7a105de27538 btrfs: fix 64bit compat send ioctl arguments not initializing 
version member
32912ee86931 btrfs: make error messages more clear when getting a chunk map
4fc9c61c02c0 btrfs: send: ensure send_fd is writable
86742a963fe6 btrfs: fix off-by-one when checking chunk map includes logical 
address
9fe447c485ed btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod()
3f26d9b257ad btrfs: add dmesg output for first mount and last unmount of a 
filesystem
0ad7d59e7901 parisc: Mark altinstructions read-only and 32-bit aligned
cf2ae6494d1f parisc: Ensure 32-bit alignment on parisc 

[OE-core][nanbield 08/41] linux-yocto-rt/6.1: update to -rt18

2023-12-29 Thread Steve Sakoman
From: Bruce Ashfield 

Integrating the following commit(s) to linux-yocto-rt/6.1:

1/17 [
Author: Tvrtko Ursulin
Email: tvrtko.ursu...@intel.com
Subject: drm/i915: Do not disable preemption for resets
Date: Fri, 18 Aug 2023 22:45:25 -0400

[commit 40cd2835ced288789a685aa4aa7bc04b492dcd45 in linux-rt-devel]

Commit ade8a0f59844 ("drm/i915: Make all GPU resets atomic") added a
preempt disable section over the hardware reset callback to prepare the
driver for being able to reset from atomic contexts.

In retrospect I can see that the work item at a time was about removing
the struct mutex from the reset path. Code base also briefly entertained
the idea of doing the reset under stop_machine in order to serialize
userspace mmap and temporary glitch in the fence registers (see
eb8d0f5af4ec ("drm/i915: Remove GPU reset dependence on struct_mutex"),
but that never materialized and was soon removed in 2caffbf11762
("drm/i915: Revoke mmaps and prevent access to fence registers across
reset") and replaced with a SRCU based solution.

As such, as far as I can see, today we still have a requirement that
resets must not sleep (invoked from submission tasklets), but no need to
support invoking them from a truly atomic context.

Given that the preemption section is problematic on RT kernels, since the
uncore lock becomes a sleeping lock and so is invalid in such section,
lets try and remove it. Potential downside is that our short waits on GPU
to complete the reset may get extended if CPU scheduling interferes, but
in practice that probably isn't a deal breaker.

In terms of mechanics, since the preemption disabled block is being
removed we just need to replace a few of the wait_for_atomic macros into
busy looping versions which will work (and not complain) when called from
non-atomic sections.

Signed-off-by: Tvrtko Ursulin 
Cc: Chris Wilson 
Cc: Paul Gortmaker 
Cc: Sebastian Andrzej Siewior 
Acked-by: Sebastian Andrzej Siewior 
Link: 
https://lore.kernel.org/r/20230705093025.3689748-1-tvrtko.ursu...@linux.intel.com
Signed-off-by: Sebastian Andrzej Siewior 
[PG: backport from v6.4-rt ; minor context fixup caused by b7d70b8b06ed]
Signed-off-by: Paul Gortmaker 
Signed-off-by: Clark Williams 
Signed-off-by: Bruce Ashfield 
]

2/17 [
Author: Clark Williams
Email: clrkwl...@kernel.org
Subject: 'Linux 6.1.33-rt11'
Date: Mon, 12 Jun 2023 10:40:02 -0500

Signed-off-by: Clark Williams 
Signed-off-by: Bruce Ashfield 
]

5/17 [
Author: Sebastian Andrzej Siewior
Email: bige...@linutronix.de
Subject: io-mapping: don't disable preempt on RT in 
io_mapping_map_atomic_wc().
Date: Fri, 10 Mar 2023 17:29:05 +0100

io_mapping_map_atomic_wc() disables preemption and pagefaults for
historical reasons.  The conversion to io_mapping_map_local_wc(), which
only disables migration, cannot be done wholesale because quite some call
sites need to be updated to accommodate with the changed semantics.

On PREEMPT_RT enabled kernels the io_mapping_map_atomic_wc() semantics are
problematic due to the implicit disabling of preemption which makes it
impossible to acquire 'sleeping' spinlocks within the mapped atomic
sections.

PREEMPT_RT replaces the preempt_disable() with a migrate_disable() for
more than a decade.  It could be argued that this is a justification to do
this unconditionally, but PREEMPT_RT covers only a limited number of
architectures and it disables some functionality which limits the coverage
further.

Limit the replacement to PREEMPT_RT for now.  This is also done
kmap_atomic().

Link: https://lkml.kernel.org/r/20230310162905.o57pj...@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior 
Reported-by: Richard Weinberger 
  Link: 
https://lore.kernel.org/caflxgvw0wmxamqyqj5wgvvsbkhq2d2xcxtogmcpgq9ndc-m...@mail.gmail.com
Cc: Thomas Gleixner 
Signed-off-by: Andrew Morton 
(cherry picked from commit 7eb16f23b9a415f062db22739e59bb144e0b24ab)
Signed-off-by: Clark Williams 
Signed-off-by: Bruce Ashfield 
]

6/17 [
Author: Sebastian Andrzej Siewior
Email: bige...@linutronix.de
Subject: locking/rwbase: Mitigate indefinite writer starvation
Date: Tue, 21 Mar 2023 17:11:40 +0100

On PREEMPT_RT, rw_semaphore and rwlock_t locks are unfair to writers.
Readers can indefinitely acquire the lock unless the writer fully acquired
the lock, which might never happen if there is always a reader in the
critical section owning the lock.

Mel Gorman reported that since LTP-20220121 the dio_truncate test case
went from having 1 reader to having 16 readers and that number of readers
is sufficient to prevent the down_write ever succeeding while readers
exist. Eventually the test is killed after 30 minutes as a failure.

Mel 

[OE-core][nanbield 07/41] linux-yocto/6.1: drop removed IMA option

2023-12-29 Thread Steve Sakoman
From: Bruce Ashfield 

Integrating the following commit(s) to linux-yocto/.:

1/1 [
Author: Paul Gortmaker
Email: paul.gortma...@windriver.com
Subject: features/ima: drop now retired IMA_TRUSTED_KEYRING option
Date: Wed, 6 Dec 2023 09:15:38 -0500

Unfortunately linux-stable backported this:

  Subject: ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig

  From: Nayna Jain 

  [ Upstream commit 5087fd9e80e539d2163accd045b73da64de7de95 ]

  Time to remove "IMA_TRUSTED_KEYRING".

...to all releases still being maintained.

stable-queue$git grep -l 5087fd9e80e539
releases/5.10.195/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/5.15.132/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/5.4.257/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/6.1.53/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/6.4.16/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch
releases/6.5.3/ima-remove-deprecated-ima_trusted_keyring-kconfig.patch

So now when someone uses the feature, it triggers a do_kernel_configcheck
warning when the audit runs.

We added this file way back in 2019 so this fix will be needed on all
active branches that are using an LTS linux-stable kernel listed above.

Signed-off-by: Paul Gortmaker 
Signed-off-by: Bruce Ashfield 
]

Signed-off-by: Bruce Ashfield 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit db11dfcd8304ded18fd21d7c4c2db50331402666)
Signed-off-by: Steve Sakoman 
---
 .../linux/linux-yocto-rt_6.1.bb   |  4 ++--
 .../linux/linux-yocto-tiny_6.1.bb |  4 ++--
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 24 +--
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
index 3d9a98b506..8d07058b71 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
@@ -14,8 +14,8 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "8987c29d0fc5680adf4f3ac89d6c8bd2bc279a53"
-SRCREV_meta ?= "77f0a9eba731b83da9273d1c0d6bb1c3afd9b129"
+SRCREV_machine ?= "2fc300ad2664d72a382351afaa02208e3bcec857"
+SRCREV_meta ?= "5f331d55d0900030f5bc9b139c815f3f01a8ffd4"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.1;destsuffix=${KMETA};protocol=https"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
index b966797d0b..c0871532df 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
@@ -17,8 +17,8 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_meta ?= "77f0a9eba731b83da9273d1c0d6bb1c3afd9b129"
+SRCREV_machine ?= "e083231c43f3773e5ca1f6d46411e1fda1081a6e"
+SRCREV_meta ?= "5f331d55d0900030f5bc9b139c815f3f01a8ffd4"
 
 PV = "${LINUX_VERSION}+git"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
index cf65afa922..6564731da9 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
@@ -18,18 +18,18 @@ KBRANCH:qemux86-64 ?= "v6.1/standard/base"
 KBRANCH:qemuloongarch64  ?= "v6.1/standard/base"
 KBRANCH:qemumips64 ?= "v6.1/standard/mti-malta64"
 
-SRCREV_machine:qemuarm ?= "c7612f5ac940578eac19971dcfa4f52f25753074"
-SRCREV_machine:qemuarm64 ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_machine:qemuloongarch64 ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_machine:qemumips ?= "61a56646314cdf030994524e9b04a89b79e0cb9b"
-SRCREV_machine:qemuppc ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_machine:qemuriscv64 ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_machine:qemuriscv32 ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_machine:qemux86 ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_machine:qemux86-64 ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_machine:qemumips64 ?= "8d25ce2c226b61b29e600dc6b4018afa354a6e67"
-SRCREV_machine ?= "5d4da9e99880f594ca07d0a68d80d6b830728dc8"
-SRCREV_meta ?= "77f0a9eba731b83da9273d1c0d6bb1c3afd9b129"
+SRCREV_machine:qemuarm ?= "b14dc32b21c8770b4e635ec69611aa32fff230b3"
+SRCREV_machine:qemuarm64 ?= "e083231c43f3773e5ca1f6d46411e1fda1081a6e"
+SRCREV_machine:qemuloongarch64 ?= "e083231c43f3773e5ca1f6d46411e1fda1081a6e"
+SRCREV_machine:qemumips ?= "072df281d6a919a505df072b4741d49145cf3781"
+SRCREV_machine:qemuppc ?= 

[OE-core][nanbield 05/41] rust: Fix CVE-2023-40030

2023-12-29 Thread Steve Sakoman
From: Deepthi Hemraj 

CVE:CVE-2023-40030

This converts the feature name validation check from a warning to an error

Upstream-Status: Backport from 
https://github.com/rust-lang/cargo/commit/9835622853f08be9a4b58ebe29dcec8f43b64b33

Reference: https://nvd.nist.gov/vuln/detail/CVE-2023-40030

Signed-off-by: Deepthi Hemraj 
Signed-off-by: Steve Sakoman 
---
 .../rust/files/0002-CVE-2023-40030.patch  | 412 ++
 meta/recipes-devtools/rust/rust-source.inc|   1 +
 2 files changed, 413 insertions(+)
 create mode 100644 meta/recipes-devtools/rust/files/0002-CVE-2023-40030.patch

diff --git a/meta/recipes-devtools/rust/files/0002-CVE-2023-40030.patch 
b/meta/recipes-devtools/rust/files/0002-CVE-2023-40030.patch
new file mode 100644
index 00..bf9b251226
--- /dev/null
+++ b/meta/recipes-devtools/rust/files/0002-CVE-2023-40030.patch
@@ -0,0 +1,412 @@
+Author: Eric Huss 
+Date:   Sun Jun 11 12:52:25 2023 -0700
+
+Convert valid feature name warning to an error.
+
+Upstream-Status: Backport 
[https://github.com/rust-lang/cargo/commit/9835622853f08be9a4b58ebe29dcec8f43b64b33]
+CVE: CVE-2023-40030
+Signed-off-by: Deepthi Hemraj 
+
+diff --git a/src/tools/cargo/crates/resolver-tests/src/lib.rs 
b/src/tools/cargo/crates/resolver-tests/src/lib.rs
+index 01d9b5e6d..ab34e8663 100644
+--- a/src/tools/cargo/crates/resolver-tests/src/lib.rs
 b/src/tools/cargo/crates/resolver-tests/src/lib.rs
+@@ -179,7 +179,6 @@ pub fn resolve_with_config_raw(
+ used: HashSet::new(),
+ };
+ let summary = Summary::new(
+-config,
+ pkg_id("root"),
+ deps,
+ ::new(),
+@@ -581,7 +580,6 @@ pub fn pkg_dep(name: T, dep: Vec) 
-> Summary {
+ None
+ };
+ Summary::new(
+-::default().unwrap(),
+ name.to_pkgid(),
+ dep,
+ ::new(),
+@@ -610,7 +608,6 @@ pub fn pkg_loc(name: , loc: ) -> Summary {
+ None
+ };
+ Summary::new(
+-::default().unwrap(),
+ pkg_id_loc(name, loc),
+ Vec::new(),
+ ::new(),
+@@ -625,7 +622,6 @@ pub fn remove_dep(sum: , ind: usize) -> Summary {
+ deps.remove(ind);
+ // note: more things will need to be copied over in the future, but it 
works for now.
+ Summary::new(
+-::default().unwrap(),
+ sum.package_id(),
+ deps,
+ ::new(),
+diff --git a/src/tools/cargo/src/cargo/core/resolver/version_prefs.rs 
b/src/tools/cargo/src/cargo/core/resolver/version_prefs.rs
+index 002f11ff8..bf26d0498 100644
+--- a/src/tools/cargo/src/cargo/core/resolver/version_prefs.rs
 b/src/tools/cargo/src/cargo/core/resolver/version_prefs.rs
+@@ -73,7 +73,6 @@ impl VersionPreferences {
+ mod test {
+ use super::*;
+ use crate::core::SourceId;
+-use crate::util::Config;
+ use std::collections::BTreeMap;
+
+ fn pkgid(name: , version: ) -> PackageId {
+@@ -90,9 +89,8 @@ mod test {
+
+ fn summ(name: , version: ) -> Summary {
+ let pkg_id = pkgid(name, version);
+-let config = Config::default().unwrap();
+ let features = BTreeMap::new();
+-Summary::new(, pkg_id, Vec::new(), , 
None::<>).unwrap()
++Summary::new(pkg_id, Vec::new(), , None::<>).unwrap()
+ }
+
+ fn describe(summaries: ) -> String {
+
+diff --git a/src/tools/cargo/src/cargo/core/summary.rs 
b/src/tools/cargo/src/cargo/core/summary.rs
+index 2535c4482..1883df33b 100644
+--- a/src/tools/cargo/src/cargo/core/summary.rs
 b/src/tools/cargo/src/cargo/core/summary.rs
+@@ -1,6 +1,6 @@
+ use crate::core::{Dependency, PackageId, SourceId};
+ use crate::util::interning::InternedString;
+-use crate::util::{CargoResult, Config};
++use crate::util::CargoResult;
+ use anyhow::bail;
+ use semver::Version;
+ use std::collections::{BTreeMap, HashMap, HashSet};
+@@ -30,7 +30,6 @@ struct Inner {
+ 
+ impl Summary {
+ pub fn new(
+-config: ,
+ pkg_id: PackageId,
+ dependencies: Vec,
+ features: >,
+@@ -49,7 +48,7 @@ impl Summary {
+ )
+ }
+ }
+-let feature_map = build_feature_map(config, pkg_id, features, 
)?;
++let feature_map = build_feature_map(pkg_id, features, )?;
+ Ok(Summary {
+ inner: Rc::new(Inner {
+ package_id: pkg_id,
+@@ -140,7 +139,6 @@ impl Hash for Summary {
+ /// Checks features for errors, bailing out a CargoResult:Err if invalid,
+ /// and creates FeatureValues for each feature.
+ fn build_feature_map(
+-config: ,
+ pkg_id: PackageId,
+ features: >,
+ dependencies: &[Dependency],
+@@ -204,7 +202,7 @@ fn build_feature_map(
+ feature
+ );
+ }
+-validate_feature_name(config, pkg_id, feature)?;
++validate_feature_name(pkg_id, feature)?;
+ for fv in fvs {
+ // Find data for the referenced dependency...
+ let dep_data = {
+@@ -431,33 +429,63 @@ impl fmt::Display for FeatureValue {
+ 
+ pub type 

[OE-core][nanbield 06/41] linux-yocto: update CVE exclusions

2023-12-29 Thread Steve Sakoman
From: Ross Burton 

Signed-off-by: Ross Burton 
Signed-off-by: Richard Purdie 
(cherry picked from commit 4cfc4187ac90a4504b93a01ff6333d14928728a8)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/linux/cve-exclusion_6.1.inc | 4 ++--
 meta/recipes-kernel/linux/cve-exclusion_6.5.inc | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
index 650b83a900..bf23742d70 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
@@ -1,6 +1,6 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2023-12-05 13:22:34.961692+00:00 for version 6.1.65
+# Generated at 2023-12-18 14:15:17.069657+00:00 for version 6.1.65
 
 python check_kernel_cve_status_version() {
 this_version = "6.1.65"
@@ -5126,7 +5126,7 @@ CVE_STATUS[CVE-2023-5633] = "fixed-version: only affects 
6.2 onwards"
 
 CVE_STATUS[CVE-2023-6111] = "fixed-version: only affects 6.6rc3 onwards"
 
-# CVE-2023-6121 needs backporting (fixed from 6.7rc3)
+CVE_STATUS[CVE-2023-6121] = "cpe-stable-backport: Backported in 6.1.65"
 
 CVE_STATUS[CVE-2023-6176] = "cpe-stable-backport: Backported in 6.1.54"
 
diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.5.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
index 046c3f95c3..7711bcb4d6 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
@@ -1,6 +1,6 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2023-12-05 13:22:43.339114+00:00 for version 6.5.13
+# Generated at 2023-12-18 14:15:23.952852+00:00 for version 6.5.13
 
 python check_kernel_cve_status_version() {
 this_version = "6.5.13"
-- 
2.34.1


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



[OE-core][nanbield 04/41] cve-update-nvd2-native: increase the delay between subsequent request failures

2023-12-29 Thread Steve Sakoman
From: Dhairya Nagodra 

Sometimes NVD servers are unstable and return too many errors.
There is an option to have higher fetch attempts to increase the chances
of successfully fetching the CVE data.

Additionally, it also makes sense to progressively increase the delay
after a failed request to an already unstable or busy server.
The increase in delay is reset after every successful request and
the maximum delay is limited to 30 seconds.

Also, the logs are improved to give more clarity.

Signed-off-by: Dhairya Nagodra 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 7101d654635b707e56b0dbae8c2146b312d211ea)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/meta/cve-update-nvd2-native.bb | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb 
b/meta/recipes-core/meta/cve-update-nvd2-native.bb
index 941fca34c6..bfe48b27e7 100644
--- a/meta/recipes-core/meta/cve-update-nvd2-native.bb
+++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb
@@ -114,7 +114,10 @@ def cleanup_db_download(db_file, db_tmp_file):
 if os.path.exists(db_tmp_file):
 os.remove(db_tmp_file)
 
-def nvd_request_next(url, attempts, api_key, args):
+def nvd_request_wait(attempt, min_wait):
+return min ( ( (2 * attempt) + min_wait ) , 30)
+
+def nvd_request_next(url, attempts, api_key, args, min_wait):
 """
 Request next part of the NVD dabase
 """
@@ -143,8 +146,10 @@ def nvd_request_next(url, attempts, api_key, args):
 r.close()
 
 except Exception as e:
-bb.note("CVE database: received error (%s), retrying" % (e))
-time.sleep(6)
+wait_time = nvd_request_wait(attempt, min_wait)
+bb.note("CVE database: received error (%s)" % (e))
+bb.note("CVE database: retrying download after %d seconds. 
attempted (%d/%d)" % (wait_time, attempt+1, attempts))
+time.sleep(wait_time)
 pass
 else:
 return raw_data
@@ -195,7 +200,7 @@ def update_db_file(db_tmp_file, d, database_time):
 
 while True:
 req_args['startIndex'] = index
-raw_data = nvd_request_next(url, attempts, api_key, req_args)
+raw_data = nvd_request_next(url, attempts, api_key, req_args, 
wait_time)
 if raw_data is None:
 # We haven't managed to download data
 return False
-- 
2.34.1


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



[OE-core][nanbield 03/41] cve-update-nvd2-native: faster requests with API keys

2023-12-29 Thread Steve Sakoman
From: Dhairya Nagodra 

As per NVD, the public rate limit is 5 requests in 30s (6s delay).
Using an API key increases the limit to 50 requests in 30s (0.6s delay).
However, NVD still recommends sleeping for several seconds so that the
other legitimate requests are serviced without denial or interruption.
Keeping the default sleep at 6 seconds and 2 seconds with an API key.

For failures, the wait time is unchanged (6 seconds).

Reference: https://nvd.nist.gov/developers/start-here#RateLimits

Signed-off-by: Dhairya Nagodra 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 5c32e2941d1dc3d04a799a1b7cbd275c1ccc9e79)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/meta/cve-update-nvd2-native.bb | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb 
b/meta/recipes-core/meta/cve-update-nvd2-native.bb
index 9ab8dc6050..941fca34c6 100644
--- a/meta/recipes-core/meta/cve-update-nvd2-native.bb
+++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb
@@ -188,6 +188,11 @@ def update_db_file(db_tmp_file, d, database_time):
 api_key = d.getVar("NVDCVE_API_KEY") or None
 attempts = int(d.getVar("CVE_DB_UPDATE_ATTEMPTS"))
 
+# Recommended by NVD
+wait_time = 6
+if api_key:
+wait_time = 2
+
 while True:
 req_args['startIndex'] = index
 raw_data = nvd_request_next(url, attempts, api_key, req_args)
@@ -210,7 +215,7 @@ def update_db_file(db_tmp_file, d, database_time):
break
 
 # Recommended by NVD
-time.sleep(6)
+time.sleep(wait_time)
 
 # Update success, set the date to cve_check file.
 cve_f.write('CVE database update : %s\n\n' % datetime.date.today())
-- 
2.34.1


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



[OE-core][nanbield 02/41] cve-update-nvd2-native: make number of fetch attemtps configurable

2023-12-29 Thread Steve Sakoman
From: Peter Marko 

Sometimes NVD servers are unstable and return too many errors.

Last time we increased number of attempts from 3 to 5, but
further increasing is not reasonable as in normal case
too many retries is just abusive.

Keep retries low as default and allow to increase as needed.

Signed-off-by: Peter Marko 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 6b6fd8043d83b9954ab6ad2c745d07c6bcc1)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/meta/cve-update-nvd2-native.bb | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb 
b/meta/recipes-core/meta/cve-update-nvd2-native.bb
index 08895013cf..9ab8dc6050 100644
--- a/meta/recipes-core/meta/cve-update-nvd2-native.bb
+++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb
@@ -26,6 +26,9 @@ NVDCVE_API_KEY ?= ""
 # Use a negative value to skip the update
 CVE_DB_UPDATE_INTERVAL ?= "86400"
 
+# Number of attmepts for each http query to nvd server before giving up
+CVE_DB_UPDATE_ATTEMPTS ?= "5"
+
 CVE_DB_TEMP_FILE ?= "${CVE_CHECK_DB_DIR}/temp_nvdcve_2.db"
 
 CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvdcve_2.db"
@@ -111,7 +114,7 @@ def cleanup_db_download(db_file, db_tmp_file):
 if os.path.exists(db_tmp_file):
 os.remove(db_tmp_file)
 
-def nvd_request_next(url, api_key, args):
+def nvd_request_next(url, attempts, api_key, args):
 """
 Request next part of the NVD dabase
 """
@@ -127,7 +130,7 @@ def nvd_request_next(url, api_key, args):
 request.add_header("apiKey", api_key)
 bb.note("Requesting %s" % request.full_url)
 
-for attempt in range(5):
+for attempt in range(attempts):
 try:
 r = urllib.request.urlopen(request)
 
@@ -183,10 +186,11 @@ def update_db_file(db_tmp_file, d, database_time):
 index = 0
 url = d.getVar("NVDCVE_URL")
 api_key = d.getVar("NVDCVE_API_KEY") or None
+attempts = int(d.getVar("CVE_DB_UPDATE_ATTEMPTS"))
 
 while True:
 req_args['startIndex'] = index
-raw_data = nvd_request_next(url, api_key, req_args)
+raw_data = nvd_request_next(url, attempts, api_key, req_args)
 if raw_data is None:
 # We haven't managed to download data
 return False
-- 
2.34.1


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



[OE-core][nanbield 01/41] cve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUT

2023-12-29 Thread Steve Sakoman
From: Peter Marko 

This variable is not referenced in oe-core anymore.

Signed-off-by: Peter Marko 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 905b45a814cb33327503b793741c19b44c8550b3)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/meta/cve-update-nvd2-native.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-core/meta/cve-update-nvd2-native.bb 
b/meta/recipes-core/meta/cve-update-nvd2-native.bb
index d0321f1bb5..08895013cf 100644
--- a/meta/recipes-core/meta/cve-update-nvd2-native.bb
+++ b/meta/recipes-core/meta/cve-update-nvd2-native.bb
@@ -26,9 +26,6 @@ NVDCVE_API_KEY ?= ""
 # Use a negative value to skip the update
 CVE_DB_UPDATE_INTERVAL ?= "86400"
 
-# Timeout for blocking socket operations, such as the connection attempt.
-CVE_SOCKET_TIMEOUT ?= "60"
-
 CVE_DB_TEMP_FILE ?= "${CVE_CHECK_DB_DIR}/temp_nvdcve_2.db"
 
 CVE_CHECK_DB_FILE ?= "${CVE_CHECK_DB_DIR}/nvdcve_2.db"
-- 
2.34.1


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



[OE-core][nanbield 00/41] Patch review

2023-12-29 Thread Steve Sakoman
Please review this set of changes for nanbield and have comments back by
end of day Wednesday, January 3

Passed a-full on autobuilder:

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

The following changes since commit 1a14503ff5b4bc8192ae1b0d22622b8aefb718be:

  testimage: Exclude wtmp from target-dumper commands (2023-12-21 05:25:02 
-1000)

are available in the Git repository at:

  https://git.openembedded.org/openembedded-core-contrib stable/nanbield-nut
  
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/nanbield-nut

Adam Johnston (1):
  useradd_base: Fix sed command line for passwd-expire

Alexander Kanavin (1):
  cmake: upgrade 3.27.5 -> 3.27.7

Anuj Mittal (1):
  gstreamer1.0: upgrade 1.22.6 -> 1.22.7

Bruce Ashfield (7):
  linux-yocto/6.1: drop removed IMA option
  linux-yocto-rt/6.1: update to -rt18
  linux-yocto/6.1: update to v6.1.66
  linux-yocto/6.1: update to v6.1.67
  linux-yocto/6.1: update to v6.1.68
  linux-yocto/6.5: drop removed IMA option
  linux-yocto/6.5: fix AB-INT: QEMU kernel panic: No irq handler for
vector

Deepthi Hemraj (1):
  rust: Fix CVE-2023-40030

Dhairya Nagodra (2):
  cve-update-nvd2-native: faster requests with API keys
  cve-update-nvd2-native: increase the delay between subsequent request
failures

Javier Tia (1):
  kernel-arch: use ccache only for compiler

Joakim Tjernlund (1):
  sed -i destroys symlinks

Julien Stephan (2):
  devtool: fix update-recipe dry-run mode
  devtool: finish/update-recipe: restrict mode srcrev to recipes fetched
from SCM

Marco Felsch (1):
  json-c: fix icecc compilation

Markus Volk (3):
  gtk: Add rdepend on printbackend for cups
  bluez5: fix connection for ps5/dualshock controllers
  cups: Add root,sys,wheel to system groups

Massimiliano Minella (1):
  systemd: update LICENSE statement

Michael Opdenacker (1):
  systemd-compat-units.bb: fix postinstall script

Peter Marko (2):
  cve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUT
  cve-update-nvd2-native: make number of fetch attemtps configurable

Richard Purdie (3):
  linux/cve-exclusion6.1: Update to latest kernel point release
  package_ipk: Fix Source: field variable dependency
  testimage: Drop target_dumper and most of monitor_dumper

Ross Burton (4):
  linux-yocto: update CVE exclusions
  lib/oe/patch: ensure os.chdir restoring always happens
  tcl: skip timing-dependent tests in run-ptest
  tcl: skip async and event tests in run-ptest

Trevor Gamblin (2):
  python3-ptest: skip test_storlines
  patchtest: shorten patch signed-off-by test output

Viswanath Kraleti (1):
  systemd-boot: Fix build issues on armv7a-linux

Wang Mingyu (6):
  libsolv: upgrade 0.7.25 -> 0.7.26
  bind: upgrade 9.18.19 -> 9.18.20
  ell: upgrade 0.59 -> 0.60
  libgcrypt: upgrade 1.10.2 -> 1.10.3
  libxslt: upgrade 1.1.38 -> 1.1.39
  log4cplus: upgrade 2.1.0 -> 2.1.1

 meta/classes-global/package_ipk.bbclass   |   6 +-
 meta/classes-recipe/kernel-arch.bbclass   |   6 +-
 .../rootfs-postcommands.bbclass   |   4 +-
 meta/classes-recipe/testimage.bbclass |  16 -
 meta/classes/useradd_base.bbclass |   2 +-
 meta/lib/oe/patch.py  |   7 +-
 meta/lib/oeqa/core/target/qemu.py |  10 -
 meta/lib/oeqa/core/target/ssh.py  |  20 +-
 meta/lib/oeqa/targetcontrol.py|   2 -
 meta/lib/patchtest/tests/test_patch.py|   3 +-
 .../bind/{bind_9.18.19.bb => bind_9.18.20.bb} |   2 +-
 meta/recipes-connectivity/bluez5/bluez5.inc   |   1 +
 ...e_probe-failing-if-SDP-record-is-not.patch | 313 +
 .../ell/{ell_0.59.bb => ell_0.60.bb}  |   2 +-
 .../meta/cve-update-nvd2-native.bb|  27 +-
 .../systemd/systemd-boot_254.4.bb |   4 +
 .../systemd/systemd-compat-units.bb   |   3 +-
 meta/recipes-core/systemd/systemd.inc |   3 +-
 ...n-Pass-all-static-pie-args-to-linker.patch |  35 ++
 ...ative_3.27.5.bb => cmake-native_3.27.7.bb} |   0
 meta/recipes-devtools/cmake/cmake.inc |   2 +-
 .../{cmake_3.27.5.bb => cmake_3.27.7.bb}  |   0
 meta/recipes-devtools/json-c/json-c_0.17.bb   |   3 +
 ...{log4cplus_2.1.0.bb => log4cplus_2.1.1.bb} |   2 +-
 ...orlines-skip-due-to-load-variability.patch |  32 ++
 .../recipes-devtools/python/python3_3.11.5.bb |   1 +
 .../rust/files/0002-CVE-2023-40030.patch  | 412 ++
 meta/recipes-devtools/rust/rust-source.inc|   1 +
 meta/recipes-devtools/tcltk/tcl/run-ptest |   6 +-
 meta/recipes-extended/cups/cups.inc   |   2 +-
 .../{libsolv_0.7.25.bb => libsolv_0.7.26.bb}  |   2 +-
 meta/recipes-gnome/gtk+/gtk+3.inc |   2 +-
 meta/recipes-gnome/gtk+/gtk4_4.12.3.bb|   2 +-
 .../linux/cve-exclusion_6.1.inc   |   6 +-
 .../linux/cve-exclusion_6.5.inc   |   2 +-
 .../linux/linux-yocto-rt_6.1.bb   |   6 +-
 .../linux/linux-yocto-rt_6.5.bb   |   4 +-
 

[OE-core] [Gatesgarth][PATCH] mobile-broadband-provider-info: Use branch main in SRC_URI

2023-12-29 Thread fabatera
>From d8bea31d74f356c96d9b6df462071709111f5d7e Mon Sep 17 00:00:00 2001
From: Fabiano Ferronato 
Date: Fri, 29 Dec 2023 15:48:37 +0100
Subject: [PATCH] mobile-broadband-provider-info: Use branch main in SRC_URI

Uptream branch was renamed from master to main.

Signed-off-by: Fabiano Ferronato 
---
 .../mobile-broadband-provider-info_git.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
 
b/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
index 7dccc15e03..b359a50758 100644
--- 
a/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
+++ 
b/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
@@ -7,7 +7,7 @@ SRCREV = "90f3fe28aa25135b7e4a54a7816388913bfd4a2a"
 PV = "20201225"
 PE = "1"

-SRC_URI = 
"git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https"
+SRC_URI = 
"git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main"
 S = "${WORKDIR}/git"

 inherit autotools
--
2.30.2

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



Re: [OE-Core][PATCH v3 0/4] recipetool: Add handler to create go recipes

2023-12-29 Thread Vyacheslav Yurkov

Hi Lukas,
Sorry for the late reply.

I think I see what's going on.
The module I'm working on is already "vendored", which means there's no 
modules.txt created for my project by recipetool, since it's already 
provided in the repository itself.


I guess this has pros and cons, and I'm currently not sure which 
approach is better. On one hand, offline vendoring (no by the 
recipetool) has an advantage for SDK builds, when people don't use the 
BSP directly. On the other hand, Yocto style vendoring (when modules.txt 
is stored in the BSP) is more transparent for dependency management. 
I.e. I would need to update the recipe when my dependencies change.


Slava

On 15.11.2023 08:34, Vyacheslav Yurkov via lists.openembedded.org wrote:

On 15.11.2023 08:30, Lukas Funke wrote:

Hi Slava,

No problem. Party is still going on. The 'modules.txt' is intendet to 
be in your ${WORKDIR} as it is part of the SRC_URI, generated by
the recipetool. My guess would be, that there is some 
missconfiguration in your SRC_URI?


Yes, I noticed that it should be there in recipetool tests. But 
generated recipe didn't have It in SRC_URI. I tried to use generated 
recipe as is. I'll try to double check later.


Slava



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



Re: [OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Alexander Kanavin
Reproducibility exclusions should be listed in the test itself, so this
continues to be built in regular world builds (otherwise it may silently
regress).

Alex

On Fri 29. Dec 2023 at 13.44, Alex Kiernan  wrote:

> Signed-off-by: Alex Kiernan 
> ---
>
> Changes in v4:
> - Mark hello-rs as EXCLUDE_FROM_WORLD as it's not reproducible
>
>  .../hello-rs/hello-rs-crates.inc  |  8 +++
>  .../hello-rs/0001-Greet-OE-Core.patch | 24 +++
>  .../hello-rs/hello-rs_0.1.0.bb| 22 +
>  3 files changed, 54 insertions(+)
>  create mode 100644
> meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
>  create mode 100644
> meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
>  create mode 100644 meta-selftest/recipes-extended/hello-rs/
> hello-rs_0.1.0.bb
>
> diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> new file mode 100644
> index ..9646482b2875
> --- /dev/null
> +++ b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> @@ -0,0 +1,8 @@
> +# Autogenerated with 'bitbake -c update_crates hello-rs'
> +
> +# from Cargo.lock
> +SRC_URI += " \
> +crate://crates.io/figlet-rs/0.1.5 \
> +"
> +
> +SRC_URI[figlet-rs-0.1.5.sha256sum] =
> "4742a071cd9694fc86f9fa1a08fa3e53d40cc899d7ee532295da2d085639fbc5"
> diff --git
> a/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> new file mode 100644
> index ..7569ccef7bbb
> --- /dev/null
> +++
> b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> @@ -0,0 +1,24 @@
> +From 3aea1ece0ca6ac0bf0ffe42736827af22966f767 Mon Sep 17 00:00:00 2001
> +From: Alex Kiernan 
> +Date: Wed, 27 Dec 2023 09:55:48 +
> +Subject: [PATCH] Greet "OE-Core"
> +
> +Signed-off-by: Alex Kiernan 
> +Upstream-Status: Inappropriate
> +---
> + src/main.rs | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/src/main.rs b/src/main.rs
> +index f4a310758b19..224eca65c38d 100644
> +--- a/src/main.rs
>  b/src/main.rs
> +@@ -3,7 +3,7 @@ use hello_lib::greet;
> +
> + fn main() {
> + let standard_font = FIGfont::standard().unwrap();
> +-let greeting = greet(None);
> ++let greeting = greet(Some("OE-Core"));
> + let figure = standard_font.convert();
> + println!("{}", figure.unwrap());
> + }
> diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> new file mode 100644
> index ..9a136f29788e
> --- /dev/null
> +++ b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "Simple hello world example"
> +HOMEPAGE = "https://github.com/akiernan/hello-bin;
> +LICENSE = "Unlicense"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680"
> +
> +SRC_URI = "git://
> github.com/akiernan/hello-bin.git;protocol=https;branch=main;subpath=rust
> \
> +   file://0001-Greet-OE-Core.patch \
> +   git://
> github.com/akiernan/hello-lib.git;protocol=https;branch=main;name=hello-lib;destsuffix=hello-lib;type=git-dependency
> \
> +  "
> +SRCREV = "d3d096eda182644868f8e7458dcfa538ff637db3"
> +
> +SRCREV_FORMAT .= "_hello-lib"
> +SRCREV_hello-lib = "59c84574e844617043cf337bc8fa537cf87ad8ae"
> +
> +S = "${WORKDIR}/rust"
> +
> +inherit cargo cargo-update-recipe-crates ptest-cargo
> +
> +# Remove this when the recipe is reproducible
> +EXCLUDE_FROM_WORLD = "1"
> +
> +require ${BPN}-crates.inc
> --
> 2.39.0
>
>
> 
>
>

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



[OE-Core][PATCH v4 10/10] rust: Upgrade 1.74.0 -> 1.74.1

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html

Signed-off-by: Alex Kiernan 
---

(no changes since v1)

 meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} | 0
 .../rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb}   | 0
 ...t-cross-canadian_1.74.0.bb => rust-cross-canadian_1.74.1.bb} | 0
 .../rust/{rust-llvm_1.74.0.bb => rust-llvm_1.74.1.bb}   | 0
 meta/recipes-devtools/rust/rust-source.inc  | 2 +-
 meta/recipes-devtools/rust/{rust_1.74.0.bb => rust_1.74.1.bb}   | 0
 6 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/rust/{cargo_1.74.0.bb => cargo_1.74.1.bb} (100%)
 rename meta/recipes-devtools/rust/{libstd-rs_1.74.0.bb => libstd-rs_1.74.1.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.74.0.bb => 
rust-cross-canadian_1.74.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.74.0.bb => rust-llvm_1.74.1.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust_1.74.0.bb => rust_1.74.1.bb} (100%)

diff --git a/meta/recipes-devtools/rust/cargo_1.74.0.bb 
b/meta/recipes-devtools/rust/cargo_1.74.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/cargo_1.74.0.bb
rename to meta/recipes-devtools/rust/cargo_1.74.1.bb
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.74.0.bb 
b/meta/recipes-devtools/rust/libstd-rs_1.74.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/libstd-rs_1.74.0.bb
rename to meta/recipes-devtools/rust/libstd-rs_1.74.1.bb
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.74.0.bb 
b/meta/recipes-devtools/rust/rust-cross-canadian_1.74.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/rust-cross-canadian_1.74.0.bb
rename to meta/recipes-devtools/rust/rust-cross-canadian_1.74.1.bb
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.74.0.bb 
b/meta/recipes-devtools/rust/rust-llvm_1.74.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/rust-llvm_1.74.0.bb
rename to meta/recipes-devtools/rust/rust-llvm_1.74.1.bb
diff --git a/meta/recipes-devtools/rust/rust-source.inc 
b/meta/recipes-devtools/rust/rust-source.inc
index e8dafe59c9b0..83a0dbc15fae 100644
--- a/meta/recipes-devtools/rust/rust-source.inc
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -11,7 +11,7 @@ SRC_URI += 
"https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n
 
file://0005-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC}
 \
 
file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC}
 \
 "
-SRC_URI[rust.sha256sum] = 
"23705e38c1a37acfd7fbb921c5dd8772619476e80d0b3b39ac8eb45bc0c33187"
+SRC_URI[rust.sha256sum] = 
"b98c09d968529212fb29eec7d6d3e9bdaa869810679b7fb86a1ca69469d75f5e"
 
 RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
 
diff --git a/meta/recipes-devtools/rust/rust_1.74.0.bb 
b/meta/recipes-devtools/rust/rust_1.74.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/rust_1.74.0.bb
rename to meta/recipes-devtools/rust/rust_1.74.1.bb
-- 
2.39.0


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



[OE-Core][PATCH v4 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-29 Thread Alex Kiernan
This is the 1.74.1 rust series rebased to include a revert of
https://github.com/rust-lang/cc-rs/commit/c4f414f449bb7cffba3bc923f277704d1d08a8ec
which I'm pretty sure is what's causing our filename churn. I've checked
1.72.0 and 1.74.1 for the absvdi2.o intrinsic (one of many intrinsics
which had the issue) and in both cases we're not generating the dirname
based prefix - hopefully that means that the interim commits are fine
too, if not we can do the step back through the commits to find the next
issue.

Changes in v4:
- Mark hello-rs as EXCLUDE_FROM_WORLD as it's not reproducible

Changes in v3:
- Add hello-rs as a replacement for the tests which used zvariant

Changes in v2:
- Skip zvariant based test rather than deleting it.

Alex Kiernan (10):
  devtool: selftest: Fix test_devtool_modify_git_crates_subpath
inequality
  devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend
check
  meta-selftest: hello-rs: Simple rust test recipe
  devtool: selftest: Swap to hello-rs for crates testing
  zvariant: Drop recipe
  rust: Upgrade 1.71.1 -> 1.72.0
  rust: Upgrade 1.72.0 -> 1.72.1
  rust: Upgrade 1.72.1 -> 1.73.0
  rust: Upgrade 1.73.0 -> 1.74.0
  rust: Upgrade 1.74.0 -> 1.74.1

 .../hello-rs/hello-rs-crates.inc  |8 +
 .../hello-rs/0001-Greet-OE-Core.patch |   24 +
 .../hello-rs/hello-rs_0.1.0.bb|   22 +
 .../zvariant/zvariant-crates.inc  |  258 
 .../zvariant/zvariant-git-crates.inc  |   14 -
 .../0001-Tweak-zvariant-crate-config.patch| 1292 -
 .../zvariant/zvariant_3.12.0.bb   |   37 -
 meta/conf/distro/include/tcmode-default.inc   |2 +-
 meta/lib/oeqa/selftest/cases/devtool.py   |6 +-
 .../rust/{cargo_1.71.1.bb => cargo_1.74.1.bb} |0
 ...-Do-not-use-LFS64-on-linux-with-musl.patch |  164 ---
 ...0001-Don-t-use-LFS64-symbols-on-musl.patch |  163 +++
 ...e-absolute-paths-to-OUT_DIR-as-relat.patch |   67 +
 ...Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch |  122 ++
 ...efine-SOCK_SEQPACKET-in-common-place.patch |  114 --
 ...ine-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch |   41 +
 ...GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch |  205 +++
 ...-musl-Define-O_LARGEFILE-for-riscv32.patch |   32 +
 ...efine-SOCK_SEQPACKET-in-common-place.patch |  115 ++
 .../rust/files/getrandom-open64.patch |   50 -
 .../rust/files/hardcodepaths.patch|   14 +-
 .../rust/files/zlib-off64_t.patch |   17 +-
 ...ibstd-rs_1.71.1.bb => libstd-rs_1.74.1.bb} |0
 71.1.bb => rust-cross-canadian_1.74.1.bb} |0
 ...ust-llvm_1.71.1.bb => rust-llvm_1.74.1.bb} |0
 meta/recipes-devtools/rust/rust-snapshot.inc  |   64 +-
 meta/recipes-devtools/rust/rust-source.inc|   12 +-
 .../rust/{rust_1.71.1.bb => rust_1.74.1.bb}   |1 +
 28 files changed, 859 insertions(+), 1985 deletions(-)
 create mode 100644 meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
 create mode 100644 
meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
 create mode 100644 meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
 delete mode 100644 meta-selftest/recipes-extended/zvariant/zvariant-crates.inc
 delete mode 100644 
meta-selftest/recipes-extended/zvariant/zvariant-git-crates.inc
 delete mode 100644 
meta-selftest/recipes-extended/zvariant/zvariant/0001-Tweak-zvariant-crate-config.patch
 delete mode 100644 meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb
 rename meta/recipes-devtools/rust/{cargo_1.71.1.bb => cargo_1.74.1.bb} (100%)
 delete mode 100644 
meta/recipes-devtools/rust/files/0001-Do-not-use-LFS64-on-linux-with-musl.patch
 create mode 100644 
meta/recipes-devtools/rust/files/0001-Don-t-use-LFS64-symbols-on-musl.patch
 create mode 100644 
meta/recipes-devtools/rust/files/0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch
 create mode 100644 
meta/recipes-devtools/rust/files/0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch
 delete mode 100644 
meta/recipes-devtools/rust/files/0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch
 create mode 100644 
meta/recipes-devtools/rust/files/0002-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch
 create mode 100644 
meta/recipes-devtools/rust/files/0003-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch
 create mode 100644 
meta/recipes-devtools/rust/files/0004-musl-Define-O_LARGEFILE-for-riscv32.patch
 create mode 100644 
meta/recipes-devtools/rust/files/0005-musl-Define-SOCK_SEQPACKET-in-common-place.patch
 delete mode 100644 meta/recipes-devtools/rust/files/getrandom-open64.patch
 rename meta/recipes-devtools/rust/{libstd-rs_1.71.1.bb => libstd-rs_1.74.1.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.71.1.bb => 
rust-cross-canadian_1.74.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.71.1.bb => rust-llvm_1.74.1.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust_1.71.1.bb => rust_1.74.1.bb} (99%)

-- 
2.39.0



[OE-Core][PATCH v4 07/10] rust: Upgrade 1.72.0 -> 1.72.1

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/09/19/Rust-1.72.1.html

Signed-off-by: Alex Kiernan 
---

(no changes since v1)

 meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} | 0
 .../rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb}   | 0
 ...t-cross-canadian_1.72.0.bb => rust-cross-canadian_1.72.1.bb} | 0
 .../rust/{rust-llvm_1.72.0.bb => rust-llvm_1.72.1.bb}   | 0
 meta/recipes-devtools/rust/rust-source.inc  | 2 +-
 meta/recipes-devtools/rust/{rust_1.72.0.bb => rust_1.72.1.bb}   | 0
 6 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/rust/{cargo_1.72.0.bb => cargo_1.72.1.bb} (100%)
 rename meta/recipes-devtools/rust/{libstd-rs_1.72.0.bb => libstd-rs_1.72.1.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.72.0.bb => 
rust-cross-canadian_1.72.1.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.72.0.bb => rust-llvm_1.72.1.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust_1.72.0.bb => rust_1.72.1.bb} (100%)

diff --git a/meta/recipes-devtools/rust/cargo_1.72.0.bb 
b/meta/recipes-devtools/rust/cargo_1.72.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/cargo_1.72.0.bb
rename to meta/recipes-devtools/rust/cargo_1.72.1.bb
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.72.0.bb 
b/meta/recipes-devtools/rust/libstd-rs_1.72.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/libstd-rs_1.72.0.bb
rename to meta/recipes-devtools/rust/libstd-rs_1.72.1.bb
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.72.0.bb 
b/meta/recipes-devtools/rust/rust-cross-canadian_1.72.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/rust-cross-canadian_1.72.0.bb
rename to meta/recipes-devtools/rust/rust-cross-canadian_1.72.1.bb
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.72.0.bb 
b/meta/recipes-devtools/rust/rust-llvm_1.72.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/rust-llvm_1.72.0.bb
rename to meta/recipes-devtools/rust/rust-llvm_1.72.1.bb
diff --git a/meta/recipes-devtools/rust/rust-source.inc 
b/meta/recipes-devtools/rust/rust-source.inc
index 253a8436d2a7..ca3fcf9e884d 100644
--- a/meta/recipes-devtools/rust/rust-source.inc
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -7,7 +7,7 @@ SRC_URI += 
"https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n
 
file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC}
 \
 
file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC}
 \
 "
-SRC_URI[rust.sha256sum] = 
"d307441f8ee78a7e94f72cb5c81383822f13027f79e67a5551bfd2c2d2db3014"
+SRC_URI[rust.sha256sum] = 
"aea58d962ff1c19521b9f587aad88285f0fd35b6b6738b031a7a15bb1b70a7c3"
 
 RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
 
diff --git a/meta/recipes-devtools/rust/rust_1.72.0.bb 
b/meta/recipes-devtools/rust/rust_1.72.1.bb
similarity index 100%
rename from meta/recipes-devtools/rust/rust_1.72.0.bb
rename to meta/recipes-devtools/rust/rust_1.72.1.bb
-- 
2.39.0


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



[OE-Core][PATCH v4 08/10] rust: Upgrade 1.72.1 -> 1.73.0

2023-12-29 Thread Alex Kiernan
https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html

Signed-off-by: Alex Kiernan 
---

(no changes since v1)

 meta/conf/distro/include/tcmode-default.inc   |  2 +-
 .../rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} |  0
 ...-Do-not-use-LFS64-on-linux-with-musl.patch | 36 +-
 .../rust/files/hardcodepaths.patch|  8 ++-
 ...ibstd-rs_1.72.1.bb => libstd-rs_1.73.0.bb} |  0
 72.1.bb => rust-cross-canadian_1.73.0.bb} |  0
 ...ust-llvm_1.72.1.bb => rust-llvm_1.73.0.bb} |  0
 meta/recipes-devtools/rust/rust-snapshot.inc  | 68 ---
 meta/recipes-devtools/rust/rust-source.inc|  2 +-
 .../rust/{rust_1.72.1.bb => rust_1.73.0.bb}   |  0
 10 files changed, 55 insertions(+), 61 deletions(-)
 rename meta/recipes-devtools/rust/{cargo_1.72.1.bb => cargo_1.73.0.bb} (100%)
 rename meta/recipes-devtools/rust/{libstd-rs_1.72.1.bb => libstd-rs_1.73.0.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust-cross-canadian_1.72.1.bb => 
rust-cross-canadian_1.73.0.bb} (100%)
 rename meta/recipes-devtools/rust/{rust-llvm_1.72.1.bb => rust-llvm_1.73.0.bb} 
(100%)
 rename meta/recipes-devtools/rust/{rust_1.72.1.bb => rust_1.73.0.bb} (100%)

diff --git a/meta/conf/distro/include/tcmode-default.inc 
b/meta/conf/distro/include/tcmode-default.inc
index f67b7be39c60..8960d9e0144e 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -25,7 +25,7 @@ LINUXLIBCVERSION ?= "6.5%"
 QEMUVERSION ?= "8.1%"
 GOVERSION ?= "1.20%"
 LLVMVERSION ?= "17.%"
-RUSTVERSION ?= "1.72%"
+RUSTVERSION ?= "1.73%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
 PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
diff --git a/meta/recipes-devtools/rust/cargo_1.72.1.bb 
b/meta/recipes-devtools/rust/cargo_1.73.0.bb
similarity index 100%
rename from meta/recipes-devtools/rust/cargo_1.72.1.bb
rename to meta/recipes-devtools/rust/cargo_1.73.0.bb
diff --git 
a/meta/recipes-devtools/rust/files/0001-Do-not-use-LFS64-on-linux-with-musl.patch
 
b/meta/recipes-devtools/rust/files/0001-Do-not-use-LFS64-on-linux-with-musl.patch
index dd23d09101ef..794ad804f0dc 100644
--- 
a/meta/recipes-devtools/rust/files/0001-Do-not-use-LFS64-on-linux-with-musl.patch
+++ 
b/meta/recipes-devtools/rust/files/0001-Do-not-use-LFS64-on-linux-with-musl.patch
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj 
  library/std/src/sys/unix/fs.rs | 27 ---
  3 files changed, 38 insertions(+), 12 deletions(-)
 
-Index: rustc-1.72.0-src/library/std/src/os/linux/fs.rs
+Index: rustc-1.73.0-src/library/std/src/os/linux/fs.rs
 ===
 rustc-1.72.0-src.orig/library/std/src/os/linux/fs.rs
-+++ rustc-1.72.0-src/library/std/src/os/linux/fs.rs
+--- rustc-1.73.0-src.orig/library/std/src/os/linux/fs.rs
 rustc-1.73.0-src/library/std/src/os/linux/fs.rs
 @@ -329,7 +329,14 @@ pub trait MetadataExt {
  impl MetadataExt for Metadata {
  #[allow(deprecated)]
@@ -39,10 +39,10 @@ Index: rustc-1.72.0-src/library/std/src/os/linux/fs.rs
  }
  fn st_dev() -> u64 {
  self.as_inner().as_inner().st_dev as u64
-Index: rustc-1.72.0-src/library/std/src/sys/unix/fd.rs
+Index: rustc-1.73.0-src/library/std/src/sys/unix/fd.rs
 ===
 rustc-1.72.0-src.orig/library/std/src/sys/unix/fd.rs
-+++ rustc-1.72.0-src/library/std/src/sys/unix/fd.rs
+--- rustc-1.73.0-src.orig/library/std/src/sys/unix/fd.rs
 rustc-1.73.0-src/library/std/src/sys/unix/fd.rs
 @@ -124,9 +124,12 @@ impl FileDesc {
  }
  
@@ -73,11 +73,11 @@ Index: rustc-1.72.0-src/library/std/src/sys/unix/fd.rs
  use libc::pwrite64;
  
  unsafe {
-Index: rustc-1.72.0-src/library/std/src/sys/unix/fs.rs
+Index: rustc-1.73.0-src/library/std/src/sys/unix/fs.rs
 ===
 rustc-1.72.0-src.orig/library/std/src/sys/unix/fs.rs
-+++ rustc-1.72.0-src/library/std/src/sys/unix/fs.rs
-@@ -50,9 +50,13 @@ use libc::{c_int, mode_t};
+--- rustc-1.73.0-src.orig/library/std/src/sys/unix/fs.rs
 rustc-1.73.0-src/library/std/src/sys/unix/fs.rs
+@@ -39,9 +39,13 @@ use libc::{c_int, mode_t};
  all(target_os = "linux", target_env = "gnu")
  ))]
  use libc::c_char;
@@ -93,7 +93,7 @@ Index: rustc-1.72.0-src/library/std/src/sys/unix/fs.rs
  use libc::fstatat64;
  #[cfg(any(
  target_os = "android",
-@@ -64,7 +68,7 @@ use libc::fstatat64;
+@@ -53,7 +57,7 @@ use libc::fstatat64;
  target_os = "vita",
  ))]
  use libc::readdir as readdir64;
@@ -102,7 +102,7 @@ Index: rustc-1.72.0-src/library/std/src/sys/unix/fs.rs
  use libc::readdir64;
  #[cfg(any(target_os = "emscripten", target_os = "l4re"))]
  use libc::readdir64_r;
-@@ -79,6 +83,7 @@ use libc::readdir64_r;
+@@ -68,6 +72,7 @@ use libc::readdir64_r;
  target_os = "redox",
  target_os = "nto",
  target_os = "vita",
@@ -110,7 +110,7 @@ Index: rustc-1.72.0-src/library/std/src/sys/unix/fs.rs
 

[OE-Core][PATCH v4 05/10] zvariant: Drop recipe

2023-12-29 Thread Alex Kiernan
This fails to build with newer rust

Signed-off-by: Alex Kiernan 
---

(no changes since v1)

 .../zvariant/zvariant-crates.inc  |  258 
 .../zvariant/zvariant-git-crates.inc  |   14 -
 .../0001-Tweak-zvariant-crate-config.patch| 1292 -
 .../zvariant/zvariant_3.12.0.bb   |   37 -
 4 files changed, 1601 deletions(-)
 delete mode 100644 meta-selftest/recipes-extended/zvariant/zvariant-crates.inc
 delete mode 100644 
meta-selftest/recipes-extended/zvariant/zvariant-git-crates.inc
 delete mode 100644 
meta-selftest/recipes-extended/zvariant/zvariant/0001-Tweak-zvariant-crate-config.patch
 delete mode 100644 meta-selftest/recipes-extended/zvariant/zvariant_3.12.0.bb

diff --git a/meta-selftest/recipes-extended/zvariant/zvariant-crates.inc 
b/meta-selftest/recipes-extended/zvariant/zvariant-crates.inc
deleted file mode 100644
index 3a9759c4a533..
--- a/meta-selftest/recipes-extended/zvariant/zvariant-crates.inc
+++ /dev/null
@@ -1,258 +0,0 @@
-# Autogenerated with 'bitbake -c update_crates zvariant'
-
-# from Cargo.lock
-SRC_URI += " \
-crate://crates.io/anes/0.1.6;name=anes-0.1.6 \
-crate://crates.io/anyhow/1.0.70;name=anyhow-1.0.70 \
-crate://crates.io/arrayvec/0.7.2;name=arrayvec-0.7.2 \
-crate://crates.io/atty/0.2.14;name=atty-0.2.14 \
-crate://crates.io/autocfg/1.1.0;name=autocfg-1.1.0 \
-crate://crates.io/bitflags/1.3.2;name=bitflags-1.3.2 \
-crate://crates.io/bumpalo/3.12.0;name=bumpalo-3.12.0 \
-crate://crates.io/byteorder/1.4.3;name=byteorder-1.4.3 \
-crate://crates.io/cast/0.3.0;name=cast-0.3.0 \
-crate://crates.io/cfg-if/1.0.0;name=cfg-if-1.0.0 \
-crate://crates.io/chrono/0.4.24;name=chrono-0.4.24 \
-crate://crates.io/ciborium/0.2.0;name=ciborium-0.2.0 \
-crate://crates.io/ciborium-io/0.2.0;name=ciborium-io-0.2.0 \
-crate://crates.io/ciborium-ll/0.2.0;name=ciborium-ll-0.2.0 \
-crate://crates.io/clap/3.2.23;name=clap-3.2.23 \
-crate://crates.io/clap_lex/0.2.4;name=clap_lex-0.2.4 \
-crate://crates.io/criterion/0.4.0;name=criterion-0.4.0 \
-crate://crates.io/criterion-plot/0.5.0;name=criterion-plot-0.5.0 \
-crate://crates.io/crossbeam-channel/0.5.7;name=crossbeam-channel-0.5.7 \
-crate://crates.io/crossbeam-deque/0.8.3;name=crossbeam-deque-0.8.3 \
-crate://crates.io/crossbeam-epoch/0.9.14;name=crossbeam-epoch-0.9.14 \
-crate://crates.io/crossbeam-utils/0.8.15;name=crossbeam-utils-0.8.15 \
-crate://crates.io/either/1.8.1;name=either-1.8.1 \
-crate://crates.io/enumflags2/0.7.5;name=enumflags2-0.7.5 \
-crate://crates.io/enumflags2_derive/0.7.4;name=enumflags2_derive-0.7.4 \
-crate://crates.io/form_urlencoded/1.1.0;name=form_urlencoded-1.1.0 \
-crate://crates.io/futures-channel/0.3.27;name=futures-channel-0.3.27 \
-crate://crates.io/futures-core/0.3.27;name=futures-core-0.3.27 \
-crate://crates.io/futures-executor/0.3.27;name=futures-executor-0.3.27 \
-crate://crates.io/futures-macro/0.3.27;name=futures-macro-0.3.27 \
-crate://crates.io/futures-task/0.3.27;name=futures-task-0.3.27 \
-crate://crates.io/futures-util/0.3.27;name=futures-util-0.3.27 \
-crate://crates.io/getrandom/0.2.8;name=getrandom-0.2.8 \
-crate://crates.io/half/1.8.2;name=half-1.8.2 \
-crate://crates.io/hashbrown/0.12.3;name=hashbrown-0.12.3 \
-crate://crates.io/heck/0.3.3;name=heck-0.3.3 \
-crate://crates.io/hermit-abi/0.1.19;name=hermit-abi-0.1.19 \
-crate://crates.io/hermit-abi/0.2.6;name=hermit-abi-0.2.6 \
-crate://crates.io/idna/0.3.0;name=idna-0.3.0 \
-crate://crates.io/indexmap/1.9.2;name=indexmap-1.9.2 \
-crate://crates.io/itertools/0.9.0;name=itertools-0.9.0 \
-crate://crates.io/itertools/0.10.5;name=itertools-0.10.5 \
-crate://crates.io/itoa/1.0.6;name=itoa-1.0.6 \
-crate://crates.io/js-sys/0.3.61;name=js-sys-0.3.61 \
-crate://crates.io/lazy_static/1.4.0;name=lazy_static-1.4.0 \
-crate://crates.io/libc/0.2.140;name=libc-0.2.140 \
-crate://crates.io/log/0.4.17;name=log-0.4.17 \
-crate://crates.io/memchr/2.5.0;name=memchr-2.5.0 \
-crate://crates.io/memoffset/0.8.0;name=memoffset-0.8.0 \
-crate://crates.io/num-integer/0.1.45;name=num-integer-0.1.45 \
-crate://crates.io/num-traits/0.2.15;name=num-traits-0.2.15 \
-crate://crates.io/num_cpus/1.15.0;name=num_cpus-1.15.0 \
-crate://crates.io/once_cell/1.17.1;name=once_cell-1.17.1 \
-crate://crates.io/oorandom/11.1.3;name=oorandom-11.1.3 \
-crate://crates.io/os_str_bytes/6.5.0;name=os_str_bytes-6.5.0 \
-crate://crates.io/percent-encoding/2.2.0;name=percent-encoding-2.2.0 \
-crate://crates.io/pin-project-lite/0.2.9;name=pin-project-lite-0.2.9 \
-crate://crates.io/pin-utils/0.1.0;name=pin-utils-0.1.0 \
-crate://crates.io/pkg-config/0.3.26;name=pkg-config-0.3.26 \
-crate://crates.io/plotters/0.3.4;name=plotters-0.3.4 \
-

[OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Alex Kiernan
Signed-off-by: Alex Kiernan 
---

Changes in v4:
- Mark hello-rs as EXCLUDE_FROM_WORLD as it's not reproducible

 .../hello-rs/hello-rs-crates.inc  |  8 +++
 .../hello-rs/0001-Greet-OE-Core.patch | 24 +++
 .../hello-rs/hello-rs_0.1.0.bb| 22 +
 3 files changed, 54 insertions(+)
 create mode 100644 meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
 create mode 100644 
meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
 create mode 100644 meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb

diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc 
b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
new file mode 100644
index ..9646482b2875
--- /dev/null
+++ b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
@@ -0,0 +1,8 @@
+# Autogenerated with 'bitbake -c update_crates hello-rs'
+
+# from Cargo.lock
+SRC_URI += " \
+crate://crates.io/figlet-rs/0.1.5 \
+"
+
+SRC_URI[figlet-rs-0.1.5.sha256sum] = 
"4742a071cd9694fc86f9fa1a08fa3e53d40cc899d7ee532295da2d085639fbc5"
diff --git 
a/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch 
b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
new file mode 100644
index ..7569ccef7bbb
--- /dev/null
+++ b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
@@ -0,0 +1,24 @@
+From 3aea1ece0ca6ac0bf0ffe42736827af22966f767 Mon Sep 17 00:00:00 2001
+From: Alex Kiernan 
+Date: Wed, 27 Dec 2023 09:55:48 +
+Subject: [PATCH] Greet "OE-Core"
+
+Signed-off-by: Alex Kiernan 
+Upstream-Status: Inappropriate
+---
+ src/main.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main.rs b/src/main.rs
+index f4a310758b19..224eca65c38d 100644
+--- a/src/main.rs
 b/src/main.rs
+@@ -3,7 +3,7 @@ use hello_lib::greet;
+ 
+ fn main() {
+ let standard_font = FIGfont::standard().unwrap();
+-let greeting = greet(None);
++let greeting = greet(Some("OE-Core"));
+ let figure = standard_font.convert();
+ println!("{}", figure.unwrap());
+ }
diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb 
b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
new file mode 100644
index ..9a136f29788e
--- /dev/null
+++ b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Simple hello world example"
+HOMEPAGE = "https://github.com/akiernan/hello-bin;
+LICENSE = "Unlicense"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680"
+
+SRC_URI = 
"git://github.com/akiernan/hello-bin.git;protocol=https;branch=main;subpath=rust
 \
+   file://0001-Greet-OE-Core.patch \
+   
git://github.com/akiernan/hello-lib.git;protocol=https;branch=main;name=hello-lib;destsuffix=hello-lib;type=git-dependency
 \
+  "
+SRCREV = "d3d096eda182644868f8e7458dcfa538ff637db3"
+
+SRCREV_FORMAT .= "_hello-lib"
+SRCREV_hello-lib = "59c84574e844617043cf337bc8fa537cf87ad8ae"
+
+S = "${WORKDIR}/rust"
+
+inherit cargo cargo-update-recipe-crates ptest-cargo
+
+# Remove this when the recipe is reproducible
+EXCLUDE_FROM_WORLD = "1"
+
+require ${BPN}-crates.inc
-- 
2.39.0


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



[OE-Core][PATCH v4 04/10] devtool: selftest: Swap to hello-rs for crates testing

2023-12-29 Thread Alex Kiernan
zvariant fails to build with newer rust

Signed-off-by: Alex Kiernan 
---

(no changes since v3)

Changes in v3:
- Add hello-rs as a replacement for the tests which used zvariant

Changes in v2:
- Skip zvariant based test rather than deleting it.

 meta/lib/oeqa/selftest/cases/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/devtool.py 
b/meta/lib/oeqa/selftest/cases/devtool.py
index cc28731402e7..a87772076946 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -928,7 +928,7 @@ class DevtoolModifyTests(DevtoolBase):
 #some crate:// in SRC_URI
 #others git:// in SRC_URI
 #cointains a patch
-testrecipe = 'zvariant'
+testrecipe = 'hello-rs'
 bb_vars = get_bb_vars(['SRC_URI', 'FILE', 'WORKDIR', 'CARGO_HOME'], 
testrecipe)
 recipefile = bb_vars['FILE']
 workdir = bb_vars['WORKDIR']
-- 
2.39.0


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



[OE-Core][PATCH v4 02/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath bbappend check

2023-12-29 Thread Alex Kiernan
The recipe being tested is in `testrecipe`, use that rather than the
literal `zvariant`.

Signed-off-by: Alex Kiernan 
---

(no changes since v1)

 meta/lib/oeqa/selftest/cases/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/devtool.py 
b/meta/lib/oeqa/selftest/cases/devtool.py
index d733dd158106..cc28731402e7 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -958,7 +958,7 @@ class DevtoolModifyTests(DevtoolBase):
 result = runCmd('devtool modify %s -x %s' % (testrecipe, tempdir))
 self.assertExists(os.path.join(tempdir, 'Cargo.toml'), 'Extracted 
source could not be found')
 self.assertExists(os.path.join(self.workspacedir, 'conf', 
'layer.conf'), 'Workspace directory not created. devtool output: %s' % 
result.output)
-matches = glob.glob(os.path.join(self.workspacedir, 'appends', 
'zvariant_*.bbappend'))
+matches = glob.glob(os.path.join(self.workspacedir, 'appends', 
'%s_*.bbappend' % testrecipe))
 self.assertTrue(matches, 'bbappend not created')
 # Test devtool status
 result = runCmd('devtool status')
-- 
2.39.0


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



[OE-Core][PATCH v4 01/10] devtool: selftest: Fix test_devtool_modify_git_crates_subpath inequality

2023-12-29 Thread Alex Kiernan
test_devtool_modify_git_crates_subpath expects 2 or more git URIs,
change the test from Greater to GreateEqual.

Signed-off-by: Alex Kiernan 
---

(no changes since v1)

 meta/lib/oeqa/selftest/cases/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/devtool.py 
b/meta/lib/oeqa/selftest/cases/devtool.py
index 47353dadff93..d733dd158106 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -940,7 +940,7 @@ class DevtoolModifyTests(DevtoolBase):
   'This test expects the %s recipe to have a git uri with 
subpath' % testrecipe)
 self.assertTrue(any([uri.startswith('crate://') for uri in src_uri]),
 'This test expects the %s recipe to have some crates 
in its src uris' % testrecipe)
-self.assertGreater(sum(map(lambda x:x.startswith('git://'), src_uri)), 
2,
+self.assertGreaterEqual(sum(map(lambda x:x.startswith('git://'), 
src_uri)), 2,
'This test expects the %s recipe to have several 
git:// uris' % testrecipe)
 self.assertTrue(any([uri.startswith('file://') and '.patch' in uri for 
uri in src_uri]),
 'This test expects the %s recipe to have a patch in 
its src uris' % testrecipe)
-- 
2.39.0


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



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2023-12-29 Thread Chen Qi via lists.openembedded.org
OK, I'll do it after New Year's Day.

Regards,
Qi


-Original Message-
From: Alexander Kanavin  
Sent: Friday, December 29, 2023 4:04 PM
To: Chen, Qi 
Cc: Alexandre Belloni ; 
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

On Fri, 29 Dec 2023 at 03:38, Chen Qi via lists.openembedded.org 
 wrote:
> > TEST_SUITES:append = ' systemd'
> > DISTRO_FEATURES:append = ' pam systemd usrmerge'
> > VIRTUAL-RUNTIME_init_manager = 'systemd'
> > DISTRO_FEATURES_BACKFILL_CONSIDERED = 'sysvinit'
>
> OK, I see.
>
> I'd suggest replacing the above 4 lines with a single line:
>
> INIT_MANAGER = "systemd"
>
> The INIT_MANAGER mechanism was added to make switching init managers easier.

I agree. The 4 lines are defined in two places here:
https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json

Can you send a patch to replace them with INIT_MANAGER?

Alex

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



Re: [OE-Core][PATCH v3 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Alex Kiernan
I wondered if that was going to be the case, since we saw that with
zvariant too... I guess we exclude it :| I'll respin the patch set

On Fri, Dec 29, 2023 at 8:07 AM Alexandre Belloni
 wrote:
>
> Hello Alex,
>
> This fails the reproducibility test:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4159/steps/13/logs/stdio
>
> https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231228-881dx278/packages/diff-html/
>
> On 28/12/2023 14:59:10+, Alex Kiernan wrote:
> > Signed-off-by: Alex Kiernan 
> > ---
> >
> > (no changes since v1)
> >
> >  .../hello-rs/hello-rs-crates.inc  |  8 +++
> >  .../hello-rs/0001-Greet-OE-Core.patch | 24 +++
> >  .../hello-rs/hello-rs_0.1.0.bb| 19 +++
> >  3 files changed, 51 insertions(+)
> >  create mode 100644 
> > meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> >  create mode 100644 
> > meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> >  create mode 100644 
> > meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> >
> > diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc 
> > b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> > new file mode 100644
> > index ..9646482b2875
> > --- /dev/null
> > +++ b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> > @@ -0,0 +1,8 @@
> > +# Autogenerated with 'bitbake -c update_crates hello-rs'
> > +
> > +# from Cargo.lock
> > +SRC_URI += " \
> > +crate://crates.io/figlet-rs/0.1.5 \
> > +"
> > +
> > +SRC_URI[figlet-rs-0.1.5.sha256sum] = 
> > "4742a071cd9694fc86f9fa1a08fa3e53d40cc899d7ee532295da2d085639fbc5"
> > diff --git 
> > a/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch 
> > b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> > new file mode 100644
> > index ..7569ccef7bbb
> > --- /dev/null
> > +++ 
> > b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> > @@ -0,0 +1,24 @@
> > +From 3aea1ece0ca6ac0bf0ffe42736827af22966f767 Mon Sep 17 00:00:00 2001
> > +From: Alex Kiernan 
> > +Date: Wed, 27 Dec 2023 09:55:48 +
> > +Subject: [PATCH] Greet "OE-Core"
> > +
> > +Signed-off-by: Alex Kiernan 
> > +Upstream-Status: Inappropriate
> > +---
> > + src/main.rs | 2 +-
> > + 1 file changed, 1 insertion(+), 1 deletion(-)
> > +
> > +diff --git a/src/main.rs b/src/main.rs
> > +index f4a310758b19..224eca65c38d 100644
> > +--- a/src/main.rs
> >  b/src/main.rs
> > +@@ -3,7 +3,7 @@ use hello_lib::greet;
> > +
> > + fn main() {
> > + let standard_font = FIGfont::standard().unwrap();
> > +-let greeting = greet(None);
> > ++let greeting = greet(Some("OE-Core"));
> > + let figure = standard_font.convert();
> > + println!("{}", figure.unwrap());
> > + }
> > diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb 
> > b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> > new file mode 100644
> > index ..0046b2ca0356
> > --- /dev/null
> > +++ b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> > @@ -0,0 +1,19 @@
> > +SUMMARY = "Simple hello world example"
> > +HOMEPAGE = "https://github.com/akiernan/hello-bin;
> > +LICENSE = "Unlicense"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680"
> > +
> > +SRC_URI = 
> > "git://github.com/akiernan/hello-bin.git;protocol=https;branch=main;subpath=rust
> >  \
> > +   file://0001-Greet-OE-Core.patch \
> > +   
> > git://github.com/akiernan/hello-lib.git;protocol=https;branch=main;name=hello-lib;destsuffix=hello-lib;type=git-dependency
> >  \
> > +"
> > +SRCREV = "d3d096eda182644868f8e7458dcfa538ff637db3"
> > +
> > +SRCREV_FORMAT .= "_hello-lib"
> > +SRCREV_hello-lib = "59c84574e844617043cf337bc8fa537cf87ad8ae"
> > +
> > +S = "${WORKDIR}/rust"
> > +
> > +inherit cargo cargo-update-recipe-crates ptest-cargo
> > +
> > +require ${BPN}-crates.inc
> > --
> > 2.39.0
> >
>
> >
> > 
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com



-- 
Alex Kiernan

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



Re: [OE-Core][PATCH v3 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-29 Thread Alexandre Belloni via lists.openembedded.org
Hello Alex,

This fails the reproducibility test:

https://autobuilder.yoctoproject.org/typhoon/#/builders/117/builds/4159/steps/13/logs/stdio

https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231228-881dx278/packages/diff-html/

On 28/12/2023 14:59:10+, Alex Kiernan wrote:
> Signed-off-by: Alex Kiernan 
> ---
> 
> (no changes since v1)
> 
>  .../hello-rs/hello-rs-crates.inc  |  8 +++
>  .../hello-rs/0001-Greet-OE-Core.patch | 24 +++
>  .../hello-rs/hello-rs_0.1.0.bb| 19 +++
>  3 files changed, 51 insertions(+)
>  create mode 100644 
> meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
>  create mode 100644 
> meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
>  create mode 100644 meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> 
> diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc 
> b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> new file mode 100644
> index ..9646482b2875
> --- /dev/null
> +++ b/meta-selftest/recipes-extended/hello-rs/hello-rs-crates.inc
> @@ -0,0 +1,8 @@
> +# Autogenerated with 'bitbake -c update_crates hello-rs'
> +
> +# from Cargo.lock
> +SRC_URI += " \
> +crate://crates.io/figlet-rs/0.1.5 \
> +"
> +
> +SRC_URI[figlet-rs-0.1.5.sha256sum] = 
> "4742a071cd9694fc86f9fa1a08fa3e53d40cc899d7ee532295da2d085639fbc5"
> diff --git 
> a/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch 
> b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> new file mode 100644
> index ..7569ccef7bbb
> --- /dev/null
> +++ 
> b/meta-selftest/recipes-extended/hello-rs/hello-rs/0001-Greet-OE-Core.patch
> @@ -0,0 +1,24 @@
> +From 3aea1ece0ca6ac0bf0ffe42736827af22966f767 Mon Sep 17 00:00:00 2001
> +From: Alex Kiernan 
> +Date: Wed, 27 Dec 2023 09:55:48 +
> +Subject: [PATCH] Greet "OE-Core"
> +
> +Signed-off-by: Alex Kiernan 
> +Upstream-Status: Inappropriate
> +---
> + src/main.rs | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/src/main.rs b/src/main.rs
> +index f4a310758b19..224eca65c38d 100644
> +--- a/src/main.rs
>  b/src/main.rs
> +@@ -3,7 +3,7 @@ use hello_lib::greet;
> + 
> + fn main() {
> + let standard_font = FIGfont::standard().unwrap();
> +-let greeting = greet(None);
> ++let greeting = greet(Some("OE-Core"));
> + let figure = standard_font.convert();
> + println!("{}", figure.unwrap());
> + }
> diff --git a/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb 
> b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> new file mode 100644
> index ..0046b2ca0356
> --- /dev/null
> +++ b/meta-selftest/recipes-extended/hello-rs/hello-rs_0.1.0.bb
> @@ -0,0 +1,19 @@
> +SUMMARY = "Simple hello world example"
> +HOMEPAGE = "https://github.com/akiernan/hello-bin;
> +LICENSE = "Unlicense"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=7246f848faa4e9c9fc0ea91122d6e680"
> +
> +SRC_URI = 
> "git://github.com/akiernan/hello-bin.git;protocol=https;branch=main;subpath=rust
>  \
> +   file://0001-Greet-OE-Core.patch \
> +   
> git://github.com/akiernan/hello-lib.git;protocol=https;branch=main;name=hello-lib;destsuffix=hello-lib;type=git-dependency
>  \
> +"
> +SRCREV = "d3d096eda182644868f8e7458dcfa538ff637db3"
> +
> +SRCREV_FORMAT .= "_hello-lib"
> +SRCREV_hello-lib = "59c84574e844617043cf337bc8fa537cf87ad8ae"
> +
> +S = "${WORKDIR}/rust"
> +
> +inherit cargo cargo-update-recipe-crates ptest-cargo
> +
> +require ${BPN}-crates.inc
> -- 
> 2.39.0
> 

> 
> 
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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



Re: [OE-core][PATCH 1/3] systemd: upgrade to 255.1

2023-12-29 Thread Alexander Kanavin
On Fri, 29 Dec 2023 at 03:38, Chen Qi via lists.openembedded.org
 wrote:
> > TEST_SUITES:append = ' systemd'
> > DISTRO_FEATURES:append = ' pam systemd usrmerge'
> > VIRTUAL-RUNTIME_init_manager = 'systemd'
> > DISTRO_FEATURES_BACKFILL_CONSIDERED = 'sysvinit'
>
> OK, I see.
>
> I'd suggest replacing the above 4 lines with a single line:
>
> INIT_MANAGER = "systemd"
>
> The INIT_MANAGER mechanism was added to make switching init managers easier.

I agree. The 4 lines are defined in two places here:
https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json

Can you send a patch to replace them with INIT_MANAGER?

Alex

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