Re: [OE-core] [PATCH 1/1] oe_syslog.py: fix for syslog-ng

2018-08-05 Thread ChenQi
On 08/04/2018 12:40 AM, Richard Purdie wrote: On Fri, 2018-08-03 at 16:27 +0800, Chen Qi wrote: When using syslog-ng as the syslog provider, oe_syslog test case fails because it cannot find the syslog daemon. This is because it greps for 'syslogd' but syslog-ng's daemon is 'syslog-ng'. So fix th

Re: [OE-core] [PATCH 1/1] base-files: fix handling of resize

2018-08-02 Thread ChenQi
On 08/03/2018 03:29 AM, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org On Behalf Of Chen Qi Sent: den 1 augusti 2018 07:26 To: openembedded-core@lists.openembedded.org Subject: [OE-core] [PATCH 1/1] base-files: fix handling of resize

Re: [OE-core] [PATCH 1/1] base-files: fix handling of resize

2018-07-31 Thread ChenQi
On 08/01/2018 01:25 PM, Chen Qi wrote: The current handling of resize is incorrect. Using `resize > /dev/null 2>&1 && resize > /dev/null' will cause the second resize command to not execute because 'resize > /dev/null 2>&1' will fail for resize utility from busybox. What we really should do is j

Re: [OE-core] [PATCH 3/4] systemd: backport patch to allow setting dbus calls timeout

2018-07-31 Thread ChenQi
On 07/31/2018 03:13 PM, Chen Qi wrote: Backport 0001-sd-bus-make-BUS_DEFAULT_TIMEOUT-configurable.patch which allows setting dbus calls timeout via BUS_DEFAULT_TIMEOUT environment variable. The environment variable's name is actually SYSTEMD_BUS_TIMEOUT. I've fixed the commit message and update

Re: [OE-core] [PATCH] glibc: Avoid multilibbing on wordsize.h

2018-07-30 Thread ChenQi
This patch causes a regression in multilib SDK for qemuarm64. Error: Transaction check error: file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.27-r0.armv7vet2hf_vfp and libc6-dev-2.27-r0.aarch64 Please consider sending a follow-up patch to fix this r

[OE-core] Why do we use sysklogd as the default syslog?

2018-07-29 Thread ChenQi
Hi All, I just noticed that we are using sysklogd as the default syslog. meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb:VIRTUAL-RUNTIME_syslog ?= "sysklogd" sysklogd has stopped development for about 4 years, and as far as I can see, nobody is maintaining it. Is there s

Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239

2018-07-26 Thread ChenQi
On 07/26/2018 11:07 PM, Peter Kjellerstedt wrote: -Original Message- From: Ricardo Salveti Sent: den 26 juli 2018 16:37 To: Peter Kjellerstedt Cc: ChenQi ; openembedded- c...@lists.openembedded.org Subject: Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239 On Thu, Jul 26, 2018 at 9:30

Re: [OE-core] [PATCH 1/6] oeqa: Add selftest parallelisation support

2018-07-26 Thread ChenQi
On 07/26/2018 05:18 PM, Robert Yang wrote: On 07/26/2018 05:10 PM, richard.pur...@linuxfoundation.org wrote: On Thu, 2018-07-26 at 14:00 +0800, Robert Yang wrote: On 07/26/2018 11:03 AM, Robert Yang wrote: Hi RP, On 07/17/2018 12:33 AM, Richard Purdie wrote: This allows oe-selftest to tak

Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239

2018-07-25 Thread ChenQi
On 07/26/2018 07:05 AM, Ricardo Salveti wrote: On Mon, Jul 16, 2018 at 11:05 PM, Chen Qi wrote: Upgrade systemd to 239. 1. Patch Changes * Rebased Patches 0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch 0003-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch 00

Re: [OE-core] [PATCH] defaultsetup.conf: Enable security flags+pie by default

2018-07-24 Thread ChenQi
Hi Khem, The comments in security-flags.inc also needs to be modified to remove 'poky-lsb' info. I'd suggest we still put it into distro conf file (poky.conf) instead of defaultsetup.conf, because defaultsetup.conf is included by bitbake.conf. I think things in defaultsetup.conf should be ne

Re: [OE-core] [PATCH v2] systemd: Allow custom coredump config options

2018-07-23 Thread ChenQi
On 07/24/2018 07:16 AM, Alistair Francis wrote: On Wed, Jul 18, 2018 at 4:48 PM, Andre McCurdy wrote: On Wed, Jul 18, 2018 at 3:53 PM, Alistair Francis wrote: If the user has enabled coredump let's allow them to customise the config options. Signed-off-by: Alistair Francis --- meta/recipe

Re: [OE-core] [meta-oe][poky][PATCH v2] systemd: resolved linked even if the option is disabled

2018-07-17 Thread ChenQi
Hi Nicola, I'd like to detail the current handling of resolv.conf below. This is the current resolv.conf handling logic. But if you think there's something wrong about the logic, let me know. /etc/resolv.conf would be created/written by multiple applications. In fact, any network manager is lik

Re: [OE-core] [PATCH] systemd: Enable coredump if it is in PACKAGECONFIG

2018-07-16 Thread ChenQi
Hi Alistair, I don't think this file needs to be modified. And you are uncommenting the default values. The behavior is expected to remain the same. Also, I just did a quick test with coredump enabled and things were working correctly. Best Regards, Chen Qi On 07/17/2018 06:50 AM, Alistair

Re: [OE-core] [PATCH 3/3] oeqa/runtime/cases/rpm.py: workaround race condition

2018-07-16 Thread ChenQi
I'll backport the patch, integrate it into the upgrade patch and send out V6. Best Regards, Chen Qi On 07/16/2018 07:15 PM, Burton, Ross wrote: Still refusing to accept a "sleep 1" on a race: 1) a 1 second sleep just makes the race rarer, a loaded host and you'll hit it again and want to push

Re: [OE-core] [meta-oe][poky][PATCH v2] systemd: resolved linked even if the option is disabled

2018-07-16 Thread ChenQi
Hi Nicola, As I replied on poky mailing list to this patch, you need to first check the following three commits. commit 00e4662e55f66570cae29240c22b4d74b79d3ca5 Author: Maxin B. John Date: Mon Jun 12 18:10:21 2017 +0300 systemd: enable resolved and networkd Enable systemd-resolved

Re: [OE-core] [PATCH 6/6] systemd: change SRC_URI back to include musl patches unconditionally

2018-07-12 Thread ChenQi
OK. I separated them just for easier review. I'll send out V4. Best Regards, Chen Qi On 07/12/2018 05:31 PM, Burton, Ross wrote: Can you squash this, and the other fixes, into the recipe upgrade? Master doesn't need to see the revisions and fixes, and having commits which are broken is bad for

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/systemd.py: avoid timeout problem

2018-07-12 Thread ChenQi
better solution would be to patch in a way to override the timeout, so we can pass that in all calls. Ross PR for systemd has been created. https://github.com/systemd/systemd/pull/9576 Best Regards, Chen Qi On 11 July 2018 at 06:46, ChenQi wrote: ping Is there some problem with this patch

Re: [OE-core] [PATCH 1/2] systemd: upgrade to 239

2018-07-11 Thread ChenQi
Hi Khem, As per your suggestion, I'll send out V3, which includes a follow-up patch to change SRC_URI back to include musl patches unconditionally. Best Regards, Chen Qi On 07/12/2018 04:06 AM, Khem Raj wrote: On Wed, Jul 11, 2018 at 2:01 AM ChenQi wrote: Hi Khem, Thanks for your r

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/systemd.py: avoid timeout problem

2018-07-11 Thread ChenQi
ut. This patch simply changes *one* of the many systemctl calls to use busctl directly, leaving many other calls as a potential failure point. Surely a better solution would be to patch in a way to override the timeout, so we can pass that in all calls. Ross On 11 July 2018 at 06:46, ChenQi w

Re: [OE-core] [PATCH 5/5] oeqa/runtime/cases/rpm.py: workaround race condition

2018-07-11 Thread ChenQi
On 07/11/2018 06:01 PM, Burton, Ross wrote: Can we integrate the systemd fix, instead of working around it? Ross Hi Ross, There's only a PR. And the PR is not merged yet. I'll backport the patch if it's merged and drop this workaround. Best Regards, Chen Qi On 11 July 2018 at 09:05, Ch

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/systemd.py: avoid timeout problem

2018-07-10 Thread ChenQi
les' command and use 'busctl' as a fallback in case of timeout. Best Regards, Chen Qi On 07/04/2018 06:05 PM, ChenQi wrote: ping On 06/26/2018 09:48 AM, ChenQi wrote: On 06/25/2018 09:40 PM, Burton, Ross wrote: The busctl invocation will only rarely be called so is very prone

Re: [OE-core] [PATCH] systemd: fix missing path separator in firmware-path

2018-07-08 Thread ChenQi
Hi Andreas, I'm OK with this patch. I'm interested in your environment. Could you please give me some more details about why you need this userspace firmware loading mechanism? I'm upgrading systemd to 239, and I'm going to remove this option in 239. The reason is that systemd's minimal kerne

Re: [OE-core] [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis

2018-07-06 Thread ChenQi
Hi Ross, Please consider merging this patch. With Khem's recent fix "libnss-nis: Limit parse skip only for target recipe on musl", I think this patch could be merged safely. I've tested it locally with glibc and musl. Best Regards, Chen Qi On 06/07/2018 01:17 AM, Khem Raj wrote: On Wed, Jun

Re: [OE-core] [PATCH V2 1/1] testsdk.bbclass: set PREMIRRORS for kernel to speed up test

2018-07-05 Thread ChenQi
ping On 05/04/2018 10:47 AM, Chen Qi wrote: Currently if we do a testsdkext task for the image, it would take very long time to finish. The time is mostly spent fetching kernel source via network. We have done some configuration in auto.conf, trying to make use of own-mirrors.bbclass to avoid f

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/systemd.py: avoid timeout problem

2018-07-04 Thread ChenQi
ping On 06/26/2018 09:48 AM, ChenQi wrote: On 06/25/2018 09:40 PM, Burton, Ross wrote: The busctl invocation will only rarely be called so is very prone to bitrot, maybe it should just always use busctl? Personally I think that there should be a way for VM time to be independent of host time

Re: [OE-core] [oe-core][PATCH 1/1] postinst-intercepts: do not execute any variant of delay_to_first_boot

2018-07-01 Thread ChenQi
Hi Richard, It seems that this patch could fix https://autobuilder.yocto.io/builders/nightly-multilib/builds/1117/steps/BuildImages_2/logs/stdio. Error message from log is like below: ERROR: core-image-sato-1.0-r0 do_rootfs: The postinstall intercept hook 'update_pixbuf_cache-lib32' failed

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/systemd.py: avoid timeout problem

2018-06-25 Thread ChenQi
and also updated the remote branch. git://git.pokylinux.org/poky-contrib ChenQi/systemd-bus-timeout http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-bus-timeout If you think we should still use `busctl' directly, I can send out a new patch. Either way is OK to me.

