Re: [OE-core] [PATCH] libjson: update to 0.11 and rename to json-c

2013-10-18 Thread Saul Wold
On 10/18/2013 01:45 AM, Jack Mitchell wrote: From: Jack Mitchell libjson is now known as json-c, it keeps support for the old libjson namespace so it shouldn't break anything. Built without parallel make as it would fail when it tries to link to link back to itself, which is odd, but the offici

Re: [OE-core] [PATCH 1/2] Use alternatives for the binutils-symlinks package.

2013-10-18 Thread Saul Wold
Peter, The commit short message needs to be corrected to the binutils: ... format please. I will test this version in MUT. Thanks Sau! On 10/18/2013 04:24 PM, Peter Seebach wrote: The ar and strings utilities are provided as alternatives, but the rest of binutils is being done with

[OE-core] [PATCH 2/2] Drop binutils-symlinks

2013-10-18 Thread Peter Seebach
The -symlinks package doesn't really add any value if we're using update-alternatives. Drop it, leaving a spare RPROVIDES in case anyone thought they needed it. Signed-off-by: Peter Seebach --- meta/recipes-devtools/binutils/binutils.inc | 10 ++ 1 files changed, 2 insertions(+), 8 del

[OE-core] [PATCH 1/2] Use alternatives for the binutils-symlinks package.

2013-10-18 Thread Peter Seebach
The ar and strings utilities are provided as alternatives, but the rest of binutils is being done with binutils-symlinks. This has the side effect that if you want "as", and you install binutils-symlinks to get it, you don't get "ar" from it, because it's not in the symlinks package. Solution: Use

[OE-core] [PATCH 0/2] v2: Use alternatives for binutils

2013-10-18 Thread Peter Seebach
This is a rework of a previous patch to use alternatives consistently for all of binutils instead of relying on symlinks for most things, and alternatives for ar and strings. Changes: 1. Dropped embedspu compltely from the alternatives list. If anyone's actually using Cell processors with oe-core,

Re: [OE-core] [PATCH 1/1] wic: add pseudo to the populate-extfs step

2013-10-18 Thread Peter Seebach
On Fri, 18 Oct 2013 16:04:30 +0100 Richard Purdie wrote: > > -populate_script = "%s/usr/bin/populate-extfs.sh" % native_sysroot > > +populate_script = "export PSEUDO_PREFIX=%s/usr;" % native_sysroot > > +populate_script += "export PSEUDO_LOCALSTATEDIR=%s/../pseudo;" % > >

Re: [OE-core] [PATCH 10/11] nativesdk-packagegroup-sdk-host: Add new DISTRO_FEATURE, sdk-pms

2013-10-18 Thread David Nystrom
On 18 Oct 2013 16:54, "Richard Purdie" wrote: > > On Thu, 2013-10-17 at 15:59 +0200, David Nyström wrote: > > Added a new distro feature called sdk-pms, since smartpm rdepends > > on the python runtime. > > This to avoid bloating the SDK tarball for those who does not > > want it. > > > > Signed-o

Re: [OE-core] Issues with PREFERRED_VERSION/PREFERRED_PROVIDER for the kernel

2013-10-18 Thread Chris Larson
On Fri, Oct 18, 2013 at 10:05 AM, Ulf Samuelsson wrote: > In some cases, you might want to override a few things in the DISTRO. > > Maybe an easy way to handle this would be if the DISTRO conf file > included an empty file at the end, > which can be overridden by a file in your own layer. > If th

Re: [OE-core] Issues with PREFERRED_VERSION/PREFERRED_PROVIDER for the kernel

2013-10-18 Thread Ulf Samuelsson
In some cases, you might want to override a few things in the DISTRO. Maybe an easy way to handle this would be if the DISTRO conf file included an empty file at the end, which can be overridden by a file in your own layer. Best Regards Ulf Samuelsson 18 okt 2013 kl. 18:31 skrev Koen Kooi : >

Re: [OE-core] [PATCH V3 3/3] bash: add pkg_postrm to remove the entry in /etc/shells

