[OE-core][PATCH] json-c: avoid ptest failure caused by valgrind

2024-09-19 Thread Chen Qi via lists.openembedded.org
From: Chen Qi json-c's ptest will automatically detect valgrind and use it to run tests. This will fail in case valgrind does not work, e.g., intel-x86-64 (corei7-64) + lib32 image. The error is about illegal instruction. Error message is like below: Illegal instruction (core d

[OE-core][scarthgap][PATCH] qemu: back port patches to fix riscv64 build failure

2024-09-13 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Backport patches to fix riscv64 build failure. Signed-off-by: Chen Qi --- meta/recipes-devtools/qemu/qemu.inc | 3 + ...kvm-change-KVM_REG_RISCV_FP_F-to-u32.patch | 75 ...kvm-change-KVM_REG_RISCV_FP_D-to-u64.patch | 73 ...cv-kvm-change

Re: [OE-core] why does EXTRA_IMAGE_FEATURES += "ptest-pkgs" not install *all* ptest pkgs?

2024-09-02 Thread Chen Qi via lists.openembedded.org
On 9/2/24 19:04, Robert P. J. Day wrote: On Mon, 2 Sep 2024, Richard Purdie wrote: On Mon, 2024-09-02 at 06:39 -0400, Robert P. J. Day via lists.openembedded.org wrote:   i'm sure i've overlooked something silly, but in building a qemuarm64 image to demo ptest to some colleagues, poky by def

Re: [OE-core][PATCH 1/2] util-linux/util-linux-libuuid: upgrade from 2.40.1 to 2.40.2

2024-08-29 Thread Chen Qi via lists.openembedded.org
from 2.40.1 to 2.40.2 On 27/08/2024 11:02:47+0200, Joao Marcos Costa via lists.openembedded.org wrote: > Hello, Chen > > On 8/22/24 11:26, Chen Qi via lists.openembedded.org wrote: > > From: Chen Qi > > > > Upgrade util-linux from 2.40.1 to 2.40.2. > >

Re: [PATCH] [OE-core] [PATCH] systemd: use update-alternatives to solve conflicts with polkit

2024-08-28 Thread Chen Qi via lists.openembedded.org
Hi Khem, the owner/permission change is from the following commit in meta-oe: commit 6da0fd21c900e32a0693a6b27d38182f19c8c76c Author: Luca Boccassi bl...@debian.org Date: Mon Aug 12 12:15:40 2024 +0100 polkit: stop overriding DAC on /usr/share/polkit-1/rules.d

Re: [OE-core][PATCH 1/2] util-linux/util-linux-libuuid: upgrade from 2.40.1 to 2.40.2

2024-08-27 Thread Chen Qi via lists.openembedded.org
@lists.openembedded.org Subject: Re: [OE-core][PATCH 1/2] util-linux/util-linux-libuuid: upgrade from 2.40.1 to 2.40.2 Hello, Chen On 8/22/24 11:26, Chen Qi via lists.openembedded.org wrote: From: Chen Qi <mailto:qi.c...@windriver.com> Upgrade util-linux from 2.40.1 to 2.40.2. 0001-

[OE-core][PATCH 2/2] shadow: upgrade from 4.15.1 to 4.16.0

2024-08-22 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Upgrade shadow from 4.15.1 to 4.16.0. Signed-off-by: Chen Qi --- meta/recipes-extended/shadow/shadow.inc | 2 +- .../shadow/{shadow_4.15.1.bb => shadow_4.16.0.bb} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename meta/reci

[OE-core][PATCH 1/2] util-linux/util-linux-libuuid: upgrade from 2.40.1 to 2.40.2

2024-08-22 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Upgrade util-linux from 2.40.1 to 2.40.2. 0001-Revert-autotools-make-pam-install-path-configurable.patch is added to solve a problem of lastlog2 pam module not installed in the expected location. Signed-off-by: Chen Qi --- ...2.40.1.bb => util-linux-libuuid_2.40.2.bb} |

Re: [OE-core] [PATCH 10/24] kmod: upgrade 32 -> 33

2024-08-20 Thread Chen Qi via lists.openembedded.org
The 0001-Use-portable-implementation-for-basename-API.patch should be dropped, as it has been merged upstream, with some changes. Regards, Qi -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of wangmy via lists.openembedded.org Sent: Tuesday, August 20, 2024

Re: [OE-core] [PATCH v2] util-linux: Add PACKAGECONFIG option to mitigate rootfs remount error

2024-08-19 Thread Chen Qi via lists.openembedded.org
I agree with Alex, if we really need to add this PACKAGECONFIG, the default should be enabling mountfd support. Regards, Qi On 8/19/24 16:42, Chen Qi via lists.openembedded.org wrote: Please see my comments in your v1 patch. I don't think we should add this PACKAGECONFIG, instead the

Re: [OE-core] [PATCH v2] util-linux: Add PACKAGECONFIG option to mitigate rootfs remount error

2024-08-19 Thread Chen Qi via lists.openembedded.org
Please see my comments in your v1 patch. I don't think we should add this PACKAGECONFIG, instead the util-linux's check codes need to be improved. Regards, Qi On 8/19/24 16:22, Niko Mauno via lists.openembedded.org wrote: The 2.39 version of util-linux took new file descriptors based mount ke