Re: [OE-core] [PATCH V3 0/1] oeqa/runtime/cases/selftest.py: rename to _selftest.py

2018-06-21 Thread ChenQi
y at: git://git.pokylinux.org/poky-contrib ChenQi/rename_selftest http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/rename_selftest Chen Qi (1): oeqa/runtime/cases/selftest.py: rename to _selftest.py .../lib/oeqa/runtime/cases/{selftest.json => _selftest.json} | 0

Re: [OE-core] [PATCH] systemd: quote SYSTEMD_SERVICE in prerm and postinst

2018-06-21 Thread ChenQi
Hi Damien, If some recipe has more than one unit file, this patch will cause problem for it. Best Regards, Chen Qi On 06/22/2018 04:35 AM, Damien Riegel wrote: Systemd mount configuration file must have a name that match the mount point directory they control. So for instance, if a mount fi

Re: [OE-core] [PATCH 3/3] image/testimage: Rework auto image test execution

2018-06-20 Thread ChenQi
On 06/20/2018 05:54 PM, Richard Purdie wrote: On Wed, 2018-06-20 at 08:47 +0800, ChenQi wrote: --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -487,7 +487,7 @@ HOSTTOOLS += " \ " # Tools needed to run testimage runtime image testing -HOSTTOOLS += "${@

