Re: [OE-core][PATCH] unfs3: fix symlink time setting issue

2023-04-26 Thread Chen Qi via lists.openembedded.org
Thanks Luca. I found my .gitconfig setting is: from = Chen Qi I've now changed it to: >From = qi.c...@windriver.com Hope this would solve the problem. Regards, Qi -Original Message- From: Luca Ceresoli Sent: Wednesday, April 26, 2023 5:30 PM To: Chen Qi via lists.openembedded.

[OE-core][PATCH] unfs3: fix symlink time setting issue

2023-04-24 Thread Chen Qi via lists.openembedded.org
ker pull' also fails with a 'stale file' error. The common pattern here is extracting files from a bundle and setting times for them. Signed-off-by: Chen Qi --- .../0001-attr-fix-utime-for-symlink.patch | 88 +++ meta/recipes-devtools/unfs3/unfs3_git.bb | 1 + 2 files cha

Re: [OE-core] mesa-native fails on master

2023-04-03 Thread Chen Qi
I just met the same issue. My host is ubuntu18, gcc version is 7.5.0. Regards, Qi -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of Mark Hatle Sent: Tuesday, April 4, 2023 10:25 AM To: Patches and discussions about the oe-core layer Subject: [OE-core]

[OE-core][kirkstone][PATCH] openssh: fix CVE-2023-28531

2023-03-28 Thread Chen Qi
Backport patch to fix CVE-2023-28531. Signed-off-by: Chen Qi --- ...-destination-constraints-for-smartca.patch | 35 +++ .../openssh/openssh_8.9p1.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-connectivity/openssh/openssh/0001

Re: [OE-core][PATCH] maintainers.inc: add debugedit maintainer

2023-03-27 Thread Chen Qi
Sorry for the late reply. I noticed that you've helped do that. Thanks  Regards, Qi -Original Message- From: Alexandre Belloni Sent: Friday, March 24, 2023 3:10 AM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] maintainers.inc: add debugedit

[OE-core][PATCH] maintainers.inc: add debugedit maintainer

2023-03-23 Thread Chen Qi
Signed-off-by: Chen Qi --- meta/conf/distro/include/maintainers.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index c76447a25d..682ec2cfdf 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b

[OE-core][PATCH V2] debugedit: add recipe

2023-03-23 Thread Chen Qi
, rpmbuild fails to generate debuginfo package when %debug_package is added to spec file. Signed-off-by: Chen Qi --- .../debugedit/debugedit_5.0.bb| 28 + ...tools-Add-error.h-for-non-glibc-case.patch | 102 ++ ...ugcrcfix.c-do-not-use-64bit-variants.patch | 56

Re: [OE-core][PATCH 1/2] debugedit: add recipe

2023-03-23 Thread Chen Qi
I've fixed the failure and sent out V2. I noticed there're some patches (from Khem) in oe-core that fix similar issues for musl, and I referenced them. Thanks Khem. Regards, Qi -Original Message- From: Alexandre Belloni Sent: Thursday, March 23, 2023 5:54 AM To: Chen, Qi Cc

Re: [OE-core][PATCH 1/2] debugedit: add recipe

2023-03-21 Thread Chen Qi
On 3/22/23 10:36, Chen Qi via lists.openembedded.org wrote: On 3/22/23 01:50, Ross Burton wrote: On 21 Mar 2023, at 15:40, Chen Qi via lists.openembedded.org wrote: This recipe provides find-debuginfo which is used by rpm, more specifically rpmbuild. RPM upstream removed find-debuginfo

Re: [OE-core][PATCH 1/2] debugedit: add recipe

2023-03-21 Thread Chen Qi
On 3/22/23 01:50, Ross Burton wrote: On 21 Mar 2023, at 15:40, Chen Qi via lists.openembedded.org wrote: This recipe provides find-debuginfo which is used by rpm, more specifically rpmbuild. RPM upstream removed find-debuginfo and switched to use debugedit in the following commit. https

[OE-core][PATCH] rpm: fix RPM_ETCCONFIGDIR value in SDK

2023-03-21 Thread Chen Qi
orrect because of the ${libdir}, not $OECORE_NATIVE_SYSROOT. In fact, due to the substitution mechanism, the $OECORE_NATIVE_SYSROOT is empty. Signed-off-by: Chen Qi --- meta/recipes-devtools/rpm/rpm_4.18.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devt

[OE-core][PATCH 2/2] rpm: add back find-debuginfo support

2023-03-21 Thread Chen Qi
by rpm. More specifically it's needed by rpmbuild to supporting generating debuginfo package when %debug_package is enabled. Signed-off-by: Chen Qi --- meta/recipes-devtools/rpm/rpm_4.18.0.bb | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/rpm

[OE-core][PATCH 1/2] debugedit: add recipe

2023-03-21 Thread Chen Qi
, rpmbuild fails to generate debuginfo package when %debug_package is added to spec file. Signed-off-by: Chen Qi --- .../debugedit/debugedit_5.0.bb| 21 +++ 1 file changed, 21 insertions(+) create mode 100644 meta/recipes-devtools/debugedit/debugedit_5.0.bb diff