Re: [OE-core] [PATCH] util-linux: Add 'no-libmount-mountfd' PACKAGECONFIG option

2024-08-19 Thread Chen Qi via lists.openembedded.org
I'm a little concerned about this patch because PACKAGECONFIG like this is likely to sit there forever. The master branch's kernel version is at least 6.6. So this patch does not have any effect for master branch, right? If this PACKAGECONFIG is added, when should we remove it? Also, if the auto

Re: [OE-core][PATCH v2] python3: skip readline limited history tests

2024-08-14 Thread Chen Qi via lists.openembedded.org
ell people why, though I prefer to use readline as the default, as it would provide better user experience. Regards, Qi -Original Message- From: Trevor Gamblin Sent: Wednesday, August 14, 2024 9:04 PM To: Chen, Qi ; openembedded-core@lists.openembedded.org Cc: alex.kana...

Re: [OE-core][PATCH v2] python3: skip readline limited history tests

2024-08-13 Thread Chen Qi via lists.openembedded.org
The github issue you referenced here is not an issue that tracks this test failure. It's an issue that introduced the original commit, and has been closed. If a problem is 100% reproducible, at least some open issue should be there for tracking to validate an explicit skip. As far as I can see,

Re: [OE-core] [oe]printhello

2024-08-12 Thread Chen Qi via lists.openembedded.org
I think it's because do_build is not executed. meta/classes-global/base.bbclass:do_build[noexec] = "1" Regards, Qi On 8/9/24 14:41, Andrej Valek wrote: Dear community! I know this could be a funny question, but I wanted to use the "printhello" recipe as a basic example. But looks like, that

Re: [OE-core][PATCH] json-c: change SUMMARY and DESCRIPTION

2024-08-12 Thread Chen Qi via lists.openembedded.org
Thanks. I've sent out V2. Regards, Qi On 8/12/24 15:53, Alexander Kanavin wrote: A better commit header would be: 'json-c: use upstream texts for SUMMARY and DESCRIPTION' 'Change' is vague. Alex On Mon, 12 Aug 2024 at 09:01, Chen Qi via lists.openembedded.org wrote

[OE-core][PATCH V2] json-c: use upstream texts for SUMMARY and DESCRIPTION

2024-08-12 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Change SUMMARY and DESCRIPTION according to json-c's homepage https://github.com/json-c/json-c/wiki. Signed-off-by: Chen Qi --- meta/recipes-devtools/json-c/json-c_0.17.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/json-c

[OE-core][PATCH] json-c: change SUMMARY and DESCRIPTION

2024-08-12 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Change SUMMARY and DESCRIPTION according to json-c's homepage https://github.com/json-c/json-c/wiki. Signed-off-by: Chen Qi --- meta/recipes-devtools/json-c/json-c_0.17.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/json-c

[OE-core][PATCH V2] kexec-tools: avoid kernel warning

2024-08-06 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Running command 'kexec -p /path/to/crash-kernel --reuse-cmdline' will give out the following warning: kexec[970]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set Add MFD_NOEXEC_SEAL explicitly to avoid such warning. Signed-off-by: Chen Qi --

Re: [OE-core][PATCH] kexec-tools: avoid kernel warning

2024-08-06 Thread Chen Qi via lists.openembedded.org
or upstream? Please do explain. I think it should be sent upstream. Alex I've explained in the patch right above the Upstream-Status line. On Wed 7. Aug 2024 at 6.34, Chen Qi via lists.openembedded.org <https://urldefense.com/v3/__http://

Re: [OE-core][PATCH] kexec-tools: avoid kernel warning

2024-08-06 Thread Chen Qi via lists.openembedded.org
On 8/7/24 12:17, Alexander Kanavin wrote: What is oe specific in this patch and why that makes it inappropriate for upstream? Please do explain. I think it should be sent upstream. Alex I've explained in the patch right above the Upstream-Status line. On Wed 7. Aug 2024 at 6.34, Ch

[OE-core][PATCH] kexec-tools: avoid kernel warning

2024-08-06 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Running command 'kexec -p /path/to/crash-kernel --reuse-cmdline' will give out the following warning: kexec[970]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set Add MFD_NOEXEC_SEAL explicitly to avoid such warning. Signed-off-by: Chen Qi --

Re: [OE-core][PATCH v5 2/3] openssh: systemd notification was implemented upstream

2024-07-17 Thread Chen Qi via lists.openembedded.org
n Behalf Of Jose Quaresma Sent: Wednesday, July 17, 2024 6:53 PM To: Chen, Qi Cc: Khem Raj ; openembedded-core@lists.openembedded.org; Jose Quaresma Subject: Re: [OE-core][PATCH v5 2/3] openssh: systemd notification was implemented upstream ChenQi mailto:qi.c...@windriver.com>> escreveu (quart

Re: [OE-core][PATCH v5 2/3] openssh: systemd notification was implemented upstream

2024-07-17 Thread Chen Qi via lists.openembedded.org
I think the problem might be related to the "+Type=notify-reload" change in sshd@.service. It's in inetd mode so the upstream change about SYSTEMD_NOTIFY should have nothing to do with it. I also doubt if the following line should be removed from sshd.service. -ExecReload=@BASE_BINDIR@/kill -HU

[OE-core][PATCH V2 2/5] systemd-boot: upgrade from 255.6 to 256

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Patch 0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch is added to resolve build time error. Signed-off-by: Chen Qi --- ...ve_255.6.bb => systemd-boot-native_256.bb} | 0 ...temd-boot_255.6.bb => systemd-boot_256.bb} | 2 ++ ...on.build-ensure-VERSION_TAG-

