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 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 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] 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 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/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 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 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/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] 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] 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] 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] 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] [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] 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 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: 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-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] 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] 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-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 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] 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 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 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 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 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 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 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 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] 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 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 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] 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] 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] 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 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 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] [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/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] [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] 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] 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 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] 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 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] [PATCH 1/1] python-numpy: fix compile error for qemumips

2014-02-26 Thread ChenQi
doesn't fail (according to the comments in the recipe); but for mips/ppc, we don't need to do so, the build just succeeds. chenqi@pek-hostel-vm07:~/poky/build-qemumips64 [0] $ ls tmp/work/mips64-poky-linux/python-numpy/1.7.0-r1/numpy-1.7.0/build/src.linux-i686-2.7/numpy/core/include/numpy/ config.h

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/5] systemd: add 'less' to its RRECOMMENDS

2014-01-23 Thread ChenQi
On 01/22/2014 06:18 PM, Bernhard Reutner-Fischer wrote: On 22 January 2014 11:08, ChenQi qi.c...@windriver.com wrote: On 01/22/2014 06:00 PM, Bernhard Reutner-Fischer wrote: On 20 January 2014 09:35, ChenQi qi.c...@windriver.com wrote: On 01/20/2014 04:06 PM, Bernhard Reutner-Fischer wrote

Re: [OE-core] [PATCH V3 2/2] Add missing RDEPENDS of initscripts-functions

2014-01-23 Thread ChenQi
Hi Martin Paul, I've reworked on this issue, and patches have been sent out. It would be really appreciated if you could have a look at the patches. Best Regards, Chen Qi On 01/20/2014 06:18 PM, Martin Jansa wrote: On Mon, Jan 20, 2014 at 10:15:41AM +0800, ChenQi wrote: On 01/17/2014 11:37

Re: [OE-core] update-alternatives: symlinks are not created

2014-01-23 Thread ChenQi
On 01/24/2014 08:48 AM, Yevhen Kyriukha wrote: I've built custom image with busybox included and noticed that symlinks for mkdir, ls, rm and other programs are not created. In do_rootfs log I have the following error messages: ... update-alternatives: error: alternative path /bin/busybox.suid

Re: [OE-core] [PATCH 2/2] systemd-compat-units: make run-postinsts.service work correctly on target

2014-01-22 Thread ChenQi
On 01/23/2014 01:08 AM, Burton, Ross wrote: On 14 January 2014 01:50, ChenQi qi.c...@windriver.com wrote: As you have started working on this problem, I think I'll just drop this patch. After looking at your branch, I think there's only one thing to look out for. When we're using ipk/dpkg

Re: [OE-core] [PATCH V3 1/5] systemd: add 'less' to its RRECOMMENDS

2014-01-20 Thread ChenQi
On 01/20/2014 04:06 PM, Bernhard Reutner-Fischer wrote: On 20 January 2014 03:23:02 Chen Qi qi.c...@windriver.com wrote: The less command provided by busybox cannot interpret the control character, resulting in obscure output of the journalctl command in a systemd based image. Can you send

Re: [OE-core] [PATCH V3 2/2] Add missing RDEPENDS of initscripts-functions

2014-01-19 Thread ChenQi
On 01/17/2014 11:37 PM, Martin Jansa wrote: On Fri, Jan 17, 2014 at 02:11:39PM +, Paul Eggleton wrote: Hi Qi, On Monday 06 January 2014 15:27:35 Chen Qi wrote: Now that the initscripts-functions has been packaged separately, packages which may use the functions script should have a

Re: [OE-core] [PATCH V3 2/2] Add missing RDEPENDS of initscripts-functions

2014-01-19 Thread ChenQi
On 01/17/2014 10:11 PM, Paul Eggleton wrote: Hi Qi, On Monday 06 January 2014 15:27:35 Chen Qi wrote: Now that the initscripts-functions has been packaged separately, packages which may use the functions script should have a runtime dependency on it. Signed-off-by: Chen Qi

Re: [OE-core] [PATCH 0/5] systemd misc fixes

2014-01-17 Thread ChenQi
) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/systemd-misc-fixes http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/systemd-misc-fixes Can you send pull-request from oe-core? I've sent out V2. But the remote branch is still poky-contrib. Is it OK