Re: [OE-core] [PATCH] systemd-systemctl: Create machine-id with "uninitialized" text in it

2023-03-19 Thread Chen Qi
On 3/20/23 06:55, Marek Vasut wrote: On 3/17/23 15:32, Chen, Qi wrote: Hi Marek, Hi, sorry for the delay I used the following line in local.conf and the firstboot worked: IMAGE_PREPROCESS_COMMAND:remove = "systemd_preset_all;" But doesn't that also inhibit the rootfs-time pres

Re: [OE-core] [PATCH] systemd-systemctl: Create machine-id with "uninitialized" text in it

2023-03-17 Thread Chen Qi
Hi Marek, I used the following line in local.conf and the firstboot worked: IMAGE_PREPROCESS_COMMAND:remove = "systemd_preset_all;" Regards, Qi -Original Message- From: Marek Vasut Sent: Friday, March 17, 2023 7:54 PM To: Chen, Qi ; openembedded-core@lists.openembed

[OE-core][PATCH] Revert "systemd-systemctl: Create machine-id with "uninitialized" text in it"

2023-03-15 Thread Chen Qi
ated at runtime # (for example on a tmpfs), this script shouldn't run at all and we # allow systemd to completely populate /etc. """ For example, removing 'systemd_preset_all;' from IMAGE_PREPROCESS_COMMAND in some distro conf file will achieve the same effect of the original

Re: [OE-core] [PATCH] systemd-systemctl: Create machine-id with "uninitialized" text in it

2023-03-15 Thread Chen Qi
This patch is forcing systemd to do preset-all at boot time (first boot) in a function that simulates 'preset-all' at rootfs time. If we look at the comments above the changed line, we can see that the /etc/machine-id file was deliberately created as empty, for the purpose of making systemd

[OE-core][PATCH V2] gpgme: fix python setuptools invalid version issue

2023-02-27 Thread Chen Qi
ing the '-unknown' suffix. Signed-off-by: Chen Qi --- ...autogen.sh-remove-unknown-in-version.patch | 34 +++ meta/recipes-support/gpgme/gpgme_1.18.0.bb| 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unkn

[OE-core][PATCH] gpgme: fix python setuptools invalid version issue

2023-02-27 Thread Chen Qi
ing the '-unknown' suffix. Signed-off-by: Chen Qi --- ...autogen.sh-remove-unknown-in-version.patch | 34 +++ meta/recipes-support/gpgme/gpgme_1.18.0.bb| 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-support/gpgme/gpgme/0001-autogen.sh-remove-unkn

Re: [OE-core] [PATCH] nghttp2: Fix do_rootfs error as following:

2023-02-23 Thread Chen Qi
On 2/24/23 09:45, leimao...@fujitsu.com wrote: Hi I'm sorry I missed this patch. This does not seem correct. These two packages have FILES specified, and ALLOW_EMPTY:${PN} is set to "1". I suspect the actually problem lies in somewhere else. This recipe is special. Libsoup has a hard

Re: [OE-core] [RFC PATCH 0/2] Handling of ${PN}-dev RRECOMMENDS non-existent ${PN}

2023-02-23 Thread Chen Qi
I have some concerns about this series of patches. 1. The QA check is not checking for RRECOMMENDS on non-existentent packages, it's only checking for non-existent in-recipe packages. That is, it's not checking packages from other recipes. 2. If patch 2 is sent, then the patch for 'a general

Re: [OE-core] [PATCH] nghttp2: Fix do_rootfs error as following:

2023-02-09 Thread Chen Qi
This does not seem correct. These two packages have FILES specified, and ALLOW_EMPTY:${PN} is set to "1". I suspect the actually problem lies in somewhere else. Regards, Qi On 2/10/23 15:34, leimaohui wrote: Problem: conflicting requests - nothing provides nghttp2-client >= 1.51.0 needed

[OE-core][PATCH] ffmpeg: fix configure failure on noexec /tmp host

2023-02-08 Thread Chen Qi
. Signed-off-by: Chen Qi --- meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.1.2.bb index 0f67c9e949..63abc5d437 100644 --- a/meta/recipes-multimedia/ffmpeg

Re: [OE-core][PATCH 0/3] systemd: split timesync and networkd to packages

