[OE-core] [PATCH V6 2/3] useradd.bbclass: code refactor

2013-07-17 Thread Qi.Chen
From: Chen Qi qi.c...@windriver.com The basic functions have moved to useradd_base.bbclass. So this class only needs to inherit useradd_base.bbclass and use the functions defined there. The reason is to avoid code duplication with extrausers.bbclass. [YOCTO #4074] Signed-off-by: Chen Qi

[OE-core] [PATCH 2/2] eglibc-2.18: Update to latest snapshot

2013-07-17 Thread Khem Raj
Works on all supposted qemu machines Signed-off-by: Khem Raj raj.k...@gmail.com --- .../eglibc/cross-localedef-native_2.18.bb |6 +++--- meta/recipes-core/eglibc/eglibc_2.18.bb|6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

[OE-core] [PATCH v2] cmake.bbclass: allow searching host paths for non-target builds

2013-07-17 Thread Jonathan Liu
This allows /usr/bin/{ld,ar,objcopy,objdump,ranlib,strip} to be found and the CMAKE_{LINKER,AR,OBJCOPY,OBJDUMP,RANLIB,STRIP} cmake variables to be properly set for native cmake recipes. Signed-off-by: Jonathan Liu net...@gmail.com --- meta/classes/cmake.bbclass | 15 ++- 1 file

Re: [OE-core] [PATCH] util-linux: replace += with _append to EXTRA_OECONF_virtclass-native

2013-07-17 Thread Saul Wold
On 07/16/2013 10:09 PM, Ming Liu wrote: The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk build time. I am not sure I understand this one. If what you are

Re: [OE-core] [PATCH v2] cmake.bbclass: allow searching host paths for non-target builds

2013-07-17 Thread Stefan Herbrechtsmeier
Am 17.07.2013 08:26, schrieb Jonathan Liu: This allows /usr/bin/{ld,ar,objcopy,objdump,ranlib,strip} to be found and the CMAKE_{LINKER,AR,OBJCOPY,OBJDUMP,RANLIB,STRIP} cmake variables to be properly set for native cmake recipes. Signed-off-by: Jonathan Liu net...@gmail.com ---

Re: [OE-core] [PATCH] util-linux: replace += with _append to EXTRA_OECONF_virtclass-native

2013-07-17 Thread Ming Liu
On 07/17/2013 02:51 PM, Saul Wold wrote: On 07/16/2013 10:09 PM, Ming Liu wrote: The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk build time. I am not

[OE-core] [PATCH V1] util-linux: replace += with _append to EXTRA_OECONF_virtclass-native

2013-07-17 Thread Ming Liu
The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk build time. Signed-off-by: Ming Liu ming@windriver.com ---

[OE-core] [PATCH] cmake.bbclass: set ar/ld/nm/objcopy/objdump/ranlib/strip native paths

2013-07-17 Thread Jonathan Liu
The CMAKE_{AR,LINKER,NM,OBJCOPY,OBJDUMP,RANLIB,STRIP} cmake variables are currently set to values like CMAKE_LINKER-NOTFOUND for native recipes because the host paths are not searched. This is because the CMAKE_FIND_ROOT_PATH_MODE_PROGRAM cmake variable is set to ONLY. To resolve this, explicitly

Re: [OE-core] [PATCH V1] util-linux: replace += with _append to EXTRA_OECONF_virtclass-native

2013-07-17 Thread Paul Eggleton
Hi Ming, On Wednesday 17 July 2013 16:19:39 Ming Liu wrote: The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk build time. Signed-off-by: Ming Liu

Re: [OE-core] [PATCH V1] util-linux: replace += with _append to EXTRA_OECONF_virtclass-native

2013-07-17 Thread Martin Jansa
On Wed, Jul 17, 2013 at 04:19:39PM +0800, Ming Liu wrote: The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk build time. Signed-off-by: Ming Liu

Re: [OE-core] [PATCH V1] util-linux: replace += with _append to EXTRA_OECONF_virtclass-native

2013-07-17 Thread Ming Liu
On 07/17/2013 04:31 PM, Paul Eggleton wrote: Hi Ming, On Wednesday 17 July 2013 16:19:39 Ming Liu wrote: The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk

Re: [OE-core] [PATCH V1] util-linux: replace += with _append to EXTRA_OECONF_virtclass-native

2013-07-17 Thread Ming Liu
On 07/17/2013 04:34 PM, Martin Jansa wrote: On Wed, Jul 17, 2013 at 04:19:39PM +0800, Ming Liu wrote: The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk build

[OE-core] [PATCH 1/2] tremor: add a patch to build with arm thumb

2013-07-17 Thread Jesse Zhang
Add IT instructions so that it builds with thumb tunes. ARM mode won't be affected since IT is a pseudo-instruction in ARM mode. Signed-off-by: Sen Zhang sen.zh...@windriver.com --- .../tremor/tremor-20120314/tremor-arm-thumb2.patch | 104 +

[OE-core] [PATCH 0/1] iproute2: Fix alternative link for ip command

2013-07-17 Thread Yi Zhao
The following changes since commit 3dee534f1e25109e0bdb681de0746c336f4b8840: lib/oeqa: fix dependecy check (2013-07-16 10:04:17 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib yizhao/bug4855v3

[OE-core] [PATCH 1/1] iproute2: Fix alternative link for ip command

2013-07-17 Thread Yi Zhao
In busybox the default location of symbolic link for command ip is /sbin/ip. But in iproute2, the alternatvie link for ip is /bin/ip. It will cause an error when running update-alternatives: Cannot register alternative ip to /bin/ip since it is already registered to /sbin/ip. [YOCTO #4855]

[OE-core] [PATCH 0/2] Fix some typos for stderr redirection

2013-07-17 Thread Yi Zhao
The following changes since commit 3dee534f1e25109e0bdb681de0746c336f4b8840: lib/oeqa: fix dependecy check (2013-07-16 10:04:17 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib yizhao/postinsts

[OE-core] [PATCH 1/2] run-postinsts: Fix typo

2013-07-17 Thread Yi Zhao
Fix a typo for stderr redirection. Signed-off-by: Yi Zhao yi.z...@windriver.com --- .../run-postinsts/run-postinsts/run-postinsts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts

[OE-core] [PATCH 2/2] rpm-postinsts.bb: Fix typo

2013-07-17 Thread Yi Zhao
Fix a typo for stderr redirection. Signed-off-by: Yi Zhao yi.z...@windriver.com --- meta/recipes-devtools/rpm/rpm-postinsts.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb b/meta/recipes-devtools/rpm/rpm-postinsts.bb index

Re: [OE-core] [PATCH] cmake.bbclass: set ar/ld/nm/objcopy/objdump/ranlib/strip native paths

2013-07-17 Thread Stefan Herbrechtsmeier
Am 17.07.2013 10:40, schrieb Jonathan Liu: The CMAKE_{AR,LINKER,NM,OBJCOPY,OBJDUMP,RANLIB,STRIP} cmake variables are currently set to values like CMAKE_LINKER-NOTFOUND for native recipes because the host paths are not searched. This is because the CMAKE_FIND_ROOT_PATH_MODE_PROGRAM cmake variable

Re: [OE-core] [PATCH] cmake.bbclass: set ar/ld/nm/objcopy/objdump/ranlib/strip native paths

2013-07-17 Thread Jonathan Liu
On 17/07/2013 7:13 PM, Stefan Herbrechtsmeier wrote: Am 17.07.2013 10:40, schrieb Jonathan Liu: The CMAKE_{AR,LINKER,NM,OBJCOPY,OBJDUMP,RANLIB,STRIP} cmake variables are currently set to values like CMAKE_LINKER-NOTFOUND for native recipes because the host paths are not searched. This is

[OE-core] [PATCH] bind: run in the chrooted jail

2013-07-17 Thread Ming Liu
1. Introduce bind-chroot package, contains files/directories used as jail. 2. Add hooks to init script for setting up named to run chroot. 3. Setting ROOTDIR in /etc/default/bind9 is needed to run chroot. These components mainly come from:

Re: [OE-core] [PATCH 1/1] iproute2: Fix alternative link for ip command

2013-07-17 Thread Iorga, Cristian
OK. -Original Message- From: Yi Zhao [mailto:yi.z...@windriver.com] Sent: Wednesday, July 17, 2013 12:07 PM To: openembedded-core@lists.openembedded.org Cc: Iorga, Cristian Subject: [PATCH 1/1] iproute2: Fix alternative link for ip command In busybox the default location of symbolic

Re: [OE-core] [PATCH 2/2] libatomics-ops: force omit frame pointer for x86 builds

2013-07-17 Thread Phil Blundell
On Wed, 2013-07-17 at 16:40 +0800, Jesse Zhang wrote: Fix failures when building with -fno-omit-frame-pointer (and without optimization, i.e. -O0): In file included from atomic_ops.h:212:0, from atomic_ops_stack.h:32, from atomic_ops_stack.c:23:

Re: [OE-core] [PATCH] cmake.bbclass: set ar/ld/nm/objcopy/objdump/ranlib/strip native paths

2013-07-17 Thread Jonathan Liu
On 17/07/2013 7:49 PM, Jonathan Liu wrote: On 17/07/2013 7:13 PM, Stefan Herbrechtsmeier wrote: Am 17.07.2013 10:40, schrieb Jonathan Liu: The CMAKE_{AR,LINKER,NM,OBJCOPY,OBJDUMP,RANLIB,STRIP} cmake variables are currently set to values like CMAKE_LINKER-NOTFOUND for native recipes because the

Re: [OE-core] [PATCH 2/2] libatomics-ops: force omit frame pointer for x86 builds

2013-07-17 Thread Paul Barker
On 17 July 2013 11:45, Phil Blundell p...@pbcl.net wrote: On Wed, 2013-07-17 at 16:40 +0800, Jesse Zhang wrote: Fix failures when building with -fno-omit-frame-pointer (and without optimization, i.e. -O0): In file included from atomic_ops.h:212:0, from

Re: [OE-core] [PATCH V2] util-linux: replace += with _append to EXTRA_OECONF_class-native

2013-07-17 Thread Burton, Ross
On 17 July 2013 09:41, Ming Liu ming@windriver.com wrote: +EXTRA_OECONF_append_class-native = --disable-fallocate --disable-use-tty-group +EXTRA_OECONF_append_class-nativesdk = --disable-fallocate --disable-use-tty-group _append won't add a leading space so you're making a massive

Re: [OE-core] [PATCH] cmake.bbclass: set ar/ld/nm/objcopy/objdump/ranlib/strip native paths

2013-07-17 Thread Stefan Herbrechtsmeier
Am 17.07.2013 12:57, schrieb Jonathan Liu: On 17/07/2013 7:49 PM, Jonathan Liu wrote: On 17/07/2013 7:13 PM, Stefan Herbrechtsmeier wrote: Am 17.07.2013 10:40, schrieb Jonathan Liu: The CMAKE_{AR,LINKER,NM,OBJCOPY,OBJDUMP,RANLIB,STRIP} cmake variables are currently set to values like

Re: [OE-core] [PATCH] [v2] openssh: Enabling with systemd

2013-07-17 Thread Burton, Ross
Hi, On 15 July 2013 12:42, Muhammad Shakeel muhammad_shak...@mentor.com wrote: We can also easily move 'sed' part to systemd class because we will only be looking for all the service files in ${systemd_unitdir}, irrespective of how these got installed. I gave a little thought to move the

Re: [OE-core] [PATCH v3 0/1] xinput-calibrator: move it from meta-oe to oe-core (cover letter only)

2013-07-17 Thread Paul Eggleton
Hi Laurentiu, On Friday 12 July 2013 15:04:02 Laurentiu Palcu wrote: Changes in v3: * do not install pointercal.xinput if it's the default one; Changes in v2: * run calibration through xsession file; * allow normal user to write his calibration data to ~/.pointercal/pointercal.xinput

Re: [OE-core] [PATCH 2/2] libatomics-ops: force omit frame pointer for x86 builds

2013-07-17 Thread Henning Heinold
On Wed, Jul 17, 2013 at 12:08:51PM +0100, Paul Barker wrote: On 17 July 2013 11:45, Phil Blundell p...@pbcl.net wrote: On Wed, 2013-07-17 at 16:40 +0800, Jesse Zhang wrote: Fix failures when building with -fno-omit-frame-pointer (and without optimization, i.e. -O0): In file included

[OE-core] [PATCH] uclibc: Build ldd/ldcondif/iconv for main uclibc recipe

2013-07-17 Thread Khem Raj
Currently these were not building as a result uclibc based systems were missing ldd and any package depending on ldd package were broken since the package was empty. Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-core/uclibc/uclibc.inc |7 ++- 1 file changed, 6

Re: [OE-core] [PATCH] libpam: add a new 'nullok_secure' option support to pam_unix

2013-07-17 Thread Saul Wold
On 07/16/2013 08:15 PM, Ming Liu wrote: Debian patch to add a new 'nullok_secure' option to pam_unix, which accepts users with null passwords only when the applicant is connected from a tty listed in /etc/securetty. The original pam_unix.so was configured with nullok_secure in

[OE-core] [PATCH 1/2] linux-yocto/3.4: mips: fix gcc 4.8 compilation

2013-07-17 Thread Bruce Ashfield
Updating the SRCREVs to enable the following fix for gcc 4.8 mips compilation: Author: Steven J. Hill sjh...@mips.com Date: Fri Jul 6 21:56:01 2012 +0200 MIPS: Refactor 'clear_page' and 'copy_page' functions. Remove usage of the '__attribute__((alias(...)))' hack that aliased

[OE-core] [PATCH 2/3] linux-yocto/3.4: mips: fix gcc 4.8 compilation

2013-07-17 Thread Bruce Ashfield
Updating the SRCREVs to enable the following fix for gcc 4.8 mips compilation: Author: Steven J. Hill sjh...@mips.com Date: Fri Jul 6 21:56:01 2012 +0200 MIPS: Refactor 'clear_page' and 'copy_page' functions. Remove usage of the '__attribute__((alias(...)))' hack that aliased

[OE-core] [PATCH 3/3] linux-yocto/3.8: restore qemumips64 SRCREV

2013-07-17 Thread Bruce Ashfield
In commit 00e0ec6c [linux-yocto: v3.8.13 and v3.4.46], the qemumips64 SRCREV was inadvertently dropped. This patch restores the SRCREV and a booting qemumips64. Signed-off-by: Bruce Ashfield bruce.ashfi...@windriver.com --- meta/recipes-kernel/linux/linux-yocto_3.8.bb |1 + 1 file changed, 1

[OE-core] [v2 PATCH 0/3] linux-yocto: mips changes

2013-07-17 Thread Bruce Ashfield
This *3* patch series fixes gcc 4.8 compilation of mips in the 3.4 kernel, and corrects a mistake I made when updating the 3.8 kernel that inadvertently dropped the qemumips64 SRCREV. The 3rd patch, which was dropped in version 1 is meta branch changes for the latest emgd driver. Cheers,

[OE-core] [PATCH 1/3] linux-yocto/3.8: update META srcrev

2013-07-17 Thread Bruce Ashfield
Bumping the linux-yocto-3.8 meta branch SRCREV to pick up the following changes: 8ef9136 .gitignore: do not ignore meta directory f846f12 uvcvideo: a new config for a webcam device driver 02014ca v4l2: config fragment for enabling v4l2 interface to camera devices 71a5cc0 media-camera: a

Re: [OE-core] [PATCH V6 2/3] useradd.bbclass: code refactor

2013-07-17 Thread Otavio Salvador
On Wed, Jul 17, 2013 at 3:08 AM, qi.c...@windriver.com wrote: From: Chen Qi qi.c...@windriver.com The basic functions have moved to useradd_base.bbclass. So this class only needs to inherit useradd_base.bbclass and use the functions defined there. The reason is to avoid code duplication with

Re: [OE-core] [v2 PATCH 0/3] linux-yocto: mips changes

2013-07-17 Thread Khem Raj
On Jul 17, 2013, at 11:07 AM, Bruce Ashfield bruce.ashfi...@windriver.com wrote: This *3* patch series fixes gcc 4.8 compilation of mips in the 3.4 kernel, and corrects a mistake I made when updating the 3.8 kernel that inadvertently dropped the qemumips64 SRCREV. The 3rd patch, which

Re: [OE-core] [PATCH V4 0/2] BlueZ 5 experimental recipes

2013-07-17 Thread Saul Wold
On 07/16/2013 08:26 AM, Cristian Iorga wrote: This sets of patches adds bluez5 recipes as experimental packages. BlueZ 5.X is not an upgrade for Bluez 4.x, as such, no upgrade is provided/possible. The two versions of the BT stack also conflicts each other. In V4 RREPLACES is removed from the

[OE-core] [PATCH 1/1] curl: add upstream status to patch

2013-07-17 Thread Joe Slater
Add upstream-status to configure_ac.patch. Signed-off-by: Joe Slater jsla...@windriver.com --- meta/recipes-support/curl/curl/configure_ac.patch |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/meta/recipes-support/curl/curl/configure_ac.patch

Re: [OE-core] [PATCH] Checksums for local files now stored using partial recipe path

2013-07-17 Thread Jate Sujjavanich
As far as I can tell though that won't actually fix the issue triggering rebuilds in your case. Something else must be changing. It would be interesting if you could dig into what that might be as I can't reproduce the rebuilding issue here. I discovered that different versions of Dylan from

[OE-core] [PATCH] kmod: add ptest

2013-07-17 Thread Tudor Florea
Install kmod test suite and run it as ptest. Signed-off-by: Tudor Florea tudor.flo...@enea.com --- meta/recipes-kernel/kmod/kmod.inc |4 +++- meta/recipes-kernel/kmod/kmod/ptest.patch | 20 meta/recipes-kernel/kmod/kmod/run-ptest |5 +

Re: [OE-core] [PATCH] cmake.bbclass: set ar/ld/nm/objcopy/objdump/ranlib/strip native paths

2013-07-17 Thread Jonathan Liu
On 17 July 2013 22:12, Stefan Herbrechtsmeier ste...@herbrechtsmeier.net wrote: Am 17.07.2013 12:57, schrieb Jonathan Liu: On 17/07/2013 7:49 PM, Jonathan Liu wrote: On 17/07/2013 7:13 PM, Stefan Herbrechtsmeier wrote: Am 17.07.2013 10:40, schrieb Jonathan Liu: The

Re: [OE-core] [PATCH V2] util-linux: replace += with _append to EXTRA_OECONF_class-native

2013-07-17 Thread Ming Liu
On 07/17/2013 08:07 PM, Burton, Ross wrote: On 17 July 2013 09:41, Ming Liu ming@windriver.com wrote: +EXTRA_OECONF_append_class-native = --disable-fallocate --disable-use-tty-group +EXTRA_OECONF_append_class-nativesdk = --disable-fallocate --disable-use-tty-group _append won't add a

Re: [OE-core] [PATCH] libpam: add a new 'nullok_secure' option support to pam_unix

2013-07-17 Thread Ming Liu
On 07/18/2013 12:03 AM, Saul Wold wrote: On 07/16/2013 08:15 PM, Ming Liu wrote: Debian patch to add a new 'nullok_secure' option to pam_unix, which accepts users with null passwords only when the applicant is connected from a tty listed in /etc/securetty. The original pam_unix.so was

[OE-core] [PATCH V3] util-linux: replace += with _append to EXTRA_OECONF_class-native

2013-07-17 Thread Ming Liu
The native/nativesdk overrides of EXTRA_OECONF should take effect before append operator, otherwise, it will cause EXTRA_OECONF be overridden instead of be appended at native/nativesdk build time. Signed-off-by: Ming Liu ming@windriver.com ---

[OE-core] [PATCH V1] libpam: add a new 'nullok_secure' option support to pam_unix

2013-07-17 Thread Ming Liu
Debian patch to add a new 'nullok_secure' option to pam_unix, which accepts users with null passwords only when the applicant is connected from a tty listed in /etc/securetty. The original pam_unix.so was configured with nullok_secure in meta/recipes-extended/pam/libpam/pam.d/common-auth, but no