Re: [OE-core] [PATCH 2/2] systemd-compat-units: make run-postinsts.service work correctly on target

2014-01-13 Thread ChenQi
On 01/14/2014 01:01 AM, Burton, Ross wrote: On 13 January 2014 07:38, Chen Qi qi.c...@windriver.com wrote: +ExecStart=-/etc/rcS.d/S98run-postinsts ; -/etc/rcS.d/S99run-postinsts Can we just make opkg and run-postinsts write that file using the same number? Also, that service file needs to

Re: [OE-core] [PATCH 1/1] acl: enable ptest support

2014-01-12 Thread ChenQi
You need to add 'acl' to DISTRO_FEATURES to enable acl support for coreutils. Best Regards, Chen Qi On 01/13/2014 10:28 AM, Lu Chong wrote: On 01/11/2014 01:21 AM, Saul Wold wrote: On 01/10/2014 01:13 AM, Chong Lu wrote: Install acl test suite and run it as ptest. nfs test cases need

Re: [OE-core] [oe-commits] Chen Qi : initscripts: split the functions script into a separate package

2014-01-09 Thread ChenQi
On 01/09/2014 07:54 PM, Martin Jansa wrote: On Mon, Jan 06, 2014 at 10:15:11PM +, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: 736dd8380f41d6ff1d3d0e4fe33cc01e2e873ef6 URL:

Re: [OE-core] [oe-commits] Chen Qi : Add missing RDEPENDS of initscripts-functions

2014-01-09 Thread ChenQi
On 01/09/2014 10:49 PM, Martin Jansa wrote: On Mon, Jan 06, 2014 at 10:15:11PM +, g...@git.openembedded.org wrote: Module: openembedded-core.git Branch: master Commit: 6690c12cb1977f6bf93f3eb6d471dbd7db81bf28 URL:

Re: [OE-core] [PATCH V2 1/2] initscripts: split the functions script into a separate package

2014-01-05 Thread ChenQi
On 01/04/2014 05:23 AM, Saul Wold wrote: On 01/01/2014 06:25 PM, Chen Qi wrote: Many SysV init scripts need the /etc/init.d/functions script. But this script is part of the initscripts package. As a result, the initscripts package should always be installed into the system to avoid errors when

Re: [OE-core] Why do we allow empty -dev/-dbg packages ?

2014-01-01 Thread ChenQi
On 12/31/2013 05:45 PM, Martin Jansa wrote: On Tue, Dec 31, 2013 at 09:49:21AM +0800, ChenQi wrote: Hi All, This might be a dummy question, but it has been puzzling me for some time. So if someone could give me some explanation, that would be really appreciated. In bitbake.conf, we have

[OE-core] Why do we allow empty -dev/-dbg packages ?

2013-12-30 Thread ChenQi
Hi All, This might be a dummy question, but it has been puzzling me for some time. So if someone could give me some explanation, that would be really appreciated. In bitbake.conf, we have: ALLOW_EMPTY_${PN}-dev = 1 ALLOW_EMPTY_${PN}-dbg = 1 That means we allow emtpy -dev/-dbg packages. But

Re: [OE-core] [PATCH 1/2] busybox: enable SEAMLESS_XZ by default

2013-12-23 Thread ChenQi
) bytes. Here's more data. *) Before the change: -rwxr-xr-x 2 chenqi chenqi 56 Dec 23 02:44 tmp/work/i586-poky-linux/busybox/1.21.1-r0/packages-split/busybox/bin/busybox.nosuid -rwsr-xr-x 2 chenqi chenqi 47184 Dec 23 02:44 tmp/work/i586-poky-linux/busybox/1.21.1-r0/packages-split/busybox/bin

Re: [OE-core] [PATCH V2 1/1] image.bbclass: add ability to set systemd default target

2013-12-18 Thread ChenQi
On 12/18/2013 03:53 PM, Koen Kooi wrote: Op 18 dec. 2013, om 08:49 heeft qi.c...@windriver.com het volgende geschreven: From: Chen Qi qi.c...@windriver.com Add ability to set the default target for systemd images. The default value for the target is derived from checking whether

Re: [OE-core] [PATCH 1/1] rootfs_rpm.bbclass: make complementary packages not attempt-only