2023-02-07 Thread Chen Qi
I think using systemd-conf to solve your original problem is more reasonable. After all, the extra rootfs space is very small. Also, BAD_RECOMMENDATIONS is not supported well for deb package backend. poky/meta/classes-recipe/rootfs_deb.bbclass: bb.warn("Debian package install does not support

Re: [OE-core] [PATCH 01/52] ifupdown: update 0.8.43 -> 0.8.41

2023-02-07 Thread Chen Qi
Typo. It should be 0.8.39 -> 0.8.41 Regards, Qi On 2/8/23 15:20, Alexander Kanavin wrote: Do not apply patch conditionally, there is no need for that, and conditional patches are problematic with upgrades and devtool. Signed-off-by: Alexander Kanavin ---

Re: [OE-core][PATCH] rm_work: adjust dependency to make do_rm_work_all depend on do_rm_work

2023-01-18 Thread Chen Qi
You may need to check with the layer maintainers to find out why these two layers are not working. It does not feel right if you revert a patch but cannot prove it’s wrong. Regards, Qi From: Jose Quaresma Sent: Wednesday, January 18, 2023 9:10 PM To: quaresma.j...@gmail.com Cc: Chen, Qi

[OE-core][PATCH 2/2] rpm: do not export MAGIC in SDK

2023-01-16 Thread Chen Qi
components in nativesdk-rpm-build package uses libmagic, the nativesdk-file package will be installed and the MAGIC var will be exported. Signed-off-by: Chen Qi --- meta/recipes-devtools/rpm/rpm_4.18.0.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/rpm/rpm_4.18.0.bb b

[OE-core][PATCH 1/2] file: export MAGIC in SDK

2023-01-16 Thread Chen Qi
. Signed-off-by: Chen Qi --- meta/recipes-devtools/file/file_5.44.bb | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/file/file_5.44.bb b/meta/recipes-devtools/file/file_5.44.bb index b3d821518a..d4b49341b7 100644 --- a/meta/recipes-devtools/file

Re: [OE-core][PATCH] rpm: make nativesdk-rpm rdepend on nativesdk-file

2023-01-16 Thread Chen Qi
, Qi ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] rpm: make nativesdk-rpm rdepend on nativesdk-file On Mon, 2023-01-16 at 10:39 +, Richard Purdie via lists.openembedded.org wrote: > On Mon, 2023-01-16 at 16:48 +0800, Chen Qi wrote: > > For now, running `fil

Re: [OE-core][PATCH] rpm: make nativesdk-rpm rdepend on nativesdk-file

2023-01-16 Thread Chen Qi
ander Kanavin Sent: Monday, January 16, 2023 5:18 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] rpm: make nativesdk-rpm rdepend on nativesdk-file I'm not sure I understand the issue. Why isn't file from the host working properly in the presence of the M

Re: [OE-core] [PATCH 1/2] nativesdk-rpm: export RPM_ETCCONFIGDIR and MAGIC in environment like RPM_CONFIGDIR

2023-01-16 Thread Chen Qi
Hi Martin, This patch is causing a regression: running `file xxx' inside SDK errors out. e.g., sdkinst [3][0] $ file environment-setup-core2-64-poky-linux file: could not find any valid magic files! sdkinst [3][0] $ which file /usr/bin/file I've sent out a patch to fix the issue: rpm: make

[OE-core][PATCH] rpm: make nativesdk-rpm rdepend on nativesdk-file

2023-01-16 Thread Chen Qi
For now, running `file' inside SDK errors out. file: could not find any valid magic files! This is because nativesdk-rpm exports MAGIC. So let's make nativesdk-rpm depend on file for better user experiences. Signed-off-by: Chen Qi --- meta/recipes-devtools/rpm/rpm_4.18.0.bb | 1 + 1 file

[OE-core][PATCH] libseccomp: fix typo in DESCRIPTION

2023-01-10 Thread Chen Qi
Fix typo in DESCRIPTION: and -> an. Signed-off-by: Chen Qi --- meta/recipes-support/libseccomp/libseccomp_2.5.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/libseccomp/libseccomp_2.5.4.bb b/meta/recipes-support/libseccomp/libseccomp_2.5.4.bb in

[OE-core][PATCH] dhcpcd: backport two patches to fix runtime error

2023-01-09 Thread Chen Qi
In case of nodistro, dhcpcd gives us 'Bad system call' error and exits. This is because there are syscalls that should be allowed but not in privsep. Backport two patches to fix this issue. Signed-off-by: Chen Qi --- .../dhcpcd/dhcpcd_9.4.1.bb| 2 ++ ...low-getrandom-sysctl

[OE-core][PATCH] rm_work: adjust dependency to make do_rm_work_all depend on do_rm_work

2022-12-04 Thread Chen Qi
patch, all built recipes WORKDIR will be cleaned up with a few expected exceptions such as kernel and qemu-helper-native. Signed-off-by: Chen Qi --- meta/classes/rm_work.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work

Re: [OE-core][master][PATCH] rm_work: add note about how to clean all built recipes' workdir

2022-12-02 Thread Chen Qi
@lists.openembedded.org On Behalf Of Richard Purdie via lists.openembedded.org Sent: Thursday, December 1, 2022 7:41 PM To: Chen, Qi ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core][master][PATCH] rm_work: add note about how to clean all built recipes' workdir On Thu, 2022-12-01

[OE-core][master][PATCH] rm_work: add note about how to clean all built recipes' workdir

2022-12-01 Thread Chen Qi
testing, the output is empty, which demonstrates that all extra tasks introduced by '--runall build' are these three tasks. Signed-off-by: Chen Qi --- meta/classes/rm_work.bbclass | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass

[OE-core][PATCH] psplash: consider the situation of psplash not exist for systemd

2022-11-30 Thread Chen Qi
poky distro is used. To fix this issue, add condition check in the corresponding systemd services. Signed-off-by: Chen Qi --- meta/recipes-core/psplash/files/psplash-start.service | 1 + meta/recipes-core/psplash/files/psplash-systemd.service | 1 + 2 files changed, 2 insertions(+) diff --git

[OE-core][PATCH] bc: extend to nativesdk

2022-11-30 Thread Chen Qi
bc is needed for compiling kernel modules, more specifially whenr running `make scripts prepare'. In linux-yocto.inc, we have bc-native in DEPENDS. But we will need nativesdk-bc in case we compile a kernel module inside SDK. Signed-off-by: Chen Qi --- meta/recipes-extended/bc/bc_1.07.1.bb | 2

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Chen Qi
'distrodata.Distrodata.test_checkpkg buildoptions.SourceMirroring.test_yocto_source_mirror reproducible'. Regards, Qi -Original Message- From: Richard Purdie Sent: Thursday, November 24, 2022 9:47 PM To: alexandre.bell...@bootlin.com; Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Chen Qi
-Original Message- From: Alexandre Belloni Sent: Thursday, November 24, 2022 9:02 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together On 24/11/2022 12:24:38+, Chen Qi wrote: > Hi Alexandre, > >

Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-24 Thread Chen Qi
-selftest -r A -R A.B.C'. Regards, Qi -Original Message- From: Alexandre Belloni Sent: Thursday, November 24, 2022 7:35 PM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] selftest: allow '-R' and '-r' be used together Hello, On 23/11/2022 18:55:28-0800

