Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-04-03 Thread Richard Purdie
On Wed, 2014-04-02 at 10:35 +0800, Kang Kai wrote: On 2014年03月31日 22:20, Kai Kang wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built, read kernel version from

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-04-03 Thread Paul Eggleton
On Thursday 03 April 2014 13:00:09 Richard Purdie wrote: On Wed, 2014-04-02 at 10:35 +0800, Kang Kai wrote: On 2014年03月31日 22:20, Kai Kang wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-04-03 Thread Phil Blundell
On Thu, 2014-04-03 at 14:13 +0100, Paul Eggleton wrote: Incidentally, I think maybe for 1.7 it's time we bumped OLDEST_KERNEL. What a sensible minimum would be though I'm not sure. The minimum version for udev 182 would be one choice, but I believe there are people still using older kernels

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-04-03 Thread Paul Eggleton
On Thursday 03 April 2014 14:49:05 Phil Blundell wrote: On Thu, 2014-04-03 at 14:13 +0100, Paul Eggleton wrote: Incidentally, I think maybe for 1.7 it's time we bumped OLDEST_KERNEL. What a sensible minimum would be though I'm not sure. The minimum version for udev 182 would be one choice,

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-04-03 Thread Kang Kai
On 2014年04月03日 20:00, Richard Purdie wrote: On Wed, 2014-04-02 at 10:35 +0800, Kang Kai wrote: On 2014年03月31日 22:20, Kai Kang wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built, read kernel version from

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-04-01 Thread Kang Kai
On 2014年03月31日 22:20, Kai Kang wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built, read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion to avoid to use the hardcode kernel version.

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-04-01 Thread Khem Raj
On Tuesday, April 1, 2014, Kang Kai kai.k...@windriver.com wrote: On 2014年03月31日 22:20, Kai Kang wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built, read kernel version from

[OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-03-31 Thread Kai Kang
Hi Richard, I don't quite understand what you mean this makes nss machine specific. After update way for nss-native, I send this new version for review. Thanks. Roy Li (1): nss: avoid to use the hardcode kernel version meta/recipes-support/nss/nss.inc | 15 +-- 1 file changed,

[OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-03-31 Thread Kai Kang
From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built, read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion to avoid to use the hardcode kernel version. Signed-off-by: Roy Li rongqing...@windriver.com

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-03-31 Thread Otavio Salvador
On Mon, Mar 31, 2014 at 11:20 AM, Kai Kang kai.k...@windriver.com wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built, read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion to avoid to use

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-03-31 Thread Martin Jansa
On Mon, Mar 31, 2014 at 10:20:49PM +0800, Kai Kang wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built, read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion to avoid to use the hardcode

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-03-31 Thread Otavio Salvador
On Mon, Mar 31, 2014 at 12:10 PM, Martin Jansa martin.ja...@gmail.com wrote: On Mon, Mar 31, 2014 at 10:20:49PM +0800, Kai Kang wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built, read kernel version

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-03-31 Thread Kang Kai
On 2014年04月01日 00:32, Richard Purdie wrote: On Mon, 2014-03-31 at 17:10 +0200, Martin Jansa wrote: On Mon, Mar 31, 2014 at 10:20:49PM +0800, Kai Kang wrote: From: Roy Li rongqing...@windriver.com When native package is built, use the uname to return the kernel version. When target is built,

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-02-13 Thread David Nyström
On 2014-02-13 04:48, rongqing...@windriver.com wrote: From: Roy Li rongqing...@windriver.com Read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion, to avoid to use the hardcode kernel version. Signed-off-by: Roy Li rongqing...@windriver.com --- meta/recipes-support/nss/nss.inc |

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-02-13 Thread Richard Purdie
On Thu, 2014-02-13 at 11:48 +0800, rongqing...@windriver.com wrote: From: Roy Li rongqing...@windriver.com Read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion, to avoid to use the hardcode kernel version. Signed-off-by: Roy Li rongqing...@windriver.com ---

[OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-02-12 Thread rongqing.li
From: Roy Li rongqing...@windriver.com Read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion, to avoid to use the hardcode kernel version. Signed-off-by: Roy Li rongqing...@windriver.com --- meta/recipes-support/nss/nss.inc |6 +++--- 1 file changed, 3 insertions(+), 3

[OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-02-12 Thread rongqing.li
From: Roy Li rongqing...@windriver.com Read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion, to avoid to use the hardcode kernel version. Signed-off-by: Roy Li rongqing...@windriver.com --- meta/recipes-support/nss/nss.inc |6 +++--- 1 file changed, 3 insertions(+), 3

Re: [OE-core] [PATCH] nss: avoid to use the hardcode kernel version

2014-02-12 Thread Rongqing Li
please drop this one -Roy On 02/13/2014 11:34 AM, rongqing...@windriver.com wrote: From: Roy Li rongqing...@windriver.com Read kernel version from ${STAGING_KERNEL_DIR}/kernel-abiversion, to avoid to use the hardcode kernel version. Signed-off-by: Roy Li rongqing...@windriver.com ---