Re: [OE-core] [PATCH 1/1] python-numpy: fix compile error for qemumips

2014-02-26 Thread ChenQi
On 02/26/2014 06:44 PM, Richard Purdie wrote: On Wed, 2014-02-26 at 18:22 +0800, ChenQi wrote: On 02/26/2014 06:02 PM, Burton, Ross wrote: On 26 February 2014 07:33, Chen Qi qi.c...@windriver.com wrote: This is because for qemumips, there are no such files in SRC_URI. And actually we don't

Re: [OE-core] [PATCH V3 1/1] sanity.bbclass: check for validity of TMPDIR

2014-03-26 Thread ChenQi
ping Any comment on this one? //Chen Qi On 01/08/2014 10:12 AM, Chen Qi wrote: TMPDIR must be an absolute path, otherwise, the build will fail. Special characters and trailing slashes in TMPDIR will also cause build failures. This patch enables checking for the validity of TMPDIR. The logic

Re: [OE-core] nfs-utils does NOT rdepend on bash

2014-04-22 Thread ChenQi
On 04/20/2014 01:44 AM, Mike Looijmans wrote: To my surprise, a megabyte sized package bash was installed on target when I installed nfs-utils to start the NFS server. Commit 664ae3dc52fd7fc8c6f64e6cf5e70f97dedd332d claims the package needs bash. It's simply not true. It does not require

Re: [OE-core] [PATCH 2/4] bind: add systemd support

2014-04-23 Thread ChenQi
Hi all, In generate-rndc-key.sh, I should use `chmod' instead of `chown'. Sorry for my mistake. I'll send out a V2 for this patch. //Chen Qi On 04/23/2014 05:40 PM, Chen Qi wrote: Add systemd support for bind. Signed-off-by: Chen Qi qi.c...@windriver.com ---

Re: [OE-core] rm_work not cleaning up when doing -c populate_sdk

2014-05-05 Thread ChenQi
I've sent out a patch to the list, trying to fix this problem. Please take a look at it if convenient. Best Regards, Chen Qi On 05/05/2014 10:21 AM, Khem Raj wrote: On Sun, May 4, 2014 at 1:04 PM, Jacob Kroon jacob.kr...@gmail.com wrote: Hello, I'm using the rm_work class in my setup, and I

Re: [OE-core] [PATCH 1/1] populate_sdk_base: modify the recrdeptask of do_populate_sdk