[OE-core][PATCH V2 4/5] libssh2: remove util-linux-col from ptest dependencies

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi After util-linux upgrade to 2.40.1, we got the following QA issue on musl: WARNING: libssh2-1.11.0-r0 do_package_qa: QA Issue: libssh2-ptest rdepends on util-linux-col, but it isn't a build dependency? [build-deps] The issue appeared because new version util-linu

[OE-core][PATCH V2 5/5] pciutils: remove textrel INSANE_SKIP

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi The current pciutils does not have this textrel problem any more. Signed-off-by: Chen Qi --- meta/recipes-bsp/pciutils/pciutils_3.13.0.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-bsp/pciutils/pciutils_3.13.0.bb b/meta/recipes-bsp/pciutils

[OE-core][PATCH V2 1/5] systemd: upgrade from 255.6 to 256

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi The 'cgroupv2' PACKAGECONFIG is dropped as systemd now only supports cgroupv2. The 'kmod' PACKAGECONFIG is now added 'libkmod' as a runtime dependency. This is because systemd 256 uses dlopen to make use of libkmod, and there's no way for our l

[OE-core][PATCH V2 3/5] util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

2024-07-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi License-Update: === GPL-2.0 is changed to GPL-2.0-only in README.licensing. The following two patches are removed as they've been there in new release: 0001-login-utils-include-libgen.h-for-basename-API.patch mit-license.patch Other existing patches are refr

Re: [OE-core][PATCH 3/4] util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

2024-07-10 Thread Chen Qi via lists.openembedded.org
On 7/10/24 04:54, Richard Purdie wrote: On Thu, 2024-07-04 at 01:24 -0700, Chen Qi via lists.openembedded.org wrote: From: Chen Qi License-Update: === GPL-2.0 is changed to GPL-2.0-only in README.licensing. The following two patches are removed as they've been there i

[OE-core][PATCH 1/4] systemd: upgrade from 255.6 to 256

2024-07-04 Thread Chen Qi via lists.openembedded.org
From: Chen Qi The 'cgroupv2' PACKAGECONFIG is dropped as systemd now only supports cgroupv2. mime is now inherited because ${datadir}/mime/packages/io.systemd.xml is a mime type file. For musl specific patches, most are refreshed. One old patch is dropped, and three new ones are ad

[OE-core][PATCH 4/4] pciutils: remove textrel INSANE_SKIP

2024-07-04 Thread Chen Qi via lists.openembedded.org
From: Chen Qi The current pciutils does not have this textrel problem any more. Signed-off-by: Chen Qi --- meta/recipes-bsp/pciutils/pciutils_3.13.0.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-bsp/pciutils/pciutils_3.13.0.bb b/meta/recipes-bsp/pciutils

[OE-core][PATCH 3/4] util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

2024-07-04 Thread Chen Qi via lists.openembedded.org
From: Chen Qi License-Update: === GPL-2.0 is changed to GPL-2.0-only in README.licensing. The following two patches are removed as they've been there in new release: 0001-login-utils-include-libgen.h-for-basename-API.patch mit-license.patch Other existing patches are refr

[OE-core][PATCH 2/4] systemd-boot: upgrade from 255.6 to 256

2024-07-04 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Patch 0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch is added to resolve build time error. Signed-off-by: Chen Qi --- ...ve_255.6.bb => systemd-boot-native_256.bb} | 0 ...temd-boot_255.6.bb => systemd-boot_256.bb} | 2 ++ ...on.build-ensure-VERSION_TAG-

Re: [OE-core] [PATCH] VOLATILE_TMP_DIR: Extend to specify the persistence of /var/tmp

2024-07-04 Thread Chen Qi via lists.openembedded.org
I'd suggest we look at this patch again. IMHO, this patch brings the following benefits. 1) Variable names are more consistent The current situation: VOLATILE_LOG_DIR handles /var/log. VOLATILE_TMP_DIR handles /tmp. After this patch, the situation is: VOLATILE_LOG_DIR hanldes /var/log. VOLATIL

Re: [OE-core] [PATCH 1/2] systemd: Mitigate /var/tmp type mismatch issue

2024-07-04 Thread Chen Qi via lists.openembedded.org
There's a pending patch from Changqing, which also handles /var/tmp. The title is: [OE-core] [PATCH] VOLATILE_TMP_DIR: Extend to specify the persistence of /var/tmp I think we'd better handle that patch first because you may need to change to the way you used in your second patch to handle thi

Re: [OE-core] [scarthgap][PATCH] OpenSSL: Security fix for CVE-2024-5535