Re: [OE-core] [PATCH 3/3] image/testimage: Rework auto image test execution

2018-06-19 Thread ChenQi
--- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -487,7 +487,7 @@ HOSTTOOLS += " \ " # Tools needed to run testimage runtime image testing -HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.data.inherits_class('testimage', d) or d.getVar('TEST_IMAGE') == '1') else ''}" +HOS

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/rpm.py: change to use base-passwd-doc

2018-06-14 Thread ChenQi
e is no package management on target? Like this: @skipIfNotFeature('package-management', 'Test requires package-management to be in IMAGE_FEATURES') Alex 2018-06-14 10:29 GMT+03:00 ChenQi : On 06/14/2018 02:57 PM, Alexander Kanavin wrote: 2

Re: [OE-core] [PATCH 1/1] oeqa/runtime/cases/rpm.py: change to use base-passwd-doc

2018-06-14 Thread ChenQi
On 06/14/2018 02:57 PM, Alexander Kanavin wrote: 2018-06-14 7:52 GMT+03:00 Chen Qi : The test cases assume that rpm-doc is built out, as it says it its comment. This is not always true. And it sometimes results in following error. | cls.tc.target.copyTo(test_file, dst) | UnboundLocalE

Re: [OE-core] [PATCH 1/1] create-pull-request: handle '/' in subject correctly

2018-06-06 Thread ChenQi
ping On 05/08/2018 04:34 PM, Chen Qi wrote: When subject contains '/', we will meet the following error when using create-pull-request. sed: -e expression #1, char 59: unknown option to `s' The problem is not critical. But it's better to fix it. Signed-off-by: Chen Qi --- scripts/create

Re: [OE-core] [PATCH 1/1] buildtools-tarball: add nativesdk-libnss-nis

2018-06-06 Thread ChenQi
ping On 05/25/2018 10:54 AM, Chen Qi wrote: Recent glibc change removed libnss-nis module from glibc and a new recipe libnss-nis.bb was added. After this change, we need to make sure nativesdk-libnss-nis is also included in buildtools-tarball, otherwise, we may encounter the following error whe

Re: [OE-core] [PATCH 1/1] sysklogd: fix typo in RCONFLICTS

2018-06-06 Thread ChenQi
ping On 05/23/2018 10:39 AM, Chen Qi wrote: It should be RCONFLICTS_${PN} instead of RCONFLICTS_${PN}-syslog. There's no ${PN}-syslog package. Signed-off-by: Chen Qi --- meta/recipes-extended/sysklogd/sysklogd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/reci

Re: [OE-core] [PATCH 06/14] oeqa/runtime/cases/selftest.py: rename to _selftest.py

2018-06-03 Thread ChenQi
On 06/04/2018 06:42 AM, Richard Purdie wrote: On Fri, 2018-06-01 at 13:03 +0800, Chen Qi wrote: This test modules is designed to be invoked only by selftest. It's not meant to be tested by normal runtime test. So it should be renamed with '_' prefix, so that it will not be automatically loaded b

Re: [OE-core] [PATCH 01/14] oeqa/core/loader.py: support the 'auto' keyword

2018-05-31 Thread ChenQi
On 06/01/2018 01:41 PM, Alexander Kanavin wrote: 2018-06-01 7:42 GMT+03:00 ChenQi : I agree with you that we need to re-evaluate the settings of DEFAULT_TEST_SUITES. I plan to do this work from next week. And I plan to put such changes in another patchset. Looking at the codes, I can see that

Re: [OE-core] [PATCH 01/14] oeqa/core/loader.py: support the 'auto' keyword