2014-05-05 Thread ChenQi
On 05/05/2014 04:18 PM, Richard Purdie wrote: On Mon, 2014-05-05 at 16:11 +0800, Chen Qi wrote: If 'rm_work' is enabled, `bitbake core-image-xxx -c populate_sdk' doesn't clean things up for the nativesdk packages. This patch modifies the 'recrdeptask' for do_populate_sdk to fix this problem.

Re: [OE-core] [PATCH 1/1] sudo: upgrade from 1.8.9p5 to 1.8.10p2

2014-05-06 Thread ChenQi
On 05/07/2014 10:30 AM, Khem Raj wrote: On May 6, 2014 7:12 PM, Chen Qi qi.c...@windriver.com mailto:qi.c...@windriver.com wrote: Upgrade sudo from 1.8.9p5 to the newest stable release 1.8.10p2. The license information is modified as required. can you b more explicit here and provide

Re: [OE-core] [PATCH] initrdscripts: add $CMDLINE to init-live switch_root

2014-05-15 Thread ChenQi
On 01/15/2014 07:27 PM, krzysztof.m.syw...@intel.com wrote: From: Krzysztof Sywula krzysztof.m.syw...@intel.com init-live.sh: $CMDLINE variable should be provided to switch_root to let user specify runlevel on grub command line. Feeding with -c /dev/console as well as busybox switch_root

Re: [OE-core] [daisy][PATCH 1/4] tcf-agent: add systemd support

2014-05-15 Thread ChenQi
On 05/15/2014 08:24 PM, Otavio Salvador wrote: On Wed, May 14, 2014 at 7:04 PM, Khem Raj raj.k...@gmail.com wrote: On Wed, May 14, 2014 at 1:30 PM, Otavio Salvador ota...@ossystems.com.br wrote: + install -d ${D}${systemd_unitdir}/system + install -m 0644

Re: [OE-core] [PATCH 1/1] runqemu-internal: add console=ttyS0 to ramfs image kernel parameters

2014-05-19 Thread ChenQi
On 05/20/2014 05:11 AM, Khem Raj wrote: On Mon, May 19, 2014 at 1:03 AM, Chen Qi qi.c...@windriver.com wrote: +KERNCMDLINE=root=/dev/ram0 console=ttyS0 debugshell is this valid for all kind of qemu machines ? I think so. Notice in runqemu scripts, if '-nographic' is supplied to the

Re: [OE-core] [RFC][PATCH] udev: add udev-utils to RDEPENDS

2014-06-03 Thread ChenQi
On 02/03/2014 10:01 PM, David Nyström wrote: On mån 3 feb 2014 14:43:53, Phil Blundell wrote: On Mon, 2014-02-03 at 13:58 +0100, David Nyström wrote: An intended fix for below error message with core-image-lsb, Sending this as an RFC since I dont really know what constitutes a RRECOMMENDS vs.

Re: [OE-core] [daisy][PATCH 1/1] systemd: do not use alloca() function in case of uclibc

2014-06-03 Thread ChenQi
On 06/03/2014 05:06 PM, Richard Purdie wrote: On Tue, 2014-06-03 at 15:42 +0800, Chen Qi wrote: The alloca() function allocates space in the stack frame of the caller, so using alloca(new_size - old_size) would possibly crash the stack, causing a segment fault error. This patch fixes the above

Re: [OE-core] [daisy][PATCH 1/1] systemd: do not use alloca() function in case of uclibc

2014-06-03 Thread ChenQi
On 06/03/2014 05:20 PM, ChenQi wrote: On 06/03/2014 05:06 PM, Richard Purdie wrote: On Tue, 2014-06-03 at 15:42 +0800, Chen Qi wrote: The alloca() function allocates space in the stack frame of the caller, so using alloca(new_size - old_size) would possibly crash the stack, causing a segment

Re: [OE-core] [PATCH 1/3] gawk: upgrade from 4.0.2 to 4.1.1

2014-06-04 Thread ChenQi
On 06/03/2014 05:52 PM, Burton, Ross wrote: On 3 June 2014 02:41, Chen Qi qi.c...@windriver.com wrote: +FILES_gawk-common += ${datadir}/awk/* ${libexecdir}/awk/* ${libexecdir}/*.so ${libexecdir}/*.la .la files should *never* be installed in a non-dev package (and in general they can be

Re: [OE-core] [PATCH V2 1/3] gawk: upgrade from 4.0.2 to 4.1.1

2014-06-05 Thread ChenQi
On 06/05/2014 05:42 PM, Burton, Ross wrote: On 5 June 2014 06:29, Chen Qi qi.c...@windriver.com wrote: +FILES_gawk-common += ${datadir}/awk/* ${libexecdir}/awk/* ${libexecdir}/*.so Gawk doesn't install extensions into libexecdir, but $libdir/gawk: AC_SUBST([pkgextensiondir], ['${pkglibdir}'])

Re: [OE-core] [PATCH] initrdscripts: add $CMDLINE to init-live switch_root

2014-06-12 Thread ChenQi
On 05/15/2014 02:29 PM, ChenQi wrote: On 01/15/2014 07:27 PM, krzysztof.m.syw...@intel.com wrote: From: Krzysztof Sywula krzysztof.m.syw...@intel.com init-live.sh: $CMDLINE variable should be provided to switch_root to let user specify runlevel on grub command line. Feeding with -c /dev

Re: [OE-core] [PATCH 1/1] shadow: upgrade from 4.1.4.3 to 4.2.1

2014-07-03 Thread ChenQi
On 07/04/2014 12:36 AM, Richard Purdie wrote: On Thu, 2014-07-03 at 17:27 +0100, Richard Purdie wrote: On Thu, 2014-07-03 at 16:52 +0100, Richard Purdie wrote: On Mon, 2014-06-30 at 14:48 +0800, Chen Qi wrote: Upgrade shadow from 4.1.4.3 to 4.2.1. Changes during this upgrade are as

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

2014-07-27 Thread ChenQi
On 07/25/2014 06:56 PM, Koen Kooi wrote: Op 25 jul. 2014, om 11:20 heeft Chen Qi qi.c...@windriver.com het volgende geschreven: Upgrade systemd from 213 to 215. systemd-older-kernel.patch is removed as it's fixed in 215. NAK! This will drop libraries and and leave files unpackages, you need

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

2014-07-28 Thread ChenQi
On 07/28/2014 02:31 PM, Koen Kooi wrote: Op 28 jul. 2014, om 04:24 heeft ChenQi qi.c...@windriver.com het volgende geschreven: On 07/25/2014 06:56 PM, Koen Kooi wrote: Op 25 jul. 2014, om 11:20 heeft Chen Qi qi.c...@windriver.com het volgende geschreven: Upgrade systemd from 213 to 215

Re: [OE-core] [PATCH 1/3] volatile-binds: add recipe

2014-07-28 Thread ChenQi
On 07/28/2014 09:00 PM, Burton, Ross wrote: On 28 July 2014 06:34, Chen Qi qi.c...@windriver.com wrote: +# This package is only for systemd based systems. So building it with 'systemd' +# missing in DISTRO_FEATURES makes no sense. +python () { +if not bb.utils.contains ('DISTRO_FEATURES',

Re: [OE-core] [PATCH 2/3] systemd: add volatile-binds to RDEPENDS

2014-07-28 Thread ChenQi
On 07/28/2014 09:21 PM, Richard Purdie wrote: On Mon, 2014-07-28 at 13:34 +0800, Chen Qi wrote: --- meta/recipes-core/systemd/systemd_213.bb |1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/systemd/systemd_213.bb b/meta/recipes-core/systemd/systemd_213.bb index

Re: [OE-core] [PATCH V3 1/1] systemd: upgrade to 215

2014-07-28 Thread ChenQi
On 07/29/2014 12:19 PM, Saul Wold wrote: On 07/28/2014 07:12 PM, Chen Qi wrote: Upgrade systemd from 213 to 215. systemd-older-kernel.patch is removed as it's fixed in 215. I had a failure like this from the V2 Patch, has this been addressed: No. I haven't seen this error. Could you give

Re: [OE-core] [PATCH 1/1] gmp: uprev it to 6.0.0

2014-08-06 Thread ChenQi
On 08/04/2014 02:05 PM, rongqing...@windriver.com wrote: From: Roy Li rongqing...@windriver.com Uprev gmp from 5.1.1 to 6.0.0, and remove the 4.2.1 version which is GPLv2, since gmp-6.0.0 is dual-licensing, LGPLv3 or GPLv2; Signed-off-by: Roy Li rongqing...@windriver.com ---

Re: [OE-core] [PATCH] coreutils: drop patch that unconditionally mangles manpages

2014-08-07 Thread ChenQi
On 08/07/2014 04:38 AM, Paul Gortmaker wrote: commit 841ec528ec04e64bd09ff10f8d9ad2d6e3aac05d (coreutils: update to upstream version 9.21) added a patch which bypassed the check for perl and hence defaults to using the dummy man page for all of the coreutils manpages. This results in all

Re: [OE-core] [PATCH V5 1/1] systemd: upgrade to 215

2014-08-13 Thread ChenQi
On 08/11/2014 07:59 PM, Martin Jansa wrote: On Thu, Jul 31, 2014 at 04:08:05PM +0800, Chen Qi wrote: Upgrade systemd from 213 to 215. systemd-older-kernel.patch is removed as it's fixed in 215. Backport two patches to fix compilation problem for qemuppc.

Re: [OE-core] [PATCH V5 1/1] systemd: upgrade to 215

2014-08-13 Thread ChenQi
On 08/01/2014 05:43 PM, Koen Kooi wrote: Op 31 jul. 2014, om 10:08 heeft Chen Qi qi.c...@windriver.com het volgende geschreven: Upgrade systemd from 213 to 215. systemd-older-kernel.patch is removed as it's fixed in 215. Backport two patches to fix compilation problem for qemuppc.

Re: [OE-core] [PATCH 08/10] v86d: set INHIBIT_UPDATERCD_BBCLASS if 'sysvinit' not in DISTRO_FEATURES

2014-08-14 Thread ChenQi
On 08/14/2014 04:46 PM, Chen Qi wrote: Set INHIBIT_UPDATERCD_BBCLASS to 1 if 'sysvinit' is not in DISTRO_FEATURES. The functionality of the init script 'fbsetup' is implemented internally in systemd. So fbsetup is not installed if 'sysvinit' is in DISTRO_FEATURES. That's why we need to set

Re: [OE-core] [PATCH 02/10] systemd: add libdw to RDEPENDS

2014-08-14 Thread ChenQi
On 08/14/2014 05:39 PM, Richard Purdie wrote: On Thu, 2014-08-14 at 10:54 +0200, Martin Jansa wrote: On Thu, Aug 14, 2014 at 04:46:01PM +0800, Chen Qi wrote: Add libdw to RDEPENDS of systemd to avoid build-deps QA warning. Signed-off-by: Chen Qi qi.c...@windriver.com ---

Re: [OE-core] [PATCH V3 00/10] upgrade systemd to 215 and other misc fixes

2014-08-25 Thread ChenQi
at: git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-misc-fixes http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-misc-fixes Chen Qi (10): systemd: upgrade to 215 systemd: add PACKAGECONFIG for 'elfutils' systemd: make runlevel work

Re: [OE-core] [PATCH V3 00/10] upgrade systemd to 215 and other misc fixes

2014-08-28 Thread ChenQi
On 08/29/2014 10:58 AM, Khem Raj wrote: On Sun, Aug 24, 2014 at 11:50 PM, ChenQi qi.c...@windriver.com wrote: On 08/24/2014 01:28 AM, Richard Purdie wrote: On Mon, 2014-08-18 at 09:51 +0800, Chen Qi wrote: The following changes since commit 4321c553d5ae816e566234e981a0815bba046d39

Re: [OE-core] [PATCH 09/26] systemd: add support for executing scripts under /etc/rcS.d

2014-09-02 Thread ChenQi
On 09/02/2014 11:00 PM, Burton, Ross wrote: On 2 September 2014 11:53, Chen Qi qi.c...@windriver.com wrote: This patch adds support for systemd to execute scripts under /etc/rcS.d. Did this patch come from the Debian package? If so please state this and include a link so we can keep in sync

Re: [OE-core] [PATCH 10/26] dhcp: add dhcpd.service

2014-09-02 Thread ChenQi
On 09/02/2014 11:03 PM, Burton, Ross wrote: On 2 September 2014 11:53, Chen Qi qi.c...@windriver.com wrote: --- /dev/null +++ b/meta/recipes-connectivity/dhcp/files/dhcpd.service @@ -0,0 +1,11 @@ +[Unit] +Description=DHCP Server Daemon +After=network.target +After=time-sync.target + +[Service]

Re: [OE-core] [PATCH 12/26] acpid: upgrade to 2.0.22 and add systemd support

2014-09-02 Thread ChenQi
On 09/02/2014 11:24 PM, Burton, Ross wrote: On 2 September 2014 11:53, Chen Qi qi.c...@windriver.com wrote: -inherit update-rc.d +inherit autotools update-rc.d systemd INITSCRIPT_NAME = acpid INITSCRIPT_PARAMS = defaults -# Makefile ignores our CFLAGS, so override it. -# -EXTRA_OEMAKE =

Re: [OE-core] [PATCH 02/26] systemd: add PACKAGECONFIG for curl

2014-09-02 Thread ChenQi
On 09/02/2014 10:59 PM, Burton, Ross wrote: On 2 September 2014 11:53, Chen Qi qi.c...@windriver.com wrote: Add PACKAGECONFIG for curl and disable it by default. It isn't clear what the curl dependency is for without reading the source, so naming the option journal-upload would be

Re: [OE-core] [PATCH 13/26] cups: make cups daemon start correctly

2014-09-02 Thread ChenQi
On 09/02/2014 11:36 PM, Burton, Ross wrote: On 2 September 2014 11:53, Chen Qi qi.c...@windriver.com wrote: +RDEPENDS_${PN} += procps Presumably the init script needs procps for some reason? Is this a sysvinit-specific dependency, or something the daemon does itself? Ross It's

Re: [OE-core] [PATCH 25/26] run-postinsts.service: remove redundant line

2014-09-02 Thread ChenQi
On 09/03/2014 01:17 AM, Burton, Ross wrote: On 2 September 2014 11:54, Chen Qi qi.c...@windriver.com wrote: The basic.target itself requires sysinit.target, so there's no need to write this redundant line in the run-postinsts unit file. Signed-off-by: Chen Qi qi.c...@windriver.com ---

Re: [OE-core] [PATCH 14/26] cups: add systemd support

2014-09-02 Thread ChenQi
On 09/02/2014 11:38 PM, Burton, Ross wrote: On 2 September 2014 11:54, Chen Qi qi.c...@windriver.com wrote: + # Remove sysinit script and symlinks + rm -rf ${D}${sysconfdir}/init.d/ + rm -rf ${D}${sysconfdir}/rc* Pretty sure you don't mean to unconditionally do that. Ross

Re: [OE-core] [PATCH 1/1] targetcontrol.py: test sudo available while invoking runqemu

2014-09-03 Thread ChenQi
On 09/03/2014 02:32 PM, Hongxu Jia wrote: While TEST_TARGET is qemu, the QemuRunner class invokes runqemu to start qemu, and runqemu needs sudo to set up tap interface. While sudo is not available, the exit of QemuRunner will cost 60 seconds and the exit message is not clear, so we add sudo

Re: [OE-core] [PATCH 1/1] systemd: fix to use ${libdir}

2014-09-14 Thread ChenQi
On 09/14/2014 01:39 PM, Chen Qi wrote: We need to user ${libdir} instead of ${exec_prefix}/lib. Otherwise, we would neet do_install errors if multilib is enabled. typo here. Should be 'meet' instead of 'neet'. V2 has been sent. //Chen Qi Signed-off-by: Chen Qi qi.c...@windriver.com ---

Re: [OE-core] [PATCH 2/2] extrausers: add util-linux-sulogin to IMAGE_INSTALL

2014-09-14 Thread ChenQi
On 09/15/2014 06:51 AM, Burton, Ross wrote: On 9 September 2014 04:01, Chen Qi qi.c...@windriver.com wrote: Previously, root with password set cannot login in rescue mode for core-image-minimal. This is because that the busybox's sulogin is not configured with FEATURE_SHADOWPASSWORDS enabled.

Re: [OE-core] [PATCH] sysklogd: set INHIBIT_UPDATERCD_BBCLASS if 'sysvinit' not in DISTRO_FEATURES

2014-09-18 Thread ChenQi
On 09/19/2014 12:06 PM, Fahad Usman wrote: We need to set INHIBIT_UPDATERCD_BBCLASS to 1 if 'sysvinit' is not present in DISTRO_FEATURES so that any un-necessary package dependencies are not added by update-rc.d.bbclass Signed-off-by: Fahad Usman fahad.us...@gmail.com ---

Re: [OE-core] [PATCH 0/4] Fixes for syslog services in systemd

2014-09-25 Thread ChenQi
22:00:05 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/systemd-syslog-service http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-syslog-service Chen Qi (4): systemd: enable syslog.socket

Re: [OE-core] [PATCH 1/1] libpam: add system-auth in case of systemd

2014-10-30 Thread ChenQi
On 10/30/2014 09:27 PM, Koen Kooi wrote: Op 30 okt. 2014, om 10:08 heeft Chen Qi qi.c...@windriver.com het volgende geschreven: systemd needs this file to be there because one of its configuration file in pam.d, systemd-user, requires it. Otherwise, we would have errors like below.

Re: [OE-core] [PATCH 1/1] libpam: add system-auth in case of systemd

2014-10-30 Thread ChenQi
On 10/31/2014 10:59 AM, ChenQi wrote: On 10/30/2014 09:27 PM, Koen Kooi wrote: Op 30 okt. 2014, om 10:08 heeft Chen Qi qi.c...@windriver.com het volgende geschreven: systemd needs this file to be there because one of its configuration file in pam.d, systemd-user, requires it. Otherwise, we

Re: [OE-core] [PATCH 1/1] gdb: Upgrade gdb 7.7.1 - 7.8

2014-11-03 Thread ChenQi
There are failures on autobuilder that might be related to this patch. https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/88/steps/BuildImages/logs/stdio ERROR: Command Error: exit status: 1 Output: Applying patch include_asm_ptrace.patch patching file

Re: [OE-core] [PATCH 1/1] libpam: add system-auth in case of systemd

2014-11-04 Thread ChenQi
On 10/31/2014 03:22 PM, Koen Kooi wrote: Op 31 okt. 2014, om 03:59 heeft ChenQi qi.c...@windriver.com het volgende geschreven: On 10/30/2014 09:27 PM, Koen Kooi wrote: Op 30 okt. 2014, om 10:08 heeft Chen Qi qi.c...@windriver.com het volgende geschreven: systemd needs this file

Re: [OE-core] [PATCH 1/1] systemd: make /etc/sysctl.conf have real effect

2014-11-05 Thread ChenQi
On 11/06/2014 03:48 PM, Koen Kooi wrote: Op 6 nov. 2014, om 08:32 heeft Chen Qi qi.c...@windriver.com het volgende geschreven: In systemd, /etc/sysctl.conf is actually ignored by systemd-sysctl, because this command only examine *.conf files under a bunch of directories like /etc/sysctl.d or

Re: [OE-core] [PATCH 1/1] systemd: make /etc/sysctl.conf have real effect

2014-11-06 Thread ChenQi
On 11/06/2014 06:33 PM, Koen Kooi wrote: Op 6 nov. 2014, om 08:59 heeft ChenQi qi.c...@windriver.com het volgende geschreven: On 11/06/2014 03:48 PM, Koen Kooi wrote: Op 6 nov. 2014, om 08:32 heeft Chen Qi qi.c...@windriver.com het volgende geschreven: In systemd, /etc/sysctl.conf

Re: [OE-core] [PATCH 1/1] systemd: make /etc/sysctl.conf have real effect

2014-11-06 Thread ChenQi
On 11/07/2014 06:38 AM, Randy Witt wrote: On 11/06/2014 05:29 AM, Koen Kooi wrote: Op 6 nov. 2014, om 12:59 heeft ChenQi qi.c...@windriver.com het volgende geschreven: On 11/06/2014 06:33 PM, Koen Kooi wrote: Op 6 nov. 2014, om 08:59 heeft ChenQi qi.c...@windriver.com het volgende

Re: [OE-core] [PATCH 1/1] systemd: make /etc/sysctl.conf have real effect

2014-11-08 Thread ChenQi
Martin Koen, I've sent out a new patch. The title is '[OE-core] [PATCH 0/1] procps: install symlink under /etc/sysctl.d in case of systemd'. Thanks for your reviewing. Best Regards, Chen Qi On 11/07/2014 10:29 PM, Martin Jansa wrote: On Fri, Nov 07, 2014 at 11:34:47AM +0800, ChenQi wrote

Re: [OE-core] [PATCH 1/1] systemd: add option for valgrind header checking

2014-11-13 Thread ChenQi
On 11/12/2014 11:55 PM, Burton, Ross wrote: On 12 November 2014 10:45, Chen Qi qi.c...@windriver.com mailto:qi.c...@windriver.com wrote: +-AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h valgrind/valgrind.h]) ++AC_ARG_ENABLE(valgrindheader, AS_HELP_STRING([--disable-valgrindheader],

Re: [OE-core] [PATCH 0/2] Use ALTERNATIVES to manage 'nologin'

2014-11-20 Thread ChenQi
On 11/21/2014 04:42 AM, Burton, Ross wrote: On 14 November 2014 08:35, Chen Qi qi.c...@windriver.com mailto:qi.c...@windriver.com wrote: Chen Qi (2): util-linux: use ALTERNATIVE mechanism to manage 'nologin' shadow: use ALTERNATIVE to manage 'nologin' util-linux has been

Re: [OE-core] [PATCH 1/5] base-files: files will be over written when updating using rpm

2014-11-20 Thread ChenQi
On 11/21/2014 04:37 AM, Burton, Ross wrote: On 14 November 2014 09:43, Jian Liu jian@windriver.com mailto:jian@windriver.com wrote: +CONFFILES_${PN} += ${sysconfdir}/motd ${sysconfdir}/nsswitch.conf ${sysconfdir}/profile I do have to wonder why we don't allow globs in

Re: [OE-core] [PATCH 1/1] opkg-utils: fix double slash problem in update-alternatives

2014-11-21 Thread ChenQi
On 11/21/2014 05:59 PM, Paul Barker wrote: On 21 November 2014 08:50, Chen Qi qi.c...@windriver.com wrote: When using update-alternatives, we would get output like the following: update-alternatives: Linking //usr/bin/sh to /usr/bin/bash What we really want is: update-alternatives: Linking

Re: [OE-core] Why is systemd installed to / (was: [yocto] Export bitbake variables between recipes)

2014-12-04 Thread ChenQi
On 12/04/2014 09:34 PM, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Mark Hatle Sent: den 3 december 2014 16:47 To: Peter Kjellerstedt;

Re: [OE-core] [PATCH 1/1] bind: fix conf.patch to remove configuration that causes failure

2014-12-05 Thread ChenQi
On 12/03/2014 08:23 PM, Burton, Ross wrote: On 2 December 2014 at 06:00, Chen Qi qi.c...@windriver.com mailto:qi.c...@windriver.com wrote: conf.patch added db.255 confgiuration entry to named.conf. However, We don't have db.255 configuration file, so remove this entry to avoid

Re: [OE-core] [PATCH 1/2] packaging: allow globs in CONFFILES

2014-12-05 Thread ChenQi
On 12/04/2014 04:48 AM, Burton, Ross wrote: On 1 December 2014 at 06:01, Chen Qi qi.c...@windriver.com mailto:qi.c...@windriver.com wrote: Allow globs in CONFFILES and default CONFFILES to '${sysconfdir}'. If I apply this patch and build core-image-sato with package_ipk: | *** Error:

Re: [OE-core] [PATCH 0/1] dhcp: add dhclient.service

2014-12-16 Thread ChenQi
methods in bitbake fetcher (2014-11-28 13:59:52 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/systemd-dhclient http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-dhclient Chen Qi (1): dhcp: add dhclient.service meta/recipes

Re: [OE-core] [PATCH 1/1] dhcp: fix for systemd service file

2014-12-17 Thread ChenQi
ping On 09/28/2014 04:59 PM, Chen Qi wrote: 1. Set Type=forking for dhcpd.service to make it start up correctly. 2. Add PIDFile=/var/run/dhcpd.pid 3. Do not force existence of the environment file. Signed-off-by: Chen Qi qi.c...@windriver.com ---

Re: [OE-core] [PATCH 1/1] dhcp: fix for systemd service file

2014-12-17 Thread ChenQi
On 12/17/2014 06:21 PM, Enrico Scholz wrote: ChenQi qi.chen-cwa4wttnnzf54taoqty...@public.gmane.org writes: 1. Set Type=forking for dhcpd.service to make it start up correctly. 2. Add PIDFile=/var/run/dhcpd.pid why forking? Starting dhcpd with '-f --no-pid' should chose the more simple non

Re: [OE-core] [PATCH 0/1] image.bbclass: avoid boot error on read-only systemd image

2014-12-19 Thread ChenQi
-core-contrib ChenQi/systemd-read-only http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/systemd-read-only Chen Qi (1): image.bbclass: avoid boot error on read-only systemd image meta/classes/image.bbclass | 21 + 1 file changed, 21 insertions

Re: [OE-core] [PATCH 1/4] packaging: allow globs in CONFFILES

2014-12-22 Thread ChenQi
On 12/19/2014 02:42 PM, Mike Looijmans wrote: On 12/19/2014 07:21 AM, Chen Qi wrote: ... As almost all files under /etc are basically configuration files, we provide a default value for CONFFILES. CONNFFILES = ${sysconfdir} This is going to hurt a lot of recipes. Please do not set

Re: [OE-core] [PATCH 1/4] packaging: allow globs in CONFFILES

2014-12-23 Thread ChenQi
On 12/23/2014 02:25 PM, Anders Darander wrote: * ChenQi qi.c...@windriver.com [141223 02:58]: On 12/19/2014 02:42 PM, Mike Looijmans wrote: On 12/19/2014 07:21 AM, Chen Qi wrote: ... As almost all files under /etc are basically configuration files, we provide a default value for CONFFILES

Re: [OE-core] [PATCH 5/7] pciutils: add PACKAGECONFIG for 'hwdb'

2014-12-29 Thread ChenQi
On 12/29/2014 07:45 PM, Burton, Ross wrote: Hi Chen, On 26 December 2014 at 09:35, Chen Qi qi.c...@windriver.com mailto:qi.c...@windriver.com wrote: Add PACKAGECONFIG for 'hwdb' to fix the following QA warning. WARNING: QA Issue: libpci rdepends on libudev, but it isn't a build

Re: [OE-core] [PATCH 1/1] sstatesig.py: fix logic in find_siginfo

2015-02-03 Thread ChenQi
the same checksum. e.g. /buildarea2/chenqi/sstate-cache/fc/sstate:sysstat:armv5te-poky-linux-gnueabi:10.2.1:r0:armv5te:3:fc861bf371c1b843b2843a3415eb5ff3_install.tgz.siginfo /buildarea2/chenqi/poky/build-systemd/tmp/stamps/armv5te-poky-linux-gnueabi/sysstat/10.2.1-r0

Re: [OE-core] post-installation scripts vs. init scripts

2015-02-04 Thread ChenQi
In OE, sysvinit scripts are executed one by one at start-up. The post-install scripts are run at first boot via /etc/rcS/S99run-postinsts. E.g. We have: 1) /etc/rc3/S10bind 2) /etc/rcS/S03udev 3) /etc/rcS/S99run-postinsts The execution sequence is 2) - 3) - 1). Regards, Chen Qi On

Re: [OE-core] [PATCH 0/1] image.bbclass: don't let do_rootfs depend on BUILDNAME

2015-02-02 Thread ChenQi
-core-contrib ChenQi/image-BUILDNAME http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/image-BUILDNAME Chen Qi (1): image.bbclass: don't let do_rootfs depend on BUILDNAME meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [OE-core] [PATCH 0/3] Upgrade util-linux and fix related circular dependencies

2015-01-18 Thread ChenQi
-core-contrib ChenQi/util-linux-2.25.2 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/util-linux-2.25.2 Chen Qi (3): util-linux: upgrade to 2.25.2 systemd: remove util-linux from DEPENDS libsm: remove dependency on e2fsprogs meta/recipes-core/systemd

Re: [OE-core] [PATCH 1/3] coreutils: don't generate useless dummy stub manpages

2015-02-10 Thread ChenQi
Hi Paul, The fix-for-dummy-man-usage.patch fixes error when generating dummy man pages. I think we should not delete it. Regards, Chen Qi On 02/11/2015 03:19 AM, Paul Gortmaker wrote: We had a couple patches to 1) deal with missing perl and 2) deal with the perl-less dummy help2man

Re: [OE-core] [PATCH 1/1] systemd: fix do_install failure in case of multilib

2015-02-10 Thread ChenQi
On 02/10/2015 08:37 PM, Burton, Ross wrote: On 10 February 2015 at 09:14, Chen Qi qi.c...@windriver.com mailto:qi.c...@windriver.com wrote: - ${@bb.utils.contains('PACKAGECONFIG', 'networkd', '', 'sed -i -e \$ad /run/systemd/netif/links 0755 root root -

Re: [OE-core] [PATCH] cmake-native: disable check for acl.h

2015-01-26 Thread ChenQi
Please ignore this one. Stupid command mistake. //Chen Qi On 01/27/2015 01:35 PM, Chen Qi wrote: We build cmake-native without acl support. However, the acl.h header is still being checked which would sometimes cause the following error during do_compile:

Re: [OE-core] [PATCH 1/2] init-install.sh: Switch to using static device paths.

2015-01-11 Thread ChenQi
On 01/09/2015 11:52 PM, Drew Moseley wrote: Use static device paths for mounting from /dev/disk/blah in case the device ordering changes. Signed-off-by: Drew Moseley drew_mose...@mentor.com --- meta/recipes-core/initrdscripts/files/init-install.sh | 14 ++ 1 file changed, 10

Re: [OE-core] [PATCH 0/9] initramfs and UUID support in minimal installer

2015-01-11 Thread ChenQi
at: git://git.openembedded.org/openembedded-core-contrib ChenQi/initramfs-uuid http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/busybox-syslog Chen Qi (9): initramfs-image-minimal.bb: add recipe initramfs-framework: fix an error in udev module initramfs

Re: [OE-core] [PATCH 4/4] sysklogd: upgrade to 1.5.1

2015-01-08 Thread ChenQi
On 01/09/2015 12:48 AM, Burton, Ross wrote: On 4 January 2015 at 10:04, Chen Qi qi.c...@windriver.com mailto:qi.c...@windriver.com wrote: +PR = r7 Remember to drop PR when upgrading. I've made this change locally when queuing for testing, no need to send another patch unless there's

Re: [OE-core] [RFC PATCH] package.bbclass: omit .pyc and .pyo file

2015-01-06 Thread ChenQi
On 01/07/2015 09:07 AM, Robert Yang wrote: We should not ship .pyc or .pyo file, but there are a few packages ship .pyc, should we: 1) Ignore them in package.bbclass as this patch showes ? Or 2) Add a qa check then fix it by hand one by one ? 3) Fix it in a bbclass that python related recipes

Re: [OE-core] [PATCH 1/2] init-install.sh: Switch to using static device paths.

2015-01-13 Thread ChenQi
On 01/13/2015 10:46 PM, Moseley, Drew wrote: On Jan 11, 2015, at 9:05 PM, ChenQi qi.c...@windriver.com wrote: On 01/09/2015 11:52 PM, Drew Moseley wrote: Use static device paths for mounting from /dev/disk/blah in case the device ordering changes. Signed-off-by: Drew Moseley drew_mose

Re: [OE-core] [PATCH] sed: Skip 'build-deps' QA check for sed-ptest package

2015-01-03 Thread ChenQi
On 01/01/2015 03:16 AM, Otavio Salvador wrote: On Fri, Dec 26, 2014 at 2:10 PM, Otavio Salvador ota...@ossystems.com.br wrote: The sed-ptest package has runtime dependencies which are used only when running the tests. So the 'build-dep' QA check can be skipped for this specific package. Fixes

Re: [OE-core] [PATCH] sed: Skip 'build-deps' QA check for sed-ptest package

2015-01-03 Thread ChenQi
On 01/04/2015 12:31 PM, Otavio Salvador wrote: On Sun, Jan 4, 2015 at 12:03 AM, ChenQi qi.c...@windriver.com wrote: On 01/01/2015 03:16 AM, Otavio Salvador wrote: On Fri, Dec 26, 2014 at 2:10 PM, Otavio Salvador ota...@ossystems.com.br wrote: The sed-ptest package has runtime dependencies

Re: [OE-core] [PATCH 3/3] libsm: remove dependency on e2fsprogs

2015-01-04 Thread ChenQi
On 01/04/2015 05:09 PM, Mike Looijmans wrote: On 01/04/2015 03:11 AM, Chen Qi wrote: This patch is to solve the following circular dependency problem. systemd - dbus - libsm - e2fsprogs - util-linux - systemd libsm doesn't have any dependency on e2fsprogs. It might be some dependency

Re: [OE-core] [PATCH 1/5] rootfs.py: two changes regarding log checking

2015-03-18 Thread ChenQi
On 03/18/2015 11:46 PM, Aníbal Limón wrote: Hi Paul, Chen, Days ago i sent a patchset for handle INCOMPATIBLE_LICENSE in manifest creation [1] that contains a rewrite of license_manifest_creation from shell to python, i mean now these warnings appears. Also i sent a similar patches like

Re: [OE-core] [PATCH V2 1/5] rootfs.py: two changes regarding log checking

2015-03-18 Thread ChenQi
On 03/19/2015 01:04 PM, Martin Jansa wrote: On Thu, Mar 19, 2015 at 10:59:13AM +0800, Chen Qi wrote: This patch involves two changes. 1. Extend the regular expression to also catch '^WRANING:' in _log_check_warn. Still has the typo I've reported earlier. Oh... Thanks. I'll send out V3.

Re: [OE-core] [PATCH] systemd: fix /var/log/journal ownership

2015-03-12 Thread ChenQi
On 03/10/2015 11:25 AM, Jonathan Liu wrote: The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/recipes-core/systemd/systemd_219.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [OE-core] [PATCH] systemd: fix /var/log/journal ownership

2015-03-12 Thread ChenQi
On 03/12/2015 03:21 PM, Khem Raj wrote: On Mar 12, 2015, at 12:14 AM, ChenQi qi.c...@windriver.com wrote: On 03/10/2015 11:25 AM, Jonathan Liu wrote: The ownership needs to be explicitly set otherwise it inherits the user and group id of the build user. Signed-off-by: Jonathan Liu net

Re: [OE-core] [PATCH 1/1] systemd: fix SULOGIN path

2015-03-25 Thread ChenQi
On 03/25/2015 02:26 PM, Jonathan Liu wrote: On 25/03/2015 5:03 PM, Chen Qi wrote: Fix SULOGIN path so that rescue.service doesn't use `sulogin' from the sysroot part of the build on host, which would lead to errors like below when booting into rescue mode. /bin/sh: /buildarea2/chenqi