2024-07-03 Thread Chen Qi via lists.openembedded.org
Yes, indeed. The fixup commits are squashed into the original ones. Regards, Qi From: openembedded-core@lists.openembedded.org On Behalf Of Siddharth Doshi via lists.openembedded.org Sent: Wednesday, July 3, 2024 5:44 PM To: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [scar

Re: [OE-core][scarthgap][PATCH] OpenSSL: Security fix for CVE-2024-5535

2024-07-03 Thread Chen Qi via lists.openembedded.org
The https://github.com/openssl/openssl/pull/24717 has 16 commits. You're backporting the first 10. Are the remaining 6 needed? Regards, Qi On 7/3/24 01:11, Siddharth Doshi via lists.openembedded.org wrote: From: Siddharth Doshi Upstream-Status: Backport from [https://github.com/openssl/open

Re: [OE-core] [PATCH] acl: Add attr to RDEPENDS:${PN}-ptest

2024-06-26 Thread Chen Qi via lists.openembedded.org
Just one question: the testcase's name looks like it's supposed to be run on some NFS. Does it? Regards, Qi -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of Yu, Mingli via lists.openembedded.org Sent: Thursday, June 27, 2024 2:18 PM To: openembedded-core@

Re: [OE-core][PATCH 2/2] findutils: upgrade from 4.9.0 to 4.10.0

2024-06-14 Thread Chen Qi via lists.openembedded.org
: Saturday, June 15, 2024 6:57 AM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH 2/2] findutils: upgrade from 4.9.0 to 4.10.0 This fails ptests with qemux86_64/musl bitbake core-image-ptest-findutils results in -find: invalid user name or UID argument to -user

Re: [OE-core][PATCH 1/2] coreutils: split out coreutils-getlimits

2024-06-07 Thread Chen Qi via lists.openembedded.org
st checked debian:latest and its finduitls package is of version 4.9.0. So chances are that they haven't met this problem or that their build system will not reveal such problem to them. Regards, Qi -Original Message- From: Ross Burton Sent: Friday, June 7, 2024 10:46 PM To: Chen, Qi C

Re: [OE-core][PATCH 1/2] coreutils: split out coreutils-getlimits

2024-06-07 Thread Chen Qi via lists.openembedded.org
ssage- From: Ross Burton Sent: Friday, June 7, 2024 9:34 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH 1/2] coreutils: split out coreutils-getlimits On 6 Jun 2024, at 13:20, Chen Qi via lists.openembedded.org wrote: > > From: Chen Qi > >

Re: [OE-core][RFC 0/2] Write out file manifest in do_unpack

2024-06-06 Thread Chen Qi via lists.openembedded.org
If I understand it correctly, spdx uses patched source, so in order to be potentially used by spdx, the function should be called after do_patch Regards, Qi On 6/6/24 22:03, Joshua Watt via lists.openembedded.org wrote: This patch series implements a mechanism for do_unpack to write out a mani

[OE-core][PATCH 1/2] coreutils: split out coreutils-getlimits

2024-06-06 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Previously, the noinst_PROGRAM getlimits is put in coreutils-ptest package in order to execute the ptest. However, this command might also be needed by other ptest packages. As an example, findutils 4.10.0 ptest pacakge would need this command. So we split it out into a new package

[OE-core][PATCH 2/2] findutils: upgrade from 4.9.0 to 4.10.0

2024-06-06 Thread Chen Qi via lists.openembedded.org
From: Chen Qi autoconf-2.73.patch is dropped as it's not needed any more. The run-ptest script is fixed. Instead copying function definitions from init.cfg file, we should just install init.cfg file in the ptest package. The coreutils-getlimits is added as a runtime dependency of the

Re: [OE-core][PATCH V2] util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

2024-05-28 Thread Chen Qi via lists.openembedded.org
in at that time. Which one do you prefer? Regards, Qi On 25/05/2024 13:03:48+0800, Chen Qi via lists.openembedded.org wrote: From: Chen Qi License-Update: === GPL-2.0 is changed to GPL-2.0-only in README.licensing. The following two patches are removed as they've been

[OE-core][PATCH] libnl: change HOMEPAGE

2024-05-25 Thread Chen Qi via lists.openembedded.org
From: Chen Qi http://www.infradead.org/~tgr/libnl/ stops at 2014, the current official home page should be the github one. Signed-off-by: Chen Qi --- meta/recipes-support/libnl/libnl_3.9.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libnl

[OE-core][PATCH V2] kmod: upgrade from 31 to 32

2024-05-25 Thread Chen Qi via lists.openembedded.org
From: Chen Qi kmod now installs symlinks in 'make install'. https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/commit/? id=e98cef6f3f8cd6f8bfb26d147b2c209297453cca Changes are made in do_install to ensure that we can to continue to use sbin. This is because our

[OE-core][PATCH V2] util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

2024-05-24 Thread Chen Qi via lists.openembedded.org
From: Chen Qi License-Update: === GPL-2.0 is changed to GPL-2.0-only in README.licensing. The following two patches are removed as they've been there in new release: 0001-login-utils-include-libgen.h-for-basename-API.patch mit-license.patch Other existing patches are refr

Re: [OE-core][PATCH 6/6] kmod: upgrade from 31 to 32

2024-05-21 Thread Chen Qi via lists.openembedded.org
Thanks. I'll fix it and send out V2. Regards, Qi On 5/22/24 06:26, Richard Purdie wrote: On Mon, 2024-05-20 at 16:10 +0800, Chen Qi via lists.openembedded.org wrote: From: Chen Qi kmod now installs symlinks in 'make install'. https://git.kernel.org/pub/scm/utils/kernel/kmod/

Re: [OE-core][PATCH 2/6] util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

2024-05-21 Thread Chen Qi via lists.openembedded.org
Got it. I'll look into this error, and also the other one you pointed out in another email. Regards, Qi -Original Message- From: Alexandre Belloni Sent: Tuesday, May 21, 2024 5:32 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH 2/6]

