Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Otavio Salvador
On Fri, Feb 17, 2012 at 18:29, Phil Blundell wrote: > On Fri, 2012-02-17 at 18:14 -0200, Otavio Salvador wrote: > > On Fri, Feb 17, 2012 at 18:11, Phil Blundell wrote: > > We seem to be going in circles here but, to go back to what I > > said at > > the beginning, why can

Re: [OE-core] Fwd: [oe] Source Archiver Class

2012-02-17 Thread Saul Wold
Xiaofeng & Community: We had a chat with Chris Larson and Mark Hatle here at ELC. We focused this issue down to a fewer number of options that meet the needs of the licenses. Please review this and let us know if there are any issues or concerns. Best Practices: - Archive during build, w

Re: [OE-core] [PATCH 1/1] base.bbclass: look in layers for SRC_URI with MACHINE overrides too

2012-02-17 Thread Joshua Lock
On 11/02/12 05:02, Otavio Salvador wrote: On Fri, Feb 10, 2012 at 22:30, Joshua Lock mailto:j...@linux.intel.com>> wrote: The logic which looks for MACHINE overrides in SRC_URI and updates PACKAGE_ARCH accordingly doesn't account for SRC_URI overrides in layers. It seems to address

Re: [OE-core] [oe-core][PATCH 2/4] gdb-cross-canadian: use NATIVESDK paths as it happens to be here

2012-02-17 Thread Saul Wold
On 02/13/2012 07:40 AM, Martin Jansa wrote: * seems like config/config in -L was also wrong Signed-off-by: Martin Jansa --- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/gdb/gdb-cross-ca

Re: [OE-core] Problems with Pseudo

2012-02-17 Thread Daniel Lazzari
Thanks Mark! Your suggestions led me to the solution. A while back I had added the cap_sys_rawio capability to my python binary because of a tricky situation involving needing to be able to issue mass storage device commands without being the root user. Reinstalling python removed that capabilit

Re: [OE-core] Problems with Pseudo

2012-02-17 Thread Daniel Lazzari
>Date: Fri, 17 Feb 2012 20:12:48 + >From: Phil Blundell >Subject: Re: [OE-core] Problems with Pseudo >To: Patches and discussions about the oe-core layer > >Message-ID: <1329509568.2591.119.ca...@x121e.pbcl.net> >Content-Type: text/plain; charset="UTF-8" > >On Fri, 2012-02-17 at 19:50 +

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Phil Blundell
On Fri, 2012-02-17 at 18:14 -0200, Otavio Salvador wrote: > On Fri, Feb 17, 2012 at 18:11, Phil Blundell wrote: > We seem to be going in circles here but, to go back to what I > said at > the beginning, why can't you use the existing run-postinsts > recipe >

Re: [OE-core] Problems with Pseudo

2012-02-17 Thread Mark Hatle
The usual cause of this error is either a system level protection, i.e. grsecurity, app armor, or selinux policy that prevents preload libraries from being loaded. The other option is something is set "setuid" and that also prevents LD_PRELOAD libraries from loading for security reasons. Fin

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Otavio Salvador
On Fri, Feb 17, 2012 at 18:11, Phil Blundell wrote: > We seem to be going in circles here but, to go back to what I said at > the beginning, why can't you use the existing run-postinsts recipe > rather than adding a new script? My image didn't end with it installed. I did a very small image and

Re: [OE-core] Problems with Pseudo

2012-02-17 Thread Phil Blundell
On Fri, 2012-02-17 at 19:50 +, Daniel Lazzari wrote: > A problem just popped up today that I can't seem to fix. When trying to > bitbake anything, I first get the following message: > > ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: > ignored. > > Followed by a bun

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Phil Blundell
On Fri, 2012-02-17 at 18:03 -0200, Otavio Salvador wrote: > On Fri, Feb 17, 2012 at 17:59, Phil Blundell wrote: > Well, right, but that's not the run-postinsts package. You > mentioned > that opkg-cl wasn't installed so its own postinst is probably > irrelevant >

[OE-core] Problems with Pseudo