[OE-core][PATCH] selftest: allow '-R' and '-r' be used together

2022-11-23 Thread Chen Qi
of the mutually exclusive group and change its help message. After this change, the following command could be used. oe-selftest -r A -R A.B.C This does introduce a behavior regression. Previous 'oe-selftest -R xxx' needs to now be changed to 'oe-selftest -a -R xxx'. Signed-off-by: Chen Qi

Re: [OE-core][master][kirkstone][PATCH V2] kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild

2022-11-18 Thread Chen Qi
, and `date` reflects the time kernel’s do_compile is executed. Does my explanation make some sense? If I still miss something, please let me know. Thanks again for your review. Have a good weekend  Regards, Qi From: Jose Quaresma Sent: Friday, November 18, 2022 7:11 PM To: Chen, Qi Cc: openembedded

[OE-core][master][kirkstone][PATCH] dhcpcd: fix to work with systemd

2022-11-18 Thread Chen Qi
[4] https://github.com/systemd/systemd/issues/25032 [5] https://github.com/NetworkConfiguration/dhcpcd/pull/152 [6] https://github.com/NetworkConfiguration/dhcpcd/issues/146 Signed-off-by: Chen Qi --- .../dhcpcd/dhcpcd_9.4.1.bb| 1 + ...mprove-the-sitation-of-working-with-.

[OE-core][master][kirkstone][PATCH V3] resolvconf: make it work

2022-11-17 Thread Chen Qi
. This is because the above RDEPENDS change does not allow this any more. test_sstate_allarch_samesigs would fail if we don't do this. Signed-off-by: Chen Qi --- ...01-avoid-using-m-option-for-readlink.patch | 37 +++ .../resolvconf/resolvconf_1.91.bb | 9 +++-- 2 files

Re: [OE-core][PATCH] resolvconf: make it work

2022-11-17 Thread Chen Qi
To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] resolvconf: make it work On Tue, Nov 15, 2022 at 5:45 AM Chen Qi wrote: > > The current resolvconf does not work. Make it work with the following > changes. > 1. Install normalize-resolvconf, w

[OE-core][master][kirkstone][PATCH V2] kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild

2022-11-16 Thread Chen Qi
the # first line. """ It has made it very clear that it will not be re-generated unless we have KBUILD_BUILD_TIMESTAMP set explicitly. So we set this variable explicitly in do_compile to fix this issue. Signed-off-by: Chen Qi --- meta/classes-recipe/kernel.bbclass | 8

Re: [OE-core][master][kirkstone][PATCH] kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild

2022-11-16 Thread Chen Qi
: openembedded-core@lists.openembedded.org On Behalf Of Chen Qi via lists.openembedded.org Sent: Thursday, November 17, 2022 12:01 PM To: openembedded-core@lists.openembedded.org Subject: [OE-core][master][kirkstone][PATCH] kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild Currently

[OE-core][master][kirkstone][PATCH] kernel.bbclass: make KERNEL_DEBUG_TIMESTAMPS work at rebuild

2022-11-16 Thread Chen Qi
ot re-generated when do_compile task was re-executed. In mkcompile_h, we have: """ """ It has made it very clear that it will not be re-generated unless we have KBUILD_BUILD_TIMESTAMP set explicitly. So we set this variable explicitly in do_compile to fix this issue.