Re: [OE-core][PATCH 1/6] systemd/systemd-boot: upgrade from 255.4 to 255.6

2024-05-21 Thread Chen Qi via lists.openembedded.org
sday, May 21, 2024 5:38 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH 1/6] systemd/systemd-boot: upgrade from 255.4 to 255.6 This also fails on the autobuilders: ERROR: systemd-1_255.6-r0 do_patch: Applying patch '0001-basic-add-PIDFS-mag

[OE-core][PATCH 3/6] pciutils: upgrade from 3.11.1 to 3.12.0

2024-05-20 Thread Chen Qi via lists.openembedded.org
From: Chen Qi configure.patch is rebased against the new version. Signed-off-by: Chen Qi --- meta/recipes-bsp/pciutils/pciutils/configure.patch | 13 - .../{pciutils_3.11.1.bb => pciutils_3.12.0.bb} | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) rename m

[OE-core][PATCH 5/6] cups: upgrade from 2.4.7 to 2.4.8

2024-05-20 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Signed-off-by: Chen Qi --- meta/recipes-extended/cups/{cups_2.4.7.bb => cups_2.4.8.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/cups/{cups_2.4.7.bb => cups_2.4.8.bb} (51%) diff --git a/meta/recipes-extended/cups/cups_2.4.7.bb

[OE-core][PATCH 1/6] systemd/systemd-boot: upgrade from 255.4 to 255.6

2024-05-20 Thread Chen Qi via lists.openembedded.org
From: Chen Qi musl patches are refreshed to avoid 'patch-fuzz' error. Signed-off-by: Chen Qi --- ..._255.4.bb => systemd-boot-native_255.6.bb} | 0 ...md-boot_255.4.bb => systemd-boot_255.6.bb} | 0 meta/recipes-core/systemd/systemd.inc | 2 +- ...1-mi

[OE-core][PATCH 6/6] kmod: upgrade from 31 to 32

2024-05-20 Thread Chen Qi via lists.openembedded.org
From: Chen Qi kmod now installs symlinks in 'make install'. https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/commit/? id=e98cef6f3f8cd6f8bfb26d147b2c209297453cca With this change, we no longer need to deal with the symlinks in do_install. Besides, as upstream chooses '

[OE-core][PATCH 4/6] shadow: upgrade from 4.15.0 to 4.15.1

2024-05-20 Thread Chen Qi via lists.openembedded.org
From: Chen Qi 0001-lib-copydir-copy_entry-use-temporary-stat-buffer.patch is dropped as it has been merged and is in this new release. Signed-off-by: Chen Qi --- ...copy_entry-use-temporary-stat-buffer.patch | 37 --- meta/recipes-extended/shadow/shadow.inc | 3

[OE-core][PATCH 2/6] util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

2024-05-20 Thread Chen Qi via lists.openembedded.org
From: Chen Qi License-Update: === GPL-2.0 is changed to GPL-2.0-only in README.licensing. The following two patches are removed as they've been there in new release: 0001-login-utils-include-libgen.h-for-basename-API.patch mit-license.patch Other existing patches are refr

[OE-core][PATCH] ovmf: set CVE_STATUS for a few CVEs

2024-04-08 Thread Chen Qi via lists.openembedded.org
From: Chen Qi For all those CVE-2019-x CVEs, following the links in NVD, we can see they have all been fixed. For CVE-2014-4859 and CVE-2014-4860, there's no useful links in NVD, but according to the following two links, they have also been fixed. https://security-tracker.debia

Re: [OE-core] OE-core CVE metrics for master on Sun 07 Apr 2024 01:00:01 AM HST

2024-04-08 Thread Chen Qi via lists.openembedded.org
octo-secur...@lists.yoctoproject.org Cc: Chen, Qi Subject: Re: [OE-core] OE-core CVE metrics for master on Sun 07 Apr 2024 01:00:01 AM HST On Sun, 2024-04-07 at 01:19 -1000, Steve Sakoman wrote: > Branch: master > > New this week: 21 CVEs > CVE-2014-4859 (CVSS3: 6.8 MEDIUM): ovm

[OE-core][PATCH V2 1/2] ovmf: set CVE_PRODUCT and CVE_VERSION

2024-04-05 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the version should be the date only. Here's an example: https://nvd.nist.gov/vuln/detail/CVE-2023-45232 Signed-off-by: Chen Qi --- meta/recipes-core/ovmf/ovmf_git.bb | 3 +++ 1 file changed, 3 inse

[OE-core][PATCH V2 2/2] ovmf: set CVE_STATUS for CVE-2014-8271

2024-04-05 Thread Chen Qi via lists.openembedded.org
From: Chen Qi CVE-2014-8271 has an unusual versioning, svn_16280, which breaks the version comparison and gives us warning like below: Failed to compare 202308 < svn_16280 for CVE-2014-8271 The fix has been there since 2014, our current version has included the fix. Signed-off-by: Chen

Re: [OE-core][PATCH V2] ovmf: set CVE_PRODUCT and CVE_VERSION

2024-03-26 Thread Chen Qi via lists.openembedded.org
ping On 3/6/24 14:54, Chen Qi via lists.openembedded.org wrote: From: Chen Qi Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the version should be the date only. Here's an example: https://nvd.nist.gov/vuln/detail/CVE-2023-45232 Signed-off-by: Chen Qi --- me