2013-10-18 Thread Mark Hatle
On 10/18/13 10:18 AM, Phil Blundell wrote: On Fri, 2013-10-18 at 10:12 -0500, Mark Hatle wrote: On 10/18/13 9:59 AM, Phil Blundell wrote: On Fri, 2013-10-18 at 19:11 +0800, Ming Liu wrote: pkg_postinst_${PN} () { - touch $D${sysconfdir}/shells - grep -q "bin/bash" $D${sysconfdir

Re: [OE-core] Issues with PREFERRED_VERSION/PREFERRED_PROVIDER for the kernel

2013-10-18 Thread Koen Kooi
Op 18 okt. 2013, om 17:59 heeft Ulf Samuelsson het volgende geschreven: > 1. If you define something in the .conf and in .conf >then .conf has higher priority. >This is really non-intuitive. It is correct however, if the DISTRO defines it, it's a DISTRO setting that a MACHINE.conf rea

[OE-core] Issues with PREFERRED_VERSION/PREFERRED_PROVIDER for the kernel

2013-10-18 Thread Ulf Samuelsson
1. If you define something in the .conf and in .conf then .conf has higher priority. This is really non-intuitive. 2. If you define a PREFERRED_VERSION which does not have a corresponding ".bb" file you do not get a warning, and the latest PREFERRED_PROVIDER is used. 3. If you defi

Re: [OE-core] [PATCH V3 3/3] bash: add pkg_postrm to remove the entry in /etc/shells

2013-10-18 Thread Phil Blundell
On Fri, 2013-10-18 at 10:12 -0500, Mark Hatle wrote: > On 10/18/13 9:59 AM, Phil Blundell wrote: > > On Fri, 2013-10-18 at 19:11 +0800, Ming Liu wrote: > >> pkg_postinst_${PN} () { > >> - touch $D${sysconfdir}/shells > >> - grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> > >> $D

Re: [OE-core] [PATCH V3 3/3] bash: add pkg_postrm to remove the entry in /etc/shells

2013-10-18 Thread Mark Hatle
On 10/18/13 9:59 AM, Phil Blundell wrote: On Fri, 2013-10-18 at 19:11 +0800, Ming Liu wrote: pkg_postinst_${PN} () { - touch $D${sysconfdir}/shells - grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells - grep -q "bin/sh" $D${sysconfdir}/shel

Re: [OE-core] [PATCH 1/1] wic: add pseudo to the populate-extfs step

2013-10-18 Thread Mark Hatle
On 10/18/13 10:04 AM, Richard Purdie wrote: On Wed, 2013-10-16 at 15:25 -0500, Tom Zanussi wrote: Without this, files in the generated filesystem pick up the wrong ownership. Signed-off-by: Tom Zanussi --- scripts/lib/mic/kickstart/custom_commands/partition.py | 9 - 1 file changed,

Re: [OE-core] [PATCH 1/1] wic: add pseudo to the populate-extfs step

2013-10-18 Thread Richard Purdie
On Wed, 2013-10-16 at 15:25 -0500, Tom Zanussi wrote: > Without this, files in the generated filesystem pick up the wrong > ownership. > > Signed-off-by: Tom Zanussi > --- > scripts/lib/mic/kickstart/custom_commands/partition.py | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) >

Re: [OE-core] [PATCH V3 3/3] bash: add pkg_postrm to remove the entry in /etc/shells

2013-10-18 Thread Phil Blundell
On Fri, 2013-10-18 at 19:11 +0800, Ming Liu wrote: > pkg_postinst_${PN} () { > - touch $D${sysconfdir}/shells > - grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> > $D${sysconfdir}/shells > - grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> > $D${sysconfdir}/s

Re: [OE-core] [PATCH 1/1] image_types.bbclass: add --numeric-owner option to tar command

2013-10-18 Thread Richard Purdie
On Fri, 2013-10-18 at 15:47 +0800, qi.c...@windriver.com wrote: > From: Chen Qi > > If the same username exists on both target and the build host, but > the uids differ, and we start target via NFS, then the uid for the > user will be incorrect on target. > > For example, if postfix's uid on hos

Re: [OE-core] [PATCH 10/11] nativesdk-packagegroup-sdk-host: Add new DISTRO_FEATURE, sdk-pms

2013-10-18 Thread Richard Purdie
On Thu, 2013-10-17 at 15:59 +0200, David Nyström wrote: > Added a new distro feature called sdk-pms, since smartpm rdepends > on the python runtime. > This to avoid bloating the SDK tarball for those who does not > want it. > > Signed-off-by: David Nyström > --- > meta/recipes-core/packagegroups

Re: [OE-core] diff between defining a "no-op" task and using [noexec]?

2013-10-18 Thread Robert P. J. Day
On Fri, 18 Oct 2013, Richard Purdie wrote: > On Fri, 2013-10-18 at 09:13 -0400, Robert P. J. Day wrote: ... snip ... > > i figured as much, but is there any important (pragmatic) > > distinction between the two if one simply wants to nullify an > > existing task? > > One is slightly more effic

Re: [OE-core] diff between defining a "no-op" task and using [noexec]?

2013-10-18 Thread Richard Purdie
On Fri, 2013-10-18 at 09:13 -0400, Robert P. J. Day wrote: > On Fri, 18 Oct 2013, Richard Purdie wrote: > > > On Thu, 2013-10-17 at 08:07 -0400, Robert P. J. Day wrote: > > > using a concrete example, there's this from oe core's > > > linux-dummy.bb: > > > > > > do_configure() { > > > :

Re: [OE-core] diff between defining a "no-op" task and using [noexec]?

2013-10-18 Thread Robert P. J. Day
On Fri, 18 Oct 2013, Richard Purdie wrote: > On Thu, 2013-10-17 at 08:07 -0400, Robert P. J. Day wrote: > > using a concrete example, there's this from oe core's > > linux-dummy.bb: > > > > do_configure() { > > : > > } > > > > do_compile () { > > : > > } > > > > do_install() { >

Re: [OE-core] [PATCH v4] connman: ignore the networking device which nfs for rootfs is working on

2013-10-18 Thread Enrico Scholz
"Burton, Ross" writes: > Can you explain why connman needs to ignore the device that NFS is > reading the rootfs from? I ask because the very latest connman > release shouldn't be dropping and re-configuring interfaces if there's > a provisioned configuration for them (see connman-conf, which do

Re: [OE-core] [PATCH v4] connman: ignore the networking device which nfs for rootfs is working on

2013-10-18 Thread Burton, Ross
Hi, Can you explain why connman needs to ignore the device that NFS is reading the rootfs from? I ask because the very latest connman release shouldn't be dropping and re-configuring interfaces if there's a provisioned configuration for them (see connman-conf, which does this for all qemu machine

[OE-core] [PATCH V3 3/3] bash: add pkg_postrm to remove the entry in /etc/shells

2013-10-18 Thread Ming Liu
Signed-off-by: Ming Liu --- meta/recipes-extended/bash/bash.inc | 18 +++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 64b476f..7c18f37 100644 --- a/meta/recipes-extended/bash/bash

[OE-core] [PATCH V3 2/3] screen: add pkg_postinst to register entry to /etc/shells

2013-10-18 Thread Ming Liu
Also add pkg_postrm to remove the entry. Signed-off-by: Ming Liu --- meta/recipes-extended/screen/screen_4.0.3.bb | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/meta/recipes-extended/screen/screen_4.0.3.bb b/meta/recipes-extended/screen/screen_4.0.3.b

[OE-core] [PATCH V3 1/3] base-files: move shells generating process to pkg_postinst

2013-10-18 Thread Ming Liu
The "shells" file lists several valid login shells, of which some might be not present in a particular rootfs, this is unreasonable. Fix it by moving "shells" file generating process to pkg_postinst, for other shells must do the same thing to register themselves to this file. Signed-off-by: Ming

[OE-core] [PATCHv2] rpm: Add nativesdk to BBCLASSEXTEND

2013-10-18 Thread David Nyström
Modified FILES-paths since nativesdk can't handle hardcoded paths, Also added *.real binaries to packaging since this is not done when built as native. As far as /var having to be hardcoded, I have a hard time seeing someone modifying bitbake.conf to place localstatedir somewhere else than /var.

Re: [OE-core] [oe-commits] Muhammad Shakeel : openssh: Add systemd support

2013-10-18 Thread Martin Jansa
On Thu, Oct 03, 2013 at 01:11:05AM +0200, Martin Jansa wrote: > On Tue, Sep 10, 2013 at 10:03:29PM +, g...@git.openembedded.org wrote: > > Module: openembedded-core.git > > Branch: master > > Commit: 6e6445d487c033913a29763f8e3a7a339d5b612d > > URL: > > http://git.openembedded.org/?p=openem

Re: [OE-core] diff between defining a "no-op" task and using [noexec]?

2013-10-18 Thread Richard Purdie
On Thu, 2013-10-17 at 08:07 -0400, Robert P. J. Day wrote: > using a concrete example, there's this from oe core's > linux-dummy.bb: > > do_configure() { > : > } > > do_compile () { > : > } > > do_install() { > : > } > > what is the difference between the above and w

[OE-core] [PATCH] connman: ignore the networking device which nfs for rootfs is working on

2013-10-18 Thread rongqing.li
From: Roy Li Create connman-evn.service, which will run a script to compute the networking device when nfs root is on, and pass the result to connman.service Copy Connmand.service from source code, add ExecStartPre into it to release do_configure_append work, use the options which is passed by c

Re: [OE-core] [PATCH v4] connman: ignore the networking device which nfs for rootfs is working on

2013-10-18 Thread Rongqing Li
On 10/18/2013 04:57 PM, Koen Kooi wrote: + >+EXTRA_PARAM="" >+if test $nfsroot -eq 1 ; then Ah. A whole lot of tests for a script that only runs*after* NFS root has been detected already. Looks like you can kill that part of the script. Yes, Thanks -- Best Reagrds, Roy | RongQing Li _

Re: [OE-core] [PATCH v4] connman: ignore the networking device which nfs for rootfs is working on

2013-10-18 Thread Koen Kooi
Op 18 okt. 2013, om 10:12 heeft rongqing...@windriver.com het volgende geschreven: > From: Roy Li > > Create connman-evn.service, which will run a script to compute the networking > device when nfs root is on, and pass the result to connman.service > > Copy Connmand.service from source code,

[OE-core] [PATCH] openssh: fix sshd status command error prompt

2013-10-18 Thread Qiang Chen
sshd status command results in error prompt: root@qemu0:~# /etc/init.d/sshd status /usr/sbin/sshd (pid 1199) is running... /etc/init.d/sshd: line 100: return: can only `return' from a function or sourced script "service --status-all" command also display wrong status for sshd. This commit fix th

[OE-core] [PATCH] libjson: update to 0.11 and rename to json-c

2013-10-18 Thread Jack Mitchell
From: Jack Mitchell libjson is now known as json-c, it keeps support for the old libjson namespace so it shouldn't break anything. Built without parallel make as it would fail when it tries to link to link back to itself, which is odd, but the official word is: don't build in parallel. Signed-of

[OE-core] [PATCH v4] connman: ignore the networking device which nfs for rootfs is working on

2013-10-18 Thread rongqing.li
From: Roy Li Create connman-evn.service, which will run a script to compute the networking device when nfs root is on, and pass the result to connman.service Copy Connmand.service from source code, add ExecStartPre into it to release do_configure_append work, use the options which is passed by c

[OE-core] [PATCH 1/1] image_types.bbclass: add --numeric-owner option to tar command

2013-10-18 Thread Qi.Chen
From: Chen Qi If the same username exists on both target and the build host, but the uids differ, and we start target via NFS, then the uid for the user will be incorrect on target. For example, if postfix's uid on host is 119 and on target is 1024, then if we start target via NFS, the uid for p

[OE-core] [PATCH 0/1] image_type.bbclass: add '--numeric-owner' to tar command

2013-10-18 Thread Qi.Chen
From: Chen Qi The following changes since commit 529bf977e956175bd8405ebffc88194192e44740: update-rcd.bbclass: fix host/target test (2013-10-16 14:51:07 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/tar-numeric-owner http://git.pokylinux.org/c

[OE-core] [PATCH] lib/oeqa/runtime: build kernel module on target test

2013-10-18 Thread Stefan Stanacar
Builds a simple Hello World module on target. Added to the defaults for core-image-sato-sdk. Signed-off-by: Stefan Stanacar --- meta/classes/testimage.bbclass| 2 +- meta/lib/oeqa/runtime/files/hellomod.c| 19 +++ meta/lib/oeqa/runtime/files/hellomod_makefile