[OE-core][PATCH V2] resolvconf: make it work

2022-11-16 Thread Chen Qi
would fail if we don't do this. Signed-off-by: Chen Qi remove from allarch Signed-off-by: Chen Qi --- meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb b/meta

Re: [OE-core][PATCH] resolvconf: make it work

2022-11-15 Thread Chen Qi
Got it. It seems that after adding those RDEPENDS, resolvconf cannot remain as allarch. I'll send out V2. Regards, Qi -Original Message- From: Alexandre Belloni Sent: Wednesday, November 16, 2022 4:39 AM To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core

[OE-core][PATCH] resolvconf: make it work

2022-11-15 Thread Chen Qi
by the busybox's readlink does not support '-m'. sed is needed because we want to avoid package QA issue complaining sed is needed by no one provides it. Signed-off-by: Chen Qi --- meta/recipes-connectivity/resolvconf/resolvconf_1.91.bb | 6 -- 1 file changed, 4 insertions(+), 2

[OE-core][PATCH] pango: fix install-vs-shipped QA error

2022-11-10 Thread Chen Qi
In do_install, files are installed in ${libexecdir}, but this directory is not listed in FILES:${PN}. This will cause package QA error. Signed-off-by: Chen Qi --- meta/recipes-graphics/pango/pango_1.50.11.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes

[OE-core][master][kirkstone][PATCH V2] openssl: export necessary env vars in SDK

2022-10-19 Thread Chen Qi
xplicitly in nativesdk-openssl package so that when SDK is set up, it's in environment and we can get rid of the above error. Also, there are other env vars that need to be exported. And we export all of them to keep sync with openssl-native.bbclass. Signed-off-by: Chen Qi --- .../openssl/files/envi

[OE-core][master][kirkstone][PATCH] useradd-example: do not use unsupported clear text password

2022-09-28 Thread Chen Qi
The clear text password support has been dropped. So let's just use a normal ecrypted one. The password remains to be 'user3'. Signed-off-by: Chen Qi --- meta-skeleton/recipes-skeleton/useradd/useradd-example.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta

[OE-core][master][kirkstone][PATCH] openssl: export OPENSSL_MODULES in SDK

2022-09-27 Thread Chen Qi
xplicitly in nativesdk-openssl package so that when SDK is set up, it's in environment and we can get rid of the above error. Signed-off-by: Chen Qi --- meta/recipes-connectivity/openssl/files/environment.d-openssl.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/open

[OE-core][master][kirkstone][PATCH] shadow-securetty: allow ttyS4 for amd-snowyowl-64

2022-09-21 Thread Chen Qi
ttyS4 is also needed by some BSP such as amd-snowyowl-64. Let's allow it for convenience. Signed-off-by: Chen Qi --- meta/recipes-extended/shadow/files/securetty | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-extended/shadow/files/securetty b/meta/recipes-extended/shadow

Re: [OE-core] [PATCH 1/7] scripts/oe-setup-builddir: add a check that TEMPLATECONF is valid

2022-09-14 Thread Chen Qi
On 9/14/22 16:03, Alexander Kanavin wrote: On Wed, 14 Sept 2022 at 09:42, ChenQi wrote: Yes. The bblayers.conf.sample is generated dynamically according to project setup. Can we step back for a moment, I'd like to know more about how you do this. Is the code that does dynamic generation of

Re: [OE-core] [PATCH 1/7] scripts/oe-setup-builddir: add a check that TEMPLATECONF is valid

2022-09-14 Thread Chen Qi
On 9/14/22 14:39, Alexander Kanavin wrote: On Wed, 14 Sept 2022 at 07:49, ChenQi wrote: I'm reluctant to agree that this is like machine and distro, because it's a hard requirement that machine and distro definitions be under some layer, otherwise how can bitbake get info about it? But

Re: [OE-core] [PATCH 1/7] scripts/oe-setup-builddir: add a check that TEMPLATECONF is valid

2022-09-13 Thread Chen Qi
On 9/14/22 13:00, Alexander Kanavin wrote: Hello, this is done for reasons of discoverability and consistency with machine and distro definitions: they all should be under meta-somelayer/conf/. This way both tools and humans can easily find the config templates, and be certain that this is the

Re: [OE-core] [PATCH 1/7] scripts/oe-setup-builddir: add a check that TEMPLATECONF is valid

2022-09-13 Thread Chen Qi
Hi Alex, Why must TEMPLATECONF be under a layer? Regards, Qi On 8/31/22 19:13, Alexander Kanavin wrote: specifically that ../../layer.conf exists, and that second-from-last component in the path is 'templates'. This requires tweaking template.conf creation in eSDK bbclass, as we need to

Re: [OE-core][PATCH] python3-hypothesis: revert back to 6.46.11