Re: [OE-core] Yocto rpm packages do not keep the modified CONFFILES

2024-03-11 Thread Chen Qi via lists.openembedded.org
Packages + overrides are a very common way to configure/customize images. Take OE itself as an example, the sshd_config is a conffile for openssh, but in rootfs-postcommands.bbclass, it is customized. This means sshd_config might be different from the one that is recorded in rpm database. This i

Re: [OE-core] [PATCH V2] dnf: remove log_lock.pid before exit

2024-03-07 Thread Chen Qi via lists.openembedded.org
Hi Alex, You can see dnf's solution is: https://github.com/rpm-software-management/dnf/blob/master/etc/tmpfiles.d/dnf.conf I don't think dnf community will look into this issue. And I would expect it to be a complicated one. Because dnf's own solution looks like more of a workaround. At the sa

Re: Patchtest results for [OE-core][PATCH 2/2] systemd: remove systemd-bus-proxy settings

2024-03-06 Thread Chen Qi via lists.openembedded.org
Is this a patchtest bug? I can see the 'Signed-off-by:' is there. Regards, Qi -Original Message- From: patcht...@automation.yoctoproject.org Sent: Thursday, March 7, 2024 10:36 AM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Patchtest results for [OE-c

[OE-core][PATCH 1/2] systemd: use RDEPENDS for systemd-vconsole-setup

2024-03-06 Thread Chen Qi via lists.openembedded.org
From: Chen Qi With NO_RECOMMENDATIONS set to "1", systemd-vonsole-setup.service will fail because it invokes /usr/bin/loadkeys, which is from kbd. The RRECOMMENDATION should be changed to RDEPENDS, because it's not a recommenation, instead it's necessary. Signed-off-by

[OE-core][PATCH 2/2] systemd: remove systemd-bus-proxy settings

2024-03-06 Thread Chen Qi via lists.openembedded.org
From: Chen Qi systemd-bus-proxy was removed since v230. >From the NEWS file: """ * systemd-bus-proxyd has been removed, as kdbus is unlikely to still be merged into the kernel in its current form. """ Signed-off-by: Chen Qi --- meta/recipes-core/syste

[OE-core][PATCH V2] ovmf: set CVE_PRODUCT and CVE_VERSION

2024-03-05 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the version should be the date only. Here's an example: https://nvd.nist.gov/vuln/detail/CVE-2023-45232 Signed-off-by: Chen Qi --- meta/recipes-core/ovmf/ovmf_git.bb | 3 +++ 1 file changed, 3 inse

[OE-core][PATCH] ovmf: set CVE_PRODUCT and CVE_VERSION

2024-03-05 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Set CVE_PRODUCT and CVE_VERSION for ovmf. NVD uses 'edk2' and the version should be the date only. Here's an example: https://nvd.nist.gov/vuln/detail/CVE-2023-45232 Signed-off-by: Chen Qi --- meta/recipes-core/ovmf/ovmf_git.bb | 3 +++ 1 file changed, 3 inse

Re: [OE-core] [RFC OE-core][PATCH 3/3] goarch: disable dynamic linking globally

2024-02-27 Thread Chen Qi via lists.openembedded.org
Is this 1.21 upgrade going to be merged in LTS 5.0? The reason I'm asking is that I'm going to upgrade some recipes in meta-virt and I'd like to check what would be the go version in the next release. P.S. Is this runtime error OE specific? Is it caused by some OE specific patch? Regards, Qi

Re: [OE-core] [PATCH 1/3] useradd.bbclass: Fix order of postinst-useradd-*

2024-02-23 Thread Chen Qi via lists.openembedded.org
1. I can see what this patch mainly does is ensuring groups first, then user, then groupmems. But the current useradd_preinst, which is called by useradd_sysroot has already ensured this. Is that not working? 2. You're using bb.warn as a method of outputting debugging information, which I don'

Re: [OE-core] [PATCH] sanity.bbclass: raise_sanity_error if /tmp is noexec

2024-02-20 Thread Chen Qi via lists.openembedded.org
Hi Michal, I just noticed the change. I can't find the V2 in my mailbox, so I'm going to reply here. I'm a little concerned about forcing such requirement here. It does not seem *necessary*. As far as I know, the whole oe-core does not need /tmp to be exec. The commit message says 'old meson',

Re: [OE-core] systemd-firstboot not triggered on read/write /etc folder

2024-02-18 Thread Chen Qi via lists.openembedded.org
Does adding 'stateless-rootfs' to IMAGE_FEATURES work for you? meta/classes-recipe/image.bbclass:IMAGE_PREPROCESS_COMMAND:append = " ${@ 'systemd_preset_all systemd_disable_units' if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d) and not bb.utils.contains('IMAGE_FEATURES', 'st

[OE-core][PATCH] gnupg: disable tests to avoid running target binaries at build time

2024-02-17 Thread Chen Qi via lists.openembedded.org
From: Chen Qi By default, the tests are built and run at do_compile and we can see errors like below in log.do_compile: gnupg-2.4.4/tests/cms/inittests: line 99: ../../sm/gpgsm: cannot execute binary file: Exec format error Note that the do_compile process still succeeds. However, we&#

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

2024-01-22 Thread Chen Qi via lists.openembedded.org
On 1/22/24 16:04, Alexandre Belloni wrote: On 22/01/2024 12:38:15+0800, ChenQi wrote: On 1/20/24 02:14, Alexandre Belloni wrote: On 19/01/2024 19:13:25+0100, Alexandre Belloni wrote: On 19/01/2024 11:09:20+0800, Chen Qi via lists.openembedded.org wrote: What's the status of this patch s

Re: [OE-core][PATCH] devtool/standard: avoid KeyError

2024-01-21 Thread Chen Qi via lists.openembedded.org
On 1/22/24 13:00, Chen Qi via lists.openembedded.org wrote: On 1/20/24 01:19, Richard Purdie wrote: On Tue, 2023-12-26 at 12:44 +0800, Chen Qi via lists.openembedded.org wrote: From: Chen Qi The initial_revs["."] does not have an initial value, resulting in the following error:  

[OE-core][PATCH] oeqa/selftest: add test case to cover 'devtool modify -n' for a git recipe

2024-01-21 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Add a test case to ensure the following error does not happen again for 'devtool modify -n'. Traceback (most recent call last): File "/buildarea2/chenqi/poky/scripts/devtool", line 349, in ret = main() File "/buildarea2/chenqi/poky/scripts/de

Re: [OE-core][PATCH] devtool/standard: avoid KeyError

2024-01-21 Thread Chen Qi via lists.openembedded.org
On 1/20/24 01:19, Richard Purdie wrote: On Tue, 2023-12-26 at 12:44 +0800, Chen Qi via lists.openembedded.org wrote: From: Chen Qi The initial_revs["."] does not have an initial value, resulting in the following error: KeyError: '.' The problem could be reproduced by

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

2024-01-21 Thread Chen Qi via lists.openembedded.org
On 1/20/24 02:14, Alexandre Belloni wrote: On 19/01/2024 19:13:25+0100, Alexandre Belloni wrote: On 19/01/2024 11:09:20+0800, Chen Qi via lists.openembedded.org wrote: What's the status of this patch series? Is there any issue or concern that I missed? I'm glad you asked, I got

Re: [OE-core] [PATCH v3 1/2] shadow: update 4.13 -> 4.14.2

2024-01-19 Thread Chen Qi via lists.openembedded.org
Friday, January 19, 2024 6:12 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org; Alexander Kanavin Subject: Re: [OE-core] [PATCH v3 1/2] shadow: update 4.13 -> 4.14.2 I just tried poky master on ubuntu 20.04, and the issues do not appear. Do you have a custom setup? Alex On Fri,

Re: [OE-core][PATCH] devtool/standard: avoid KeyError

2024-01-18 Thread Chen Qi via lists.openembedded.org
ping On 12/26/23 12:44, Chen Qi via lists.openembedded.org wrote: From: Chen Qi The initial_revs["."] does not have an initial value, resulting in the following error: KeyError: '.' The problem could be reproduced by running: devtool modify -n systemd Si

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

2024-01-18 Thread Chen Qi via lists.openembedded.org
What's the status of this patch series? Is there any issue or concern that I missed? Regards, Qi On 12/27/23 12:20, Chen Qi via lists.openembedded.org wrote: From: Chen Qi 1. Patch changes: 0004-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch is removed because it has no

Re: [OE-core] [PATCH v3 1/2] shadow: update 4.13 -> 4.14.2

2024-01-18 Thread Chen Qi via lists.openembedded.org
o (pass, sizeof pass); - exit (1); - } - --- -2.34.1 - diff --git a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch index

