[OE-core] [PATCH V3 3/4] sysklogd: add systemd support

2014-09-27 Thread Chen Qi
This patch includes the following changes: 1. Add socket activation support for sysklogd 2. Add systemd service file 3. Use ALTERNATIVE mechanism in OE to manage the syslog service 4. Set ALTERNATIVE_PRIORITY to "100" regardless of whether 'systemd' is in DISTRO_FEATURES or not because sysklogd

[OE-core] [PATCH V3 1/4] systemd: enable syslog.socket by default

2014-09-27 Thread Chen Qi
The syslog daemon behaviour in our systemd system should be like the following 1. If ForwardToSyslog is disabled, no daemon should be started. 2. If ForwardToSyslog is enabled, daemon should be started via socket activation. This is very important for OE based system. Because unlike other dis

[OE-core] [PATCH V3 0/4] Fixes for systemd services in systemd

2014-09-27 Thread Chen Qi
Changes since V2: sysklogd: Unlink /dev/log only if it's not from systemd The following changes since commit f6a39cc957bf85ff43513f0b76afc3b2c9c906b6: sstatesig: fix overrides behaviour to remove SIGGEN_LOCKEDSIGS_i586 (2014-09-17 22:00:05 +0100) are available in the git repository at: git

[OE-core] [PATCH V3 2/4] busybox: fix for syslog service in systemd

2014-09-27 Thread Chen Qi
This patch includes the following changes: 1. Explicitly set StandardOutput of the log daemon to null. This would avoid creating a feedback loop of the syslog service. See link below for more information. http://www.freedesktop.org/wiki/Software/systemd/syslog/ 2. Use ALTERNATIVE machanis

[OE-core] [PATCH V3 4/4] sysklog: comment out configuration regarding xconsole

2014-09-27 Thread Chen Qi
I commented out these configurations for the following reasons: We don't have xconsole utility in OE. These configurations are useless for us. Besides, the /dev/xconsole device is created in the init script which means if these configuration are enabled, we need to add a script in sysklogd which c

Re: [OE-core] boost 1.56 compile fail

2014-09-27 Thread Yi Qingliang
https://github.com/boostorg/atomic/commit/415db7054723291042e4ff1ffa8fdd5bc8b07163 Please, see if it helps in your case. https://svn.boost.org/trac/boost/ticket/10446 On Mon, Sep 1, 2014 at 7:37 PM, Peter A. Bigot wrote: > On 08/31/2014 09:31 PM, Yi Qingliang wrote: > > then what's your sugg

Re: [OE-core] [oe-core][PATCH] valgrind: pass -maltivec only if it supported

2014-09-27 Thread Khem Raj
On Tuesday, September 23, 2014, wrote: > From: Ting Liu > > > none/tests/ppc64/Makefile.am (and ppc32, too) passes the flag -maltivec > unconditionally. Build will fail if Altivec not supported. add the flag > only if HAS_ALTIVEC defined. > > Why would you use altivec abi without altivec being fo

[OE-core] [PATCH 2/2] systemd 216: add system user factory files to CONFFILES

2014-09-27 Thread Koen Kooi
These generate passwd and group files, so keeping user changes is very important. Signed-off-by: Koen Kooi --- meta/recipes-core/systemd/systemd_216.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_216.bb b/meta/recipes-core/systemd/sy

[OE-core] [PATCH 1/2] systemd 216: add postinsts for hostname and machine nss modules

2014-09-27 Thread Koen Kooi
The external recipe has postinsts so to make this a true replacement add them here as well. Signed-off-by: Koen Kooi --- meta/recipes-core/systemd/systemd_216.bb | 22 ++ 1 file changed, 22 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_216.bb b/meta/recipes-c