2018-05-31 Thread ChenQi
On 05/31/2018 09:57 PM, Alexander Kanavin wrote: 2018-05-31 11:32 GMT+03:00 Chen Qi : In previous OEQA, having 'auto' in TEST_SUITES results in executing as many test cases as possible. This behaviour is broken for now. From the codes in core/loader.py, I can see that it tries to use another ke

Re: [OE-core] [PATCH 13/14] testimage-auto.bbclass: execute the same codes as testimage task

2018-05-31 Thread ChenQi
On 05/31/2018 09:50 PM, Alexander Kanavin wrote: 2018-05-31 11:45 GMT+03:00 Chen Qi : python do_testimage_auto() { +testimage_sanity(d) + +if (d.getVar('IMAGE_PKGTYPE') == 'rpm' + and ('dnf' in d.getVar('TEST_SUITES') or 'auto' in d.getVar('TEST_SUITES'))): +create_rpm_i

Re: [OE-core] [PATCH 12/14] bitbake.conf: fix HOSTTOOLS setting related to image testing

2018-05-31 Thread ChenQi
Done. V2 will be sent out soon. Thanks, Chen Qi On 05/31/2018 10:57 PM, Christopher Larson wrote: While you're at it, I'd suggest fixing this to stop using the horrible indexing a list with a boolean hack and use a proper inline conditional. 'foo' if bar else 'baz'. On Thu, May 31, 2018 at 1

Re: [OE-core] [PATCH 1/1] oeqa/sdk/cases/buildgalculator.py: skip if gettext not available

2018-05-17 Thread ChenQi
On 05/17/2018 06:00 PM, Burton, Ross wrote: On 16 May 2018 at 06:07, Chen Qi wrote: +if not (self.tc.hasPrefixedTargetPackage("gettext")): +raise unittest.SkipTest("GalculatorTest class: SDK doesn't contain gettext") File "/home/pokybuild/yocto-autobuilder/yocto-worker

Re: [OE-core] [PATCH v2] rootfs-postcommands: put image testdata under sstate control

2018-05-16 Thread ChenQi
Hi, I've also noticed this problem. The growing testdata.json files also bothered me a little bit. I think the only small flaw with your patch is you deleted the following check. if testdata_link != testdata: Checking the values of IMAGE_NAME and IMAGE_LINK_NAME in bitbake.conf, such chec

Re: [OE-core] [PATCH 0/1] create-pull-request: handle '/' in subject correctly

2018-05-15 Thread ChenQi
ping On 05/08/2018 04:34 PM, Chen Qi wrote: The following changes since commit f301a3bc110608c3684c78dd62e276beea73bd94: settings-daemon: Drop pointless apply=yes in SRC_URI (2018-05-04 13:28:06 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi

Re: [OE-core] [PATCH 5/6] dbus-glib: upgrade to 0.110

2018-05-13 Thread ChenQi
On 05/11/2018 06:17 PM, Burton, Ross wrote: If dbus-glib doesn't need --with-introspect-xml anymore then the dbus recipe can stop installing it. Ross Thanks Ross. I've update remote branch, and also sent out V2. Best Regards, Chen Qi On 11 May 2018 at 03:20, Chen Qi wrote: The obsolete '

Re: [OE-core] [PATCH 6/6] sudo: upgrade to 1.8.23

2018-05-10 Thread ChenQi
am-plugin-keyinit', '', d)}" @@ -28,7 +28,7 @@ do_install_append () { chmod 0440 ${D}${sysconfdir}/sudoers # Explicitly remove the ${localstatedir}/run directory to avoid QA error Comment needs updating to match the code change below. Thanks for spotting this. I

Re: [OE-core] [PATCH 0/1] cross-canadian: fix do_configure failure when switching machine and multilib

2018-05-09 Thread ChenQi
04-13 16:58:07 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/cross-canadian-mlprefix http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/cross-canadian-mlprefix Chen Qi (1): cross-canadian: fix do_configure failure when switching ma

Re: [OE-core] [PATCH 1/1] testsdk.bbclass: set PREMIRRORS for kernel to speed up test

2018-05-03 Thread ChenQi
On 05/03/2018 10:38 PM, Burton, Ross wrote: On 3 May 2018 at 09:52, Chen Qi > wrote: + f.write('PREMIRRORS_prepend = " git://git.yoctoproject.org/.* git://%s/git2/git.yoctoproject.org.BASENAME;protocal=file \\n "\n'

Re: [OE-core] Busybox post install

2018-05-02 Thread ChenQi
On 05/03/2018 09:20 AM, Michael Gloff wrote: I am seeing with the latest in Sumo/Master that the busybox post install is failing to create all of the applet symlinks if there is already a package installed from another provider during do_rootfs. This can be seen, for example, when enabling lsat

Re: [OE-core] musl patches

2018-04-16 Thread ChenQi
On 04/16/2018 07:05 PM, Andreas Müller wrote: Hi, I am not happy plastering patches around for musl. This gets even worse when I see patches like this [1]: Just wipe away security checks unconditionally - the developers did introduce this check not just for fun I guess... I have seen this alrea

Re: [OE-core] [PATCH 1/1] rpm: remove dbus dependency for rpm-native

2018-04-08 Thread ChenQi
On 04/05/2018 05:16 PM, Alexander Kanavin wrote: On 04/04/2018 02:32 PM, Alexander Kanavin wrote: +# dbus dependency is deliberately omitted for rpm-native to prevent it from attempting to +# inhibit shutdown via session dbus, even when some layer enables plugins support for rpm-native. +DEPEN

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

2018-03-22 Thread ChenQi
On 03/21/2018 02:00 AM, Burton, Ross wrote: On 20 March 2018 at 17:36, Khem Raj > wrote: >> @@ -80,7 +78,7 @@ PACKAGECONFIG ??= " \ >> polkit \ >> quotacheck \ >> randomseed \ >> -resolved \ >> +resolve \ > > I gue

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

2018-03-21 Thread ChenQi
On 03/19/2018 05:04 PM, Alexander Kanavin wrote: On 03/19/2018 06:53 AM, ChenQi wrote: For autotools, 1) if the test framework of some package is a standalone set of scripts or it could be easily decoupled from Makefile, adding ptest support for such package is easy. 2) if the test framework

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

2018-03-18 Thread ChenQi
On 03/17/2018 03:27 AM, Alexander Kanavin wrote: On 03/16/2018 09:30 PM, Randy MacLeod wrote: This new version has dropped ptest support, as there's no easy way to do this in the framework of meson. Are you talking to the meson developers to see if we/they can come up with a way to do that? Is

Re: [OE-core] [PATCH 0/3] systemd & systemd-boot: upgrade to 237

2018-03-14 Thread ChenQi
with glibc 2.27 (2018-03-11 06:27:02 -0700) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/systemd-237 http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-237 Chen Qi (3): systemd: upgrade to 237 systemd: fix build failure for

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

2018-03-12 Thread ChenQi
On 03/12/2018 04:52 PM, Maxin B. John wrote: Hi, On Mon, Mar 12, 2018 at 04:38:51PM +0800, Chen Qi wrote: Upgrade systemd to 237. Note that this version has dropped autotools support. Very minor nit-picking : Even with this patch, "systemd_237.bb" and "systemd.inc" contains duplicated SRC_U

Re: [OE-core] [PATCH 0/3] systemd & systemd-boot: upgrade to 237

2018-03-12 Thread ChenQi
: yocto-uninative: Upgrade to 1.8 version with glibc 2.27 (2018-03-11 06:27:02 -0700) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/systemd-237 http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-237 Chen Qi (3): systemd: upgrade to

Re: [OE-core] [PATCH 0/4] systemd & systemd-boot: upgrade to 237

2018-03-07 Thread ChenQi
On 03/08/2018 12:55 AM, Khem Raj wrote: On Wed, Mar 7, 2018 at 12:11 AM, ChenQi wrote: Hi Ross, I've rebased the following patch against latest master and updated remote branch. systemd-boot: upgrade to 237 git://git.pokylinux.org/poky-contrib ChenQi/systemd-237

Re: [OE-core] [PATCH 4/4] systemd-boot: upgrade to 237

2018-03-07 Thread ChenQi
On 03/07/2018 09:44 PM, Burton, Ross wrote: Can you rebase this to master as there's been changes to booting made. Ross Hi Ross, I've done this. The remote branch has been updated. git://git.pokylinux.org/poky-contrib ChenQi/systemd-237 http://git.pokylinux.org/cgit.cgi/poky-cont

Re: [OE-core] [PATCH 0/4] systemd & systemd-boot: upgrade to 237

2018-03-07 Thread ChenQi
Hi Ross, I've rebased the following patch against latest master and updated remote branch. systemd-boot: upgrade to 237 git://git.pokylinux.org/poky-contrib ChenQi/systemd-237 http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-237 Best Regards, Chen Qi On

Re: [OE-core] [PATCH 0/4] systemd & systemd-boot: upgrade to 237

2018-03-05 Thread ChenQi
000) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/systemd-237 http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-237 Chen Qi (4): meson.bbclass: fix to build for more projects systemd: upgrade to 237 systemd: fix build failur