Re: [OE-core] [PATCH 2/2] openssl: Fix ptest dependencies on perl-module-* being ignored by COMPLEMENTARY_GLOB

2024-01-16 Thread Chen Qi via lists.openembedded.org
Can we change the perl recipe to simply use 'RDEPENDS' for perl-modules? I don't see what benefit the 'RRECOMMENDS' could give us. Regards, Qi On 1/17/24 02:56, Tim Orling wrote: On Tue, Jan 16, 2024 at 9:21 AM Alexander Kanavin wrote: How about simple depending on specific module pa

Re: [OE-core][PATCH] kernel-devsrc: copy source files under tools/

2024-01-11 Thread Chen Qi via lists.openembedded.org
On 1/12/24 11:22, Bruce Ashfield wrote: On Thu, Jan 11, 2024 at 10:12 PM ChenQi wrote: On 1/12/24 10:50, Bruce Ashfield wrote: On Thu, Jan 11, 2024 at 9:44 PM Chen Qi via lists.openembedded.org wrote: From: Chen Qi The source files under tools/ also need to be copied because in some case

Re: [OE-core][PATCH] kernel-devsrc: copy source files under tools/

2024-01-11 Thread Chen Qi via lists.openembedded.org
On 1/12/24 10:50, Bruce Ashfield wrote: On Thu, Jan 11, 2024 at 9:44 PM Chen Qi via lists.openembedded.org wrote: From: Chen Qi The source files under tools/ also need to be copied because in some case, they'll be needed. For example, in case that the CONFIG_DEBUG_INFO_BTF is enabled,

[OE-core][PATCH] kernel-devsrc: copy source files under tools/

2024-01-11 Thread Chen Qi via lists.openembedded.org
From: Chen Qi The source files under tools/ also need to be copied because in some case, they'll be needed. For example, in case that the CONFIG_DEBUG_INFO_BTF is enabled, we'll get the following error without this patch when doing 'make prepare'. No rule to make ta

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