2012-02-17 Thread Daniel Lazzari
A problem just popped up today that I can't seem to fix. When trying to bitbake anything, I first get the following message: ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored. Followed by a bunch of debug output, detailing the configuration files being loaded, th

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Otavio Salvador
On Fri, Feb 17, 2012 at 17:59, Phil Blundell wrote: > Well, right, but that's not the run-postinsts package. You mentioned > that opkg-cl wasn't installed so its own postinst is probably irrelevant > here. That's why I added this. -- Otavio Salvador O.S. Systems E

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Phil Blundell
On Fri, 2012-02-17 at 17:30 -0200, Otavio Salvador wrote: > I don't use dpkg but opkg. > > > So, looking at opkg.inc we find out: > > > ... > pkg_postinst_${PN} () { > #!/bin/sh > if [ "x$D" != "x" ]; then > install -d $D${sysconfdir}/rcS.d Well, right, but that's not the run-postinst

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Otavio Salvador
On Fri, Feb 17, 2012 at 17:25, Phil Blundell wrote: > Er, does it? My copy doesn't seem to. > > pb@x121e:~/oe/oe-core$ grep opkg-cl > meta/recipes-devtools/dpkg/run-postinsts/* > pb@x121e:~/oe/oe-core$ > > Where are you seeing the call to opkg-cl? I don't use dpkg but opkg. So, looking at opk

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Phil Blundell
On Fri, 2012-02-17 at 17:06 -0200, Otavio Salvador wrote: > On Fri, Feb 17, 2012 at 15:51, Phil Blundell wrote: > On Fri, 2012-02-17 at 17:47 +, Otavio Salvador wrote: > > When building without package management we can end with a > system > > without opkg and t

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Otavio Salvador
On Fri, Feb 17, 2012 at 15:51, Phil Blundell wrote: > On Fri, 2012-02-17 at 17:47 +, Otavio Salvador wrote: > > When building without package management we can end with a system > > without opkg and thus without support for running unfinished postinsts > > on first boot, we fix this providing

Re: [OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Phil Blundell
On Fri, 2012-02-17 at 17:47 +, Otavio Salvador wrote: > When building without package management we can end with a system > without opkg and thus without support for running unfinished postinsts > on first boot, we fix this providing a S98configure script for this > use case. Isn't this what r

[OE-core] [PATCH 3/3] rootfs_ipk.bbclass: fix unpacked postinst support if no package management

2012-02-17 Thread Otavio Salvador
When building without package management we can end with a system without opkg and thus without support for running unfinished postinsts on first boot, we fix this providing a S98configure script for this use case. Signed-off-by: Otavio Salvador --- meta/classes/rootfs_ipk.bbclass | 16 +++

[OE-core] [PATCH 2/3] rootfs_ipk.bbclass: fix status file location in rootfs

2012-02-17 Thread Otavio Salvador
This fixes runtime requirement checking and read-only-fs checking. Signed-off-by: Otavio Salvador --- meta/classes/rootfs_ipk.bbclass |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index 5342035..2df8

[OE-core] [PATCH 0/3] Pending O.S. Systems' tree patches

2012-02-17 Thread Otavio Salvador
The following changes since commit e5ad03093dfc4364d1407183f458df79f347c7a1: guile: fix cross configure failure (2012-02-10 13:38:16 +) are available in the git repository at: git://github.com/OSSystems/oe-core master https://github.com/OSSystems/oe-core/tree/HEAD Otavio Salvador (3):

[OE-core] [PATCH 1/3] update-rc.d.bbclass: do nothing for extended cross packages

2012-02-17 Thread Otavio Salvador
Signed-off-by: Otavio Salvador --- meta/classes/update-rc.d.bbclass |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index e72cf78..db88a8e 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/

Re: [OE-core] [PATCH 0/7] buildhistory fixes

2012-02-17 Thread Paul Eggleton
On Tuesday 14 February 2012 13:40:10 Paul Eggleton wrote: > Analysis of the recent output from buildhistory on the Yocto Project and > Angstrom autobuilders showed a few anomalies and annoyances; this > set of patches addresses all of the ones I noticed. I've got one more patch to add to this, ple

[OE-core] [PATCH 0/2] self-hosted-image: 2 new patches from Dexuan: Feb 17, 2012

2012-02-17 Thread Dexuan Cui
Hi Saul, Darren and all, This is actually v3 of the old patches("self-hosted-image: generate the .hdddirect and .vmdk image files") I sent 1 month ago. I'm sorry for sending this out so late, as I was pushed tightly on one other task... :-( The new recipe self-hosted-directdisk-image.bb invokes s

[OE-core] [PATCH 1/2] syslinux.bbclass: make PROMPT settable

2012-02-17 Thread Dexuan Cui
Signed-off-by: Dexuan Cui --- meta/classes/syslinux.bbclass | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass index 1569074..8225c80 100644 --- a/meta/classes/syslinux.bbclass +++ b/meta/classes/syslinu

[OE-core] [PATCH 2/2] self-hosted-directdisk-image: create .hdddirect and .vmdk images

2012-02-17 Thread Dexuan Cui
Signed-off-by: Dexuan Cui --- meta/classes/boot-directdisk.bbclass |4 +++- meta/conf/machine/include/qemu.inc |2 ++ .../images/self-hosted-directdisk-image.bb | 15 +++ 3 files changed, 20 insertions(+), 1 deletions(-) create mode 100