2013-12-17 Thread ChenQi
On 12/17/2013 10:22 PM, Mark Hatle wrote: On 12/17/13, 2:54 AM, qi.c...@windriver.com wrote: From: Chen Qi qi.c...@windriver.com Installing complementary packages should not be attempt-only, otherwise, errors would be hidden. For example, if we enable ptest distro feature, and we add

Re: [OE-core] [PATCH 1/1] image.bbclass: add ability to set systemd default target

2013-12-17 Thread ChenQi
Please drop this one. It has some problem with live images. I'll send out a V2. //Chen Qi On 12/17/2013 05:05 PM, qi.c...@windriver.com wrote: From: Chen Qi qi.c...@windriver.com Add ability to set the default target for systemd images. The default value for the target is derived from

Re: [OE-core] [PATCH 0/2] Change the way of handling CONFFILES

2013-12-15 Thread ChenQi
On 12/14/2013 12:51 AM, Paul Eggleton wrote: Hi Qi, On Friday 13 December 2013 11:09:01 qi.c...@windriver.com wrote: It's a very common situation in OE/Yocto that the recipe authors/maintainers either forget to set the CONFFILES variable or set it wrong. For example, we don't have CONFFILES

Re: [OE-core] [PATCH 0/2] Change the way of handling CONFFILES

2013-12-15 Thread ChenQi
On 12/14/2013 01:18 AM, Enrico Scholz wrote: qi.chen-cwa4wttnnzf54taoqty...@public.gmane.org writes: As almost all files under /etc should be considerred as config files, A lot of projects (especially from the freedesktop edge) are (ab)using /etc to store non configuration files. E.g. all the

[OE-core] Problems with INC_RPM_IMAGE_GEN

2013-12-15 Thread ChenQi
Hi All, Recently I've enabled INC_RPM_IMAGE_GEN on my old and slow build machine. Here are two problems I can see with this feature. 1. INC_RPM_IMAGE_GEN and 'rm_work' If we enable INC_RPM_IMAGE_GEN and 'rm_work' at the same time, we would get build failures. This is because the original

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

2013-12-11 Thread ChenQi
Hi Richard, What do you think of this one? Best Regards, Chen Qi On 11/15/2013 10:46 AM, qi.c...@windriver.com wrote: From: Chen Qi qi.c...@windriver.com TMPDIR must be an absolute path, otherwise, the build will fail. Special characters in TMPDIR will also cause build failures. This patch

Re: [OE-core] [PATCH 1/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-10 Thread ChenQi
On 12/10/2013 07:40 PM, Burton, Ross wrote: On 10 December 2013 11:37, Richard Purdie richard.pur...@linuxfoundation.org wrote: I thought it would do no harm. And I will send this patch to upstream, so it might be a little strange that I only modify the Makefile.am file even if Makefile.in has

Re: [OE-core] [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'

2013-12-09 Thread ChenQi
On 12/09/2013 09:52 PM, Andrea Adami wrote: On Mon, Dec 9, 2013 at 12:52 PM, Otavio Salvador ota...@ossystems.com.br wrote: Hello, I agree with the commit but ... On Mon, Dec 9, 2013 at 1:17 AM, qi.c...@windriver.com wrote: From: Chen Qi qi.c...@windriver.com Default USE_DEVFS to 1 so that

Re: [OE-core] [PATCH 1/1] image.bbclass: default USE_DEVFS to '1'

2013-12-09 Thread ChenQi
://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=ChenQi/USE_DEVFSid=435b6e6e34c4c65022e57b78a246cfd8fcd2d71f Thanks, Chen Qi 2. Most of our images use a filesystem over /dev. Most of the time, it's just devtmpfs. So we actually are using a filesystem over /dev. Signed-off-by: Chen Qi qi.c

Re: [OE-core] [PATCH 1/1] libgcrypt: fix compile error with '-O2' in sysroot path

2013-12-05 Thread ChenQi
On 12/06/2013 06:41 AM, Saul Wold wrote: On 12/05/2013 12:55 AM, qi.c...@windriver.com wrote: From: Chen Qi qi.c...@windriver.com Characters like '-O2' or '-Ofast' will be replaced by '-O1' when compiling cipher. If we are cross compiling libgcrypt and sysroot contains such characters, we

<    1   2   3   4   5   6   >