2024-01-09 Thread Chen Qi via lists.openembedded.org
I just sent out a patch for the yocto-autobuilder-helper repo to use '/root' as the ROOT_HOME's value in case of 'sysvinit with systemd'. Regards, Qi -Original Message- From: Alexandre Belloni Sent: Tuesday, January 9, 2024 3:47 PM To: Chen,

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

2024-01-07 Thread Chen Qi via lists.openembedded.org
Another patch in this series fixes the warning: rootfs-postcommands.bbclass: ignore comment mismatch in systemd_user_check Is that patch also staged? Regards, Qi -Original Message- From: Alexandre Belloni Sent: Saturday, January 6, 2024 12:02 AM To: Chen, Qi Cc: openembedded-core

Re: [OE-core][PATCH] debugedit: add UPSTREAM_CHECK settings

2024-01-03 Thread Chen Qi via lists.openembedded.org
On 1/3/24 16:28, Alexander Kanavin wrote: On Wed, 3 Jan 2024 at 08:45, Chen Qi via lists.openembedded.org wrote: On 1/3/24 15:21, Alexander Kanavin via lists.openembedded.org wrote: This works as expected. What made you think it’s broken and needs changing? The 404 ERROR that 'devtool

Re: [OE-core][PATCH] debugedit: add UPSTREAM_CHECK settings

2024-01-02 Thread Chen Qi via lists.openembedded.org
> ... > --2024-01-02 16:51:30-- https://sourceware.org/ftp/debugedit/ > ... > --2024-01-02 16:51:30-- https://sourceware.org/ftp/debugedit/5.0/ > ... > INFO: debugedit                 5.0             MATCH          Chen > Qi > > What does devto

[OE-core][PATCH 3/3] sudo: upgrade from 1.9.15p2 to 1.9.15p5

2024-01-02 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Signed-off-by: Chen Qi --- .../sudo/{sudo_1.9.15p2.bb => sudo_1.9.15p5.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/sudo/{sudo_1.9.15p2.bb => sudo_1.9.15p5.bb} (96%) diff --git a/meta/recipes-extended/sudo/sudo_1.

[OE-core][PATCH 1/3] util-linux/util-linux-libuuid: ugprade from 2.39.2 to 2.39.3

2024-01-02 Thread Chen Qi via lists.openembedded.org
From: Chen Qi License-Update: === GPL-1.0-or-later is added. fdisk.c is licensed under it. 0001-lscpu-Use-4K-buffer-size-instead-of-BUFSIZ.patch is dropped as it's been in the new version. Signed-off-by: Chen Qi --- ...2.39.2.bb => util-linux-libuuid_2.39.3.bb} | 0 meta

[OE-core][PATCH 2/3] dbus-wait: bump srcrev

2024-01-02 Thread Chen Qi via lists.openembedded.org
From: Chen Qi This upgrade only includes one new commit: 64bc7c8 SECURITY.md: Add file Signed-off-by: Chen Qi --- meta/recipes-core/dbus-wait/dbus-wait_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/dbus-wait/dbus-wait_git.bb b/meta/recipes-core

Re: [OE-core][PATCH] debugedit: add UPSTREAM_CHECK settings

2024-01-02 Thread Chen Qi via lists.openembedded.org
ugedit/5.0/ ... INFO: debugedit 5.0 MATCH Chen Qi What does devtool output for you, without the patch? Alex The command and output are as below. Pure poky master. No local patches. $ devtool check-upgrade-status debugedit NOTE: Starting bitbake serv

[OE-core][PATCH] devtool: use straight print in check-upgrade-status output

2024-01-02 Thread Chen Qi via lists.openembedded.org
From: Chen Qi 'devtool check-upgrade-status' is for reporting upgradable status for recipes. The output should always be printed out. So we should just use 'print' instead of 'logger.info' as the latter will be suppressed if '-q' parameter is supp

[OE-core][PATCH] debugedit: add UPSTREAM_CHECK settings

2024-01-02 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Add UPSTREAM_CHECK_URI(REGEX) to allow for checking new releases for debugedit recipe. Signed-off-by: Chen Qi --- meta/recipes-devtools/debugedit/debugedit_5.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/debugedit/debugedit_5.0.bb b/meta

[OE-core][PATCH 1/2] gawk: upgrade from 5.2.2 to 5.3.0

2024-01-01 Thread Chen Qi via lists.openembedded.org
From: Chen Qi Signed-off-by: Chen Qi --- meta/recipes-extended/gawk/{gawk_5.2.2.bb => gawk_5.3.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/gawk/{gawk_5.2.2.bb => gawk_5.3.0.bb} (97%) diff --git a/meta/recipes-extended/gawk/gawk_5.2.2.bb

[OE-core][PATCH 2/2] systemd-bootchart: upgrade from 234 to 235

2024-01-01 Thread Chen Qi via lists.openembedded.org
From: Chen Qi 0001-architecture-Recognise-RISCV-32-RISCV-64.patch is dropped because it has some problem. It's a patch from systemd repo, yet it's marked as 'Backport' for systemd-bootchart. systemd and systemd-bootchart are two different projects. Now in 235, RISCV64

  1   2   3   4   5   6   7   8   9   10   >