2022-08-22 Thread Chen Qi
ping On 8/18/22 11:13, Chen Qi wrote: This package was broken since it was upgraded to 6.48, because it started using 'exceptiongroup' since then, which is missing in any meta layer. On target, when importing hypothesis, we meet the following error: Traceback (most recent call last

[OE-core][PATCH] python3-requests: add python3-compression dependency

2022-08-22 Thread Chen Qi
python3-requests makes use of 'zipfile' module, so we need to add python3-compression as a dependency, otherwise 'import requests' errors out. Signed-off-by: Chen Qi --- meta/recipes-devtools/python/python3-requests_2.28.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes

Re: [OE-core] [PATCH 28/42] python3-hypothesis: upgrade 6.54.1 -> 6.54.3

2022-08-19 Thread Chen Qi
Hi Alex, I sent a patch to revert this recipe's version to 6.46, because it was broken since it was upgraded to 6.48. In short, it's trying to use some python3.11 feature and falls back to a module which itself is a backport from python3.11. More details are in the commit message:

[OE-core][PATCH] python3-hypothesis: revert back to 6.46.11

2022-08-17 Thread Chen Qi
be better to revert to a working version and wait for python 3.11 to release. Signed-off-by: Chen Qi --- ...thon3-hypothesis_6.54.1.bb => python3-hypothesis_6.46.11.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-hypothesis_6.54.1.bb => py

[OE-core][PATCH] image_types_wic.bbclass: fix cross binutils dependency

2022-08-03 Thread Chen Qi
Enable multilib and wic at the same time and we'll meet the following error. ERROR: Nothing PROVIDES 'virtual/i686-wrsmllib32-linux-binutils' Adjust the dependency to take multilib into consideration. Signed-off-by: Chen Qi --- meta/classes/image_types_wic.bbclass | 2 +- 1 file changed, 1

Re: [OE-core][PATCH] glibc: make glibc-dev depend on kernel headers

2022-07-20 Thread Chen Qi
To: Chen, Qi Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH] glibc: make glibc-dev depend on kernel headers On Wed, Jul 20, 2022 at 10:52 PM Chen Qi mailto:qi.c...@windriver.com>> wrote: The linux kernel headers are necessary for glibc-dev, so we need to use RD

[OE-core][PATCH] glibc: make glibc-dev depend on kernel headers

2022-07-20 Thread Chen Qi
. fatal error: linux/errno.h: No such file or directory The problem could be reproduced by setting NO_RECOMMENDATIONS to "1" and then running: bitbake core-image-minimal -c populate_sdk bitbake core-image-minimal -c testsdk Signed-off-by: Chen Qi --- meta/recipes-core/glibc/g

Re: [OE-core] Question about nativesdk-qemuwrapper-cross

2022-07-06 Thread Chen Qi
As far as I know, qemuwrapper-cross should work in such case. You need to use qemuwrapper-cross instead of nativesdk-qemuwrapper-cross. Regards, Qi -Original Message- From: openembedded-core@lists.openembedded.org On Behalf Of leimaohui Sent: Thursday, July 7, 2022 9:04 AM To: Richard

[OE-core][PATCH] libsdl2: add back xvm and xinerama options

2022-05-24 Thread Chen Qi
-by: Chen Qi --- meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb index b112d63784..8519e7f732 100644 --- a/meta/recipes-graphics/libsdl2

Re: [OE-core] About the sstate cache directory hierarchy

2022-05-15 Thread Chen Qi
Hi Jacob, No. I haven't done anything since then, because I've been involved in something else. Regards, Qi -Original Message- From: Jacob Kroon Sent: Monday, May 16, 2022 1:30 PM To: Chen, Qi ; openembedded-core@lists.openembedded.org; Richard Purdie Subject: Re: [OE-core] About

[OE-core] Regression about go 1.18 + OE specific local patch

2022-05-10 Thread Chen Qi
Hi All, I met a regression after go was upgraded to 1.18+. The problem can be reproduced by running `bitbake nativesdk-skopeo', with meta-virtualization added in bblayers.conf. The error message is as below. """ | HASH[build golang.org/x/text/unicode/norm]: "import

[OE-core] GIT_CONFIG_PARAMETERS does not work

2022-05-05 Thread Chen Qi
Hi Ross & Richard, I'm building hardknott on host with git 2.36.0. And gnulib do_install fails with git unsafe repo error. The same error could be reproduced by reverting Khem's fix for gnulib do_install and building gnulib against master. | fatal: unsafe repository

[OE-core][PATCH] go-helloworld: remove unused GO_WORKDIR

2022-04-28 Thread Chen Qi
to support offline build. As a result, this recipe was changed back to only inherit go.bbclass. But the GO_WORKDIR setting was not cleaned up. Signed-off-by: Chen Qi --- meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core][master][kirkstone][PATCH 1/2] cases/buildepoxy.py: fix typo

2022-04-25 Thread Chen Qi
Signed-off-by: Chen Qi --- meta/lib/oeqa/sdk/cases/buildepoxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py index 385f8ccca8..f69f720cd6 100644 --- a/meta/lib/oeqa/sdk/cases/buildepoxy.py

[OE-core][master][kirkstone][PATCH 2/2] go.bbclass: disable the use of the default configuration file

2022-04-25 Thread Chen Qi
must be an absolute path According to `go help environment', """ Setting GOENV=off in the environment disables the use of the default configuration file. """ We can explicitly disable the configuration file by setting GOENV to off. Signed-off-by: Chen Qi --- meta/cl