Re: [OE-core] [PATCH 1/1] populate-volatile.sh: detect the change of configuration files

2015-04-21 Thread ChenQi
ping ... //Chen Qi On 03/20/2015 02:27 PM, Chen Qi wrote: In case the configuration files are modified by user, the cached script, /etc/volatile.cache should not be executed. Instead, the configuration files should be parsed again and generate the new cache. Otherwise, the user modifications

Re: [OE-core] [PATCH V2 1/2] uninative-tarball: delete the packagedata task

2015-04-24 Thread ChenQi
message on the branch? Thanks, Paul Thanks for pointing that out. I've updated the remote branch. The bug number has been added to the commit message. See below. http://cgit.openembedded.org/openembedded-core-contrib/commit/?h=ChenQi/uninative-tarball-fixesid

Re: [OE-core] [PATCH 2/2] populate_sdk_base: avoid executing empty function

2015-04-24 Thread ChenQi
On 04/24/2015 03:20 PM, Richard Purdie wrote: On Fri, 2015-04-24 at 14:50 +0800, Chen Qi wrote: `bitbake uninative-tarball' raises the following warning. WARNING: Function doesn't exist This is because SDK_PACKAGING_FUNC is set to in its recipe. Anyway, we need to check this variable

[OE-core] update-alternatives setting problem in OE

2015-04-23 Thread ChenQi
Hi All, In OE, we have three providers for update-alternatives, dpkg, opkg-utils and chkconfig. We default to use the following setting in default-providers.inc. PREFERRED_PROVIDER_virtual/update-alternatives ?= opkg-utils PREFERRED_PROVIDER_virtual/update-alternatives-native ?=

Re: [OE-core] [PATCH V2 0/2] populate_sdk_ext: two fixes

2015-05-07 Thread ChenQi
-core-contrib ChenQi/populate_sdk_ext_2_fixes http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/populate_sdk_ext_2_fixes Chen Qi (2): populate_sdk_ext: install the latest buildtools-tarball populate_sdk_ext: consider custom configuration in local.conf meta

Re: [OE-core] [PATCH V3 1/2] populate_sdk_ext: install the latest buildtools-tarball

2015-05-12 Thread ChenQi
On 05/13/2015 12:19 AM, Khem Raj wrote: On May 11, 2015, at 11:19 PM, Chen Qi qi.c...@windriver.com wrote: - install ${SDK_DEPLOY}/${DISTRO}-${TCLIBC}-${SDK_ARCH}-buildtools-tarball-${TUNE_PKGARCH}-buildtools-nativesdk-standalone-${DISTRO_VERSION}.sh ${SDK_OUTPUT}/${SDKPATH} + #

Re: [OE-core] [PATCH V3 1/2] populate_sdk_ext: install the latest buildtools-tarball

2015-05-12 Thread ChenQi
On 05/13/2015 09:56 AM, Khem Raj wrote: On May 12, 2015, at 6:45 PM, ChenQi qi.c...@windriver.com wrote: On 05/13/2015 12:19 AM, Khem Raj wrote: On May 11, 2015, at 11:19 PM, Chen Qi qi.c...@windriver.com wrote: - install ${SDK_DEPLOY}/${DISTRO}-${TCLIBC}-${SDK_ARCH}-buildtools-tarball

Re: [OE-core] [PATCH V2 1/1] populate_sdk_ext: set noexec flag for some tasks

2015-05-14 Thread ChenQi
On 05/15/2015 01:10 AM, Paul Eggleton wrote: On Thursday 14 May 2015 09:49:50 Randy Witt wrote: On 05/13/2015 07:19 PM, Chen Qi wrote: For the SDK, what we are interested in is the sysroot part. So the only useful task is do_populate_sysroot. Other tasks like do_package don't need to run. So

Re: [OE-core] [PATCH V2 0/6] Package upgrades

2015-04-12 Thread ChenQi
: binutils: Fix packaging now gold is always built (2015-04-08 23:10:57 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/package-upgrades-20140413 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/package

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

2015-04-08 Thread ChenQi
the patch in the repo: git://git.openembedded.org/openembedded-core-contrib ChenQi/package-upgrade-20150408 commit 3160a583f7bafb06062840bb0a920416c0e31eec Author: Chen Qi qi.c...@windriver.com Date: Wed Apr 8 14:39:14 2015 +0800 sudo: upgrade to 1.8.13 The do_configure_prepend is deleted

Re: [OE-core] [PATCH 1/2] util-linux: split util-linux-sulogin

2015-04-08 Thread ChenQi
On 04/08/2015 09:54 PM, Paul Eggleton wrote: On Tuesday 07 April 2015 11:46:24 Andreas Oberritter wrote: Hello Chen Qi, On 25.03.2015 10:11, Chen Qi wrote: [YOCTO #6698] Signed-off-by: Chen Qi qi.c...@windriver.com --- meta/recipes-core/util-linux/util-linux.inc | 10 +++--- 1 file

Re: [OE-core] [PATCH 0/2] Fix for runtime error for rescue mode

2015-04-06 Thread ChenQi
://git.openembedded.org/openembedded-core-contrib ChenQi/bug6698 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/bug6698 Chen Qi (2): util-linux: split util-linux-sulogin shadow: add 'util-linux-sulogin' to RDEPENDS meta/recipes-core/util-linux/util-linux.inc

Re: [OE-core] [PATCH 0/4] Support persistent /var/log

2015-04-06 Thread ChenQi
://git.openembedded.org/openembedded-core-contrib ChenQi/persistent-var-log http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/persistent-var-log Chen Qi (4): bitbake.conf: add VOLATILE_LOG_DIR variable base-files: respect VOLATILE_LOG_DIR initscripts: support

Re: [OE-core] [PATCH] kernel/rm_work: Improve interaction

2015-05-20 Thread ChenQi
Hi Richard, I've observed a side effect of this patch. The problem is sstate reuse. Steps to reproduce: 1) bitbake core-image-minimal 2) Change TMPDIR in local.conf TMPDIR = ${TOPDIR}/tmp-test 3) bitbake core-image-minimal In theory, sstate objects are all reused in step 3. But currently

Re: [OE-core] [PATCH 1/1] buildstats-summary: add eventmask

2015-05-19 Thread ChenQi
On 05/19/2015 09:40 PM, Christopher Larson wrote: On Tue, May 19, 2015 at 3:47 AM, Richard Purdie richard.pur...@linuxfoundation.org mailto:richard.pur...@linuxfoundation.org wrote: On Tue, 2015-05-19 at 16:29 +0800, Chen Qi wrote: Add eventmask for buildstats_summary handler.

Re: [OE-core] [PATCH 2/3] populate_sdk_ext: consider custom configuration in local.conf

2015-06-09 Thread ChenQi
On 06/04/2015 10:11 PM, Paul Eggleton wrote: Hi Qi, On Wednesday 27 May 2015 14:09:39 Chen Qi wrote: Copy the contents of local.conf under TOPDIR into the final generated local.conf. In this way, custom settings are also made into the final local.conf like IMAGE_INSTALL, DISTRO_FEATURES,

<    1   2   3   4   5   6   >