Re: [OE-core] [PATCH] insane.bbclass: skip opening invalid symlinks in package_qa_check_libdir

2018-03-05 Thread ChenQi
We need to make sure the .so symlinks which are in wrong location are also reported. For example libfoo.so.1 is in under /lib and is correct, but for some reason libfoo.so which is a symlink to libfoo.so.1 is under /lib32, and this should be reported. I guess the correct fix should be: If it's

Re: [OE-core] coreutils-native and util-linux-native conflicting with meta-micro

2018-03-05 Thread ChenQi
On 03/04/2018 05:26 AM, Mike Crowe wrote: I have a recipe which uses both base64 from coreutils-native and hexdump from util-linux-native so I've put both in my recipe DEPENDS. Unfortunately do_prepare_sysroot is failing with: Exception: FileExistsError: [Errno 17] File exists: '/home/mac/src/

Re: [OE-core] [PATCH 3/4] systemd: fix build failure for qemux86 and qemuppc with musl

2018-03-04 Thread ChenQi
On 02/28/2018 10:59 PM, Khem Raj wrote: On Wed, Feb 28, 2018 at 12:46 AM, ChenQi wrote: On 02/28/2018 04:29 PM, Khem Raj wrote: On Tue, Feb 27, 2018 at 9:56 PM, Chen Qi wrote: Remove the 'fstack-protector' and 'fstack-protector-strong' flags as a workaround to fix the

Re: [OE-core] [PATCH 4/4] systemd-boot: upgrade to 236

2018-03-04 Thread ChenQi
Hi Ross, I've fixed this problem and send patch to meta-intel. The problem is bout systemd-boot's bbappend file. I've also sent out a new patchset, upgrading systemd to 237, which keeps the 'manpages' PACKAGECONFIG item for compatibility. Best Regards, Chen Qi On 02/28/2018 09:32 PM, Burto