[OE-core][PATCH] spirv-tools: fix to use sdk-1.3.204 branch

2022-04-07 Thread Chen Qi
e need to use the 'sdk-1.3.204' branch. Signed-off-by: Chen Qi --- meta/recipes-graphics/spir/spirv-tools_1.3.204.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/spir/spirv-tools_1.3.204.1.bb b/meta/recipes-graphics/spir/spirv-tools_1.3.204.1.b

Re: [OE-core] [PATCH] Added quotes around variables to prevent word splitting in the oe-init-build-env/oe-setup-builddir shell scripts.

2022-04-05 Thread Chen Qi
Whitespace is not a valid char in builddir. There's sanity check for this in sanity.bbclass: if val.find(' ') != -1:     status.addresult("Error, you have a space in your %s directory path. Please move the installation to a directory which doesn't include a space since autotools

[OE-core][PATCH] gobject-introspection: fix default search path for girdir

2022-03-29 Thread Chen Qi
girdir correctly. It's using the prefix instead of the actual girdir. Note that we don't get such error at do_rootfs time because the extra directories are speicified. But we will get such error at runtime when multilib is enabled. Signed-off-by: Chen Qi --- ...-ir-tool-template.in-fix-girdir

Re: [OE-core][PATCH] multilib_global.bbclass: fix setting preferred version for canadian recipes

2022-03-01 Thread Chen Qi
On 3/2/22 08:20, Richard Purdie wrote: On Tue, 2022-03-01 at 16:12 +0800, Chen Qi wrote: Currently the TRANSLATED_TARGET_ARCH is not changed when trying to set preferred version for canadian recipes. e.g. ``` bitbake core-image-minimal -c populate_sdk -e > env grep ^PREFERRED_VERSION_gcc-cr

[OE-core][PATCH] multilib_global.bbclass: fix setting preferred version for canadian recipes

2022-03-01 Thread Chen Qi
_VERSION_gcc-cross-canadian env ``` The result is: """ PREFERRED_VERSION_gcc-cross-canadian-i686="11.%" PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%" """ Signed-off-by: Chen Qi --- meta/classes/multilib_global.bbclass | 3 +++ 1

[OE-core][PATCH V3] mdadm: install mdcheck

2022-02-07 Thread Chen Qi
This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash to RDEPENDS. Signed-off-by: Chen Qi --- .../files/0001-Makefile-install-mdcheck.patch | 30 +++ meta/recipes-extended/mdadm/mdadm_4.2.bb | 2 ++ 2 files

Re: [OE-core][PATCH V2] mdadm: install mdcheck

2022-02-06 Thread Chen Qi
Just noticed this patch does not apply any more. I will send out V3 which applies to latest master. On 2/7/22 9:55 AM, Chen Qi wrote: ping On 1/26/22 2:54 PM, Chen Qi wrote: This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash

Re: [OE-core] About the sstate cache directory hierarchy

2022-02-06 Thread Chen Qi
[:2] *under* the pn/task/, to avoid too many files piling up in a single directory. Can you send this as an RFC patch? Alex Yes. I will ensure that all oe selftests pass before sending out patch. Regards, Qi On Fri, 28 Jan 2022 at 08:06, Chen Qi <mailto:qi.c...@windriver.com>&

Re: [OE-core][PATCH V2] mdadm: install mdcheck

2022-02-06 Thread Chen Qi
ping On 1/26/22 2:54 PM, Chen Qi wrote: This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash to RDEPENDS. Signed-off-by: Chen Qi --- .../files/0001-Makefile-install-mdcheck.patch | 30 +++ meta/recipes-extended

Re: [OE-core] About the sstate cache directory hierarchy

2022-01-27 Thread Chen Qi
On 1/28/22 3:06 PM, Chen Qi wrote: Hi All, I'm sending out this email because I'm wondering if we can change the sstate cache directory to use ${PN} and taskname as subditories. Hope to hear your opinions. Below is the long story. Recently I noticed that running `bitbake xxx -c cleansstate

[OE-core] About the sstate cache directory hierarchy

2022-01-27 Thread Chen Qi
tate: Took 0.00080108642578125 seconds It's much faster. In addition, the sub dirs now give more info, which should potentially make sstate cache easier to manage. Attached is the patch to quickly try things out. Hope to hear your opinions. Best Regards, Chen Qi >From 6f148d399c2ac575a9079eae682a56802df

[OE-core][PATCH V2] mdadm: install mdcheck

2022-01-25 Thread Chen Qi
This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash to RDEPENDS. Signed-off-by: Chen Qi --- .../files/0001-Makefile-install-mdcheck.patch | 30 +++ meta/recipes-extended/mdadm/mdadm_4.2.bb | 2 ++ 2 files

[OE-core][PATCH] mdadm: install mdcheck

2022-01-25 Thread Chen Qi
This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash to RDEPENDS. Signed-off-by: Chen Qi --- .../files/0001-Makefile-install-mdcheck.patch | 30 +++ meta/recipes-extended/mdadm/mdadm_4.2.bb | 2 ++ 2 files

Re: [OE-core][PATCH] mdadm: install mdcheck

2022-01-25 Thread Chen Qi
Please ignore this patch, it will cause qa error for mdadm-ptest. I'll send out V2. On 1/25/22 4:42 PM, Chen Qi wrote: This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash to RDEPENDS. Signed-off-by: Chen Qi --- .../files/0001

[OE-core][PATCH] mdadm: install mdcheck

2022-01-25 Thread Chen Qi
This script is used in mdcheck_xxx.service files. So we need to install it. Also, as it requires bash, we add bash to RDEPENDS. Signed-off-by: Chen Qi --- .../files/0001-Makefile-install-mdcheck.patch | 30 +++ meta/recipes-extended/mdadm/mdadm_4.2.bb | 4 ++- 2 files

[OE-core][hardknott][PATCH] populate_sdk_base: remove unneeded dirs such as /dev

2022-01-09 Thread Chen Qi
, SDK_PRUNE_SYSROOT_DIRS, to hold useless dir entries so that it could be extended. For example, '/usr/bin' could be added if wanted. (From OE-Core rev: 9154f71c7267e9731156c1dfd57397103e9e6a2b) Signed-off-by: Chen Qi Signed-off-by: Richard Purdie --- meta/classes/populate_sdk_base.bbclass | 11

[OE-core][PATCH V2] populate_sdk_base: remove unneeded dirs such as /dev

2022-01-06 Thread Chen Qi
, SDK_PRUNE_SYSROOT_DIRS, to hold useless dir entries so that it could be extended. For example, '/usr/bin' could be added if wanted. Signed-off-by: Chen Qi --- meta/classes/populate_sdk_base.bbclass | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meta/classes

Re: [OE-core][PATCH] core-image-tiny-initramfs: delete populate_sdk task

2022-01-04 Thread Chen Qi
On 12/29/21 5:36 AM, Ross Burton wrote: On Thu, 16 Dec 2021 at 05:09, Chen Qi wrote: Currently, if we do `bitbake core-image-tiny-initramfs' and then install the generated SDK, the following error appears. tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation

[OE-core][PATCH] populate_sdk_base: remove useless dirs such as /dev

2022-01-04 Thread Chen Qi
, SDK_USELESS_DIRS, to hold useless dir entries so that it could be extended. For example, '/usr/bin' could be added if wanted. Signed-off-by: Chen Qi --- meta/classes/populate_sdk_base.bbclass | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/meta/classes

[OE-core][hardknott][PATCH V4] busybox: backport patches to fix CVEs

2022-01-04 Thread Chen Qi
Backport patches to fix the following CVEs: CVE-2021-42373 CVE-2021-42378 CVE-2021-42379 CVE-2021-42380 CVE-2021-42381 CVE-2021-42382 CVE-2021-42383 CVE-2021-42384 CVE-2021-42385 CVE-2021-42386 Signed-off-by: Chen Qi --- .../busybox/busybox/0001-awk-fix-CVEs.patch | 3266

[OE-core][hardknott][PATCH V3] busybox: backport patches to fix CVEs

2021-12-28 Thread Chen Qi
Backport patches to fix the following CVEs: CVE-2021-42373 CVE-2021-42378 CVE-2021-42379 CVE-2021-42380 CVE-2021-42381 CVE-2021-42382 CVE-2021-42383 CVE-2021-42384 CVE-2021-42385 CVE-2021-42386 Signed-off-by: Chen Qi --- .../busybox/busybox/0001-awk-fix-CVEs.patch | 3142

Re: [OE-core][hardknott][PATCH] core-image-tiny-initramfs: delete populate_sdk task

2021-12-27 Thread Chen Qi
Hi Anuj, It's for both master and hardknott. I sent out two patches, one for master and one for hardknott. Regards, Qi -Original Message- From: Mittal, Anuj Sent: Tuesday, December 28, 2021 12:20 PM To: Chen, Qi ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core

Re: [OE-core][hardknott][PATCH 1/3] busybox: Fix for CVE-2021-42374

2021-12-21 Thread Chen Qi
-core-contrib/log/?h=stable/hardknott-next Can you please rebase on top of that? Thanks, Anuj On Tue, 2021-12-21 at 18:11 -0800, Chen Qi wrote: From: Pavel Zhukov An out-of-bounds heap read in unlzma leads to information leak and denial of service when crafted LZMA-compressed input

<    1   2   3   4   5   6   7   8   9   10   >