Re: [OE-core] [PATCH 2/4] systemd: upgrade to 236

2018-02-28 Thread ChenQi
On 02/28/2018 07:41 PM, Alexander Kanavin wrote: On 02/28/2018 07:56 AM, Chen Qi wrote: Upgrade systemd to 236. Latest upstream release is 237, should we use that? Alex Thanks for reminding me of this. I'll try to use the latest 237 version in V2. Best Regards, Chen Qi --

Re: [OE-core] [PATCH 4/4] systemd-boot: upgrade to 236

2018-02-28 Thread ChenQi
On 02/28/2018 09:32 PM, Burton, Ross wrote: No, still broken: ERROR: systemd-boot-236-r0 do_compile: oe_runmake failed ERROR: systemd-boot-236-r0 do_compile: Function failed: do_compile (log file is located at /data/poky-tmp/master/work/corei7-64-intel-common-poky-linux/systemd-boot/236-r0/tem

Re: [OE-core] [PATCH 1/4] meson.bbclass: fix to build for more projects

2018-02-28 Thread ChenQi
On 02/28/2018 04:25 PM, Khem Raj wrote: On Tue, Feb 27, 2018 at 9:56 PM, Chen Qi wrote: We should use the value of CC for the c compiler setting in cross compilation configuration file for meson. For example, if we only use ${HOST_PREFIX}gcc instead of ${CC}, we would meet the following do_comp

Re: [OE-core] [PATCH 3/4] systemd: fix build failure for qemux86 and qemuppc with musl

2018-02-28 Thread ChenQi
On 02/28/2018 04:29 PM, Khem Raj wrote: On Tue, Feb 27, 2018 at 9:56 PM, Chen Qi wrote: Remove the 'fstack-protector' and 'fstack-protector-strong' flags as a workaround to fix the following error when building for qemux86 and qemuppc with musl. undefined reference to `__stack_chk_fail_loca

Re: [OE-core] [PATCH V2 1/1] coreutils: upgrade to 8.29

2018-02-08 Thread ChenQi
On 01/19/2018 01:34 AM, Burton, Ross wrote: On 18 January 2018 at 16:47, Randy MacLeod mailto:randy.macl...@windriver.com>> wrote: On 2018-01-11 11:18 AM, Burton, Ross wrote: On 9 January 2018 at 01:40, Chen Qi mailto:qi.c...@windriver.com>

Re: [OE-core] [PATCH 1/1] coreutils: upgrade to 8.29

2018-01-08 Thread ChenQi
On 01/05/2018 07:08 AM, Richard Purdie wrote: On Thu, 2018-01-04 at 15:35 +0800, Chen Qi wrote: * ls.c license checksum is changed, but the license remains the same. * The new version provides native manual page support, there's no need to download extra manual page from gentoo site. * man-

Re: [OE-core] [PATCH 3/9] json-glib: convert to meson build

2018-01-04 Thread ChenQi
On 12/21/2017 09:04 PM, Alexander Kanavin wrote: Note that meson flags for gobject introspection and gtk-doc appear to be non-standardized; going forward we should devise a common way to deal with it. gettext inherit is removed, as there is no equivalent functionality in meson; NLS bits are alwa

Re: [OE-core] [PATCH 3/9] json-glib: convert to meson build

2018-01-04 Thread ChenQi
I got the following do_compile failure when I was building json-glib for qemux86-64. | FileNotFoundError: [Errno 2] No such file or directory: '/buildarea2/chenqi/poky/build-systemd/tmp/work/core2-64-poky-linux/json-glib/1.2.8-r0/build/tmp-introspect27wkly7i/Json-1.0' Best Regard

Re: [OE-core] [PATCH 6/8] sysprof: convert to meson build

2017-12-21 Thread ChenQi
On 12/16/2017 12:06 AM, Alexander Kanavin wrote: Drop autotools-specific patches. Rename polkit packageconfig option to sysprofd as 'polkit' does not at all match what is happening. Remove --enable-compiler-warnings, as the equivalent in meson could not be found. Signed-off-by: Alexander Kanav

Re: [OE-core] [PATCH 1/1] systemd: fix PACKAGECONFIG for lz4

2017-12-20 Thread ChenQi
The problem seems to be that the lz4 packaging problem. lz4-ptest is packages as liblz4 and is installed instead of the lz4 package. Best Regards, Chen Qi On 12/21/2017 12:41 PM, Robert Yang wrote: Fixed: MACHINE = "qemux86-64" PACKAGECONFIG_append_pn-systemd = "lz4" DISTRO_FEATURES_append = "

Re: [OE-core] [PATCH 00/49] Consolidated pull

2017-12-19 Thread ChenQi
On 12/19/2017 10:33 PM, Bruce Ashfield wrote: On Tue, Dec 19, 2017 at 12:23 AM, ChenQi wrote: On 12/19/2017 12:45 PM, Bruce Ashfield wrote: On Mon, Dec 18, 2017 at 11:03 AM, Ross Burton wrote: Hi, Another batch of patches from the list which have passed autobuilder testing and review

Re: [OE-core] [PATCH 00/49] Consolidated pull

2017-12-18 Thread ChenQi
On 12/19/2017 12:45 PM, Bruce Ashfield wrote: On Mon, Dec 18, 2017 at 11:03 AM, Ross Burton wrote: Hi, Another batch of patches from the list which have passed autobuilder testing and review. Ross The following changes since commit d6b6508e0be4452eb285495403b73fa9fcf51e3e: temp disable i

Re: [OE-core] [PATCH 1/1] bind: fix daemon startup failure on sysvinit

2017-12-18 Thread ChenQi
ping Could someone help review this patch? Best Regards, Chen Qi On 11/27/2017 04:07 PM, Chen Qi wrote: When starting the bind daemon on sysvinit based system, we are meeting the following error and the daemon fails to start. /etc/bind/rndc.key: permission denied Fix this problem by chani

Re: [OE-core] [PATCH 1/1] populate_sdk_ext.bbclass: add ESDK_MANIFEST_EXCLUDES

2017-12-18 Thread ChenQi
ping Could someone help review this patch? Thanks, Chen Qi On 11/15/2017 02:38 PM, Chen Qi wrote: Add ESDK_MANIFEST_EXCLUDES to enable excluding items from sdk-conf-manifest. By default, files under conf/ are all added to sdk-conf-manifest, as the manifest file is set to 'conf/*'. However, t

Re: [OE-core] [PATCH 2/3] coreutils: upgrade to 8.28

2017-12-05 Thread ChenQi
On 12/05/2017 07:38 PM, Burton, Ross wrote: Looks like this fails on hosts with older makeinfo: http://errors.yoctoproject.org/Errors/Details/160224/ Ross I'll find a CentOS7 host and try to reproduce and fix this problem. Best Regards, Chen Qi On 4 December 2017 at 10:25, Chen Qi

Re: [OE-core] [PATCH 0/3] initscripts: fixes for booting with busybox init

2017-11-01 Thread ChenQi
busybox init is not intended to be used with initscripts, which is for sysvinit. Please check packagegroup-core-boot.bb for more info. Best Regards, Chen Qi On 11/01/2017 02:04 PM, wenzong@windriver.com wrote: From: Wenzong Fan * check for the existence of /etc/default/rcS * minor fixes

Re: [OE-core] [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally

2017-10-30 Thread ChenQi
Konrad, I've sent out a patch to fix the problem you encountered. Markus, I kind of understand what you are doing. You are trying to use library functions in oeqa. And that requires scp and ip available. Right? To be clear, I don't have any objection to the any change to HOSTTOOLS. Just one t

Re: [OE-core] [PATCH 2/2] gcc: fix miscompilation on mips64

2017-10-30 Thread ChenQi
e provided information in gcc bugzilla. The author says that he's going to submit the patch to gcc mailing list. 2) I've update remote branch to fix a typo ('mips4' --> 'mips64'). git://git.pokylinux.org/poky-contrib ChenQi/bug12266 http://git.pokylinux.o

Re: [OE-core] [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally

2017-10-29 Thread ChenQi
On 10/27/2017 06:07 PM, Markus Lehtonen wrote: Needed to be able to run images using the runtime test facilities. Hi Markus, What do you mean by 'run images using runtime test facilities'? testimage? ptest? 'scp' and 'ip' are added to HOSTTOOLS if 'testimage' is inherited. What's the use case

Re: [OE-core] [PATCH 1/1] systemd: fix strange behaviour on qemumips64

2017-10-25 Thread ChenQi
On 10/24/2017 01:14 AM, Khem Raj wrote: On Mon, Oct 23, 2017 at 4:41 AM, Burton, Ross wrote: Can we trust the mips64 compiler at all? Is there a specific optimisation that systemd is turning on that is causing this breakage? Have you reported this to the gcc bugzilla? Ross On 23 October 201

Re: [OE-core] [PATCH V2 1/1] bitbake.conf: add ssh to HOSTTOOLS_NONFATAL

2017-10-16 Thread ChenQi
On 10/17/2017 10:18 AM, Denys Dmytriyenko wrote: On Tue, Oct 17, 2017 at 09:46:32AM +0800, Chen Qi wrote: We changed to make tools required by testimage to be included conditionally. This resulted in users who use ssh for git fetching having failures. Add ssh to HOSTTOOLS_NONFATAL to make thing

Re: [OE-core] [oe-commits] [openembedded-core] 01/01: bitbake.conf: add tools required by testimage to HOSTTOOLS conditionally

2017-10-15 Thread ChenQi
I've created YOCTO#12227 (https://bugzilla.yoctoproject.org/show_bug.cgi?id=12227). And I've sent out a patch, adding ssh to HOSTTOOLS_NONFATAL. Another way to fix things up is to add ssh to HOSTTOOLS and change QuickStart accordingly. Either way is acceptable for me. I'm using the first soluti

Re: [OE-core] [PATCH 1/2] base-files: profile: Do not assume that the 'command' command exists

2017-10-13 Thread ChenQi
On 10/13/2017 05:53 PM, ChenQi wrote: On 09/18/2017 09:56 PM, Mike Looijmans wrote: On 18-09-17 15:24, Mike Looijmans wrote: On 18-09-17 15:08, Burton, Ross wrote: On 18 September 2017 at 12:31, Mike Looijmans mailto:mike.looijm...@topic.nl>> wrote: This is basically the same

Re: [OE-core] [PATCH 1/2] base-files: profile: Do not assume that the 'command' command exists

2017-10-13 Thread ChenQi
On 09/18/2017 09:56 PM, Mike Looijmans wrote: On 18-09-17 15:24, Mike Looijmans wrote: On 18-09-17 15:08, Burton, Ross wrote: On 18 September 2017 at 12:31, Mike Looijmans mailto:mike.looijm...@topic.nl>> wrote: This is basically the same change as I first sent a patch for in

Re: [OE-core] [oe-commits] [openembedded-core] 01/01: bitbake.conf: add tools required by testimage to HOSTTOOLS conditionally

2017-10-11 Thread ChenQi
On 10/12/2017 09:56 AM, Martin Jansa wrote: On Mon, Oct 09, 2017 at 09:09:31AM +, g...@git.openembedded.org wrote: This is an automated email from the git hooks/post-receive script. rpurdie pushed a commit to branch master in repository openembedded-core. commit 8ca61a5464743ff85b6d2688611

Re: [OE-core] [PATCH 1/1] ffmpeg: backport patches to fix 12 CVEs

2017-09-29 Thread ChenQi
On 09/26/2017 03:56 PM, Alexander Kanavin wrote: On 09/26/2017 10:57 AM, ChenQi wrote: I agree with you. I have tried to do the upgrade, and it's easy. However, at the current stage, it's unlikely for an upgrade patch to be accepted. That's why I did the backport. If th

Re: [OE-core] [PATCH 1/2] systemd: change some RRECOMMENDS to RDEPENDS

2017-09-26 Thread ChenQi
On 09/22/2017 05:34 PM, Martin Jansa wrote: This doesn't seem to work correctly for MACHINEs with empty SERIAL_CONSOLE, because with empty SERIAL_CONSOLE there is no systemd-serialgetty package (because it's also empty) and the build fails with: Collected errors: * calculate_dependencies_for

Re: [OE-core] [PATCH 1/1] ffmpeg: backport patches to fix 12 CVEs

2017-09-26 Thread ChenQi
On 09/26/2017 03:43 PM, Alexander Kanavin wrote: On 09/26/2017 10:43 AM, Chen Qi wrote: Backport patches to fix the following CVEs. CVE-2017-14054 CVE-2017-14055 CVE-2017-14056 CVE-2017-14057 CVE-2017-14058 CVE-2017-14059 CVE-2017-14169 CVE-2017-14170 CVE-2017-14171 CVE-2017-14222 CVE-2017-1422

Re: [OE-core] [PATCH 0/2] python3-pip & python3-setuptools: extend to nativesdk

2017-09-11 Thread ChenQi
: [OE-core] [PATCH 0/2] systemd: fix dependency issue related to serial getty [OE-core] [PATCH 0/2] disallow multiple syslog daemons to be installed [OE-core] [PATCH 0/1] iputils: backport patch to fix arping hang problem Best Regards, Chen Qi On 11 September 2017 at 02:44, ChenQi <mailto:q

Re: [OE-core] [PATCH 0/1] iputils: backport patch to fix arping hang problem

2017-09-10 Thread ChenQi
ChenQi/iputils-hang http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/iputils-hang Chen Qi (1): iputils: backport patch to fix arping hang problem ...ing-fix-arping-hang-if-SIGALRM-is-blocked.patch | 44 ++ meta/recipes-extended/iputils/iputils_s20151218.bb

Re: [OE-core] [PATCH 0/2] python3-pip & python3-setuptools: extend to nativesdk

2017-09-10 Thread ChenQi
ChenQi/python3-nativesdk http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/python3-nativesdk Chen Qi (2): python3-pip: extend to nativesdk python3-setuptools: extend to nativesdk meta/recipes-devtools/python/python3-pip_9.0.1.bb | 2 +- meta/recipes-devtools/python

Re: [OE-core] [PATCH 0/2] disallow multiple syslog daemons to be installed

2017-09-10 Thread ChenQi
ky-contrib ChenQi/syslog-conflicts http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/syslog-conflicts Chen Qi (2): busybox: fix syslog related meta data sysklogd: conflict with other syslog daemons meta/recipes-core/busybox/busybox.inc | 27 +++-

Re: [OE-core] [PATCH 0/2] systemd: fix dependency issue related to serial getty

2017-09-10 Thread ChenQi
ping On 09/05/2017 04:07 PM, Chen Qi wrote: The following changes since commit 15eac6befb6c4d16bc1b814e040bd7bf006a5bee: linux-yocto: add linux-yocto 4.12 bbappends (2017-08-31 23:37:10 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/systemd

Re: [OE-core] [PATCH 1/1] cve-check.bbclass: make warning contain CVE IDs

2017-05-09 Thread ChenQi
On 05/09/2017 05:17 PM, Joshua Lock wrote: On Tue, 2017-05-09 at 17:13 +0800, Chen Qi wrote: When warning users about unpatched CVE, we'd better put CVE IDs into the warning message, so that it would be more straight forward for the user to know which CVEs are not patched. So instead of: WAR

Re: [OE-core] [PATCH 7/8] qemuboot.bbclass: add two vars for use by runqemu

2017-04-10 Thread ChenQi
On 04/11/2017 12:53 AM, Richard Purdie wrote: On Fri, 2017-04-07 at 02:47 -0700, Robert Yang wrote: From: Chen Qi Add STAGING_DIR_TUNCTL_NATIVE and STAGING_DIR_QEMU_BINDIR_NATIVE so that runqemu could find 'tunctl' and 'qemu-xxx' binaries to run correctly. [YOCTO #11266] [YOCTO #11193] Signe

<    1   2   3   4   5   6   >