Re: [OE-core] Proposal: recipe feature switches

2011-07-07 Thread Anders Darander

* Tom Rini Tom Rini tom_r...@mentor.com [07/06/11 07:53 PM]:
 On 07/01/2011 02:41 AM, Koen Kooi wrote:
  Op 1 jul 2011, om 11:26 heeft Frans Meulenbroeks het volgende geschreven:
  2011/7/1 Koen Kooi k...@dominion.thruhere.net
  
  Op 1 jul 2011, om 10:55 heeft Frans Meulenbroeks het volgende geschreven:
  Good idea.
  Personally I'd like to also bring footprint into the equation. If a
  feature drags in lots of additional packages, it is interesting to
  make it configurable. My favourite example: bluez dragging in all kind
  of rendering stuff (through DEPENDS) even though the hardware
  functionality might not be there (e.g. you have BT but not audio).
  
  Which is a great example, since that doesn't impact footprint at all,
  it's an alsa *plugin* that will get produced.
  
  
  bluez.inc:DEPENDS = gstreamer gst-plugins-base dbus glib-2.0
  
  I don't think gstreamer is really needed or desired if you e.g. just
  want to do some tethering over bluetooth, or in my case, connect to a
  BT HID, and they do contribute to both the build time and the
  footprint.
  
  Again, a plugin, so no footprint issues.
 
 I disagree.  I care about the footprint of sstate/packaged-staging
 files.  And build time is still a concern without
 sstate/packaged-staging being used/found.

I agree with Tom. 

While I understand the concerns of others, that more configurability in 
building packages makes it harder to test and support oe-core, and in the end 
yocto, I still like to see more granularity when it comes to building. Sure, 
disk space is mostly cheap and we often have powerfull computers to build on, 
but having the ability to reduce build time and space is still something that 
I'd like to see. It's not that fun if a complete rebuild of a system takes 
half a day or a day to complete, when it easily could have build in 2 hours if 
less unneeded stuff was being built.

(Yes, for my embedded systems, I often consider everything related to sound, 
graphics etc as unneeded. I'm not advocating removing anything litek that, as 
it definitely is usefull; but I'd like an easy way to disable things like 
that).

Cheers,
Anders



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] Proposal: recipe feature switches

2011-07-07 Thread Koen Kooi


Op 6 jul. 2011 om 18:53 heeft Tom Rini tom_r...@mentor.com het volgende 
geschreven:

 On 07/01/2011 02:41 AM, Koen Kooi wrote:
 
 Op 1 jul 2011, om 11:26 heeft Frans Meulenbroeks het volgende geschreven:
 
 
 
 2011/7/1 Koen Kooi k...@dominion.thruhere.net
 
 Op 1 jul 2011, om 10:55 heeft Frans Meulenbroeks het volgende geschreven:
 
 
 Good idea.
 Personally I'd like to also bring footprint into the equation. If a 
 feature drags in lots of additional packages, it is interesting to make it 
 configurable.
 My favourite example: bluez dragging in all kind of rendering stuff 
 (through DEPENDS) even though the hardware functionality might not be 
 there (e.g. you have BT but not audio).
 
 Which is a great example, since that doesn't impact footprint at all, it's 
 an alsa *plugin* that will get produced.
 
 
 bluez.inc:DEPENDS = gstreamer gst-plugins-base dbus glib-2.0
 
 I don't think gstreamer is really needed or desired if you e.g. just want 
 to do some tethering over bluetooth, or in my case, connect to a BT HID, 
 and they do contribute to both the build time and the footprint.
 
 Again, a plugin, so no footprint issues.
 
 I disagree.  I care about the footprint of sstate/packaged-staging
 files.  And build time is still a concern without
 sstate/packaged-staging being used/found.

I was talking about target footprint, not build footprint


 
 -- 
 Tom Rini
 Mentor Graphics Corporation
 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] the fix to bug 1208

2011-07-07 Thread Dexuan Cui
The following changes since commit ad2363278f0ea86fcf3464f8f6073d3a3d06be63:

  uclibc: Fix compilation in thumb mode (2011-07-02 00:02:24 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dcui/distro
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/distro

Dexuan Cui (1):
  powertop: inherit update-alternatives and use a higher priority than
busybox

 meta/recipes-kernel/powertop/powertop_1.13.bb |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] powertop: inherit update-alternatives and use a higher priority than busybox

2011-07-07 Thread Dexuan Cui
busybox-1.18.4 installs /bin/powertop and the powertop recipe installs
/usr/bin/powertop. So, in PATH, if /bin appears before /usr/bin, we would
run the version offered by busybox, which has a very limited function (e.g.,
no parameter is accepted) and this causes trouble to eclipse plugin.

We can use update-alternatives for powertop with higher priority to resolve
the issue.

Fixes [YOCTO #1208]

Signed-off-by: Dexuan Cui dexuan@intel.com
---
 meta/recipes-kernel/powertop/powertop_1.13.bb |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/powertop/powertop_1.13.bb 
b/meta/recipes-kernel/powertop/powertop_1.13.bb
index dff4fcd..472a2bb 100644
--- a/meta/recipes-kernel/powertop/powertop_1.13.bb
+++ b/meta/recipes-kernel/powertop/powertop_1.13.bb
@@ -11,7 +11,7 @@ DEPENDS = virtual/libintl ncurses
 # powertop 1.13 needs lspci
 RDEPENDS_${PN} = pciutils
 
-PR = r0
+PR = r1
 
 SRC_URI = 
http://www.lesswatts.org/projects/powertop/download/powertop-${PV}.tar.gz \
file://stub_out_the_ncurses_calls_in_dump_mode.patch
@@ -22,6 +22,12 @@ SRC_URI[sha256sum] = 
2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcd
 CFLAGS += ${LDFLAGS}
 EXTRA_OEMAKE = VERSION=\${PV}\
 
+inherit update-alternatives
+ALTERNATIVE_NAME = powertop
+ALTERNATIVE_PATH = ${bindir}/powertop
+ALTERNATIVE_LINK = ${base_bindir}/powertop
+ALTERNATIVE_PRIORITY = 100
+
 do_configure() {
# We do not build ncurses with wide char support
sed -i -e s/lncursesw/lncurses/ ${S}/Makefile
-- 
1.7.6


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/5] Add recipes for 0.9.32 release

2011-07-07 Thread Richard Purdie
On Tue, 2011-07-05 at 14:09 -0700, Khem Raj wrote:
 With this changeset we add new recipes for 0.9.32 and make that default
 preference. Then the git recipe are moved to track the latest master.
 systemd related fixes are separately applied to both git recipe and 0.9.32
 recipes
 
 Both sets work for arm,mips,ppc,x86,x86-64
 
 Thanks
 -Khem
 
 
 The following changes since commit 4eb3abaa5f4b5df0314dc0d503298d65cd203259:
 
   uclibc-0.9.32: Implement execvpe and refresh scheduler functions 
 (2011-07-05 13:53:05 -0700)
 
 are available in the git repository at:
   git://git.openembedded.org/openembedded-core-contrib kraj/uclibc-0.9.32
   
 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc-0.9.32
 
 Khem Raj (5):
   uclibc: Add recipes for 0.9.32 release
   tcmode-default: Define UCLIBCVERSION and set it to 0.9.32
   uclibc_git: Move SRCREV past 0.9.32 release
   uclibc_git: Implement execvpe and refresh scheduler functions
   uclibc-0.9.32: Implement execvpe and refresh scheduler functions

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/5] Add recipes for 0.9.32 release

2011-07-07 Thread Richard Purdie
On Wed, 2011-07-06 at 11:34 -0700, Khem Raj wrote:
 On Wed, Jul 6, 2011 at 11:10 AM, Richard Purdie
 richard.pur...@linuxfoundation.org wrote:
  On Wed, 2011-07-06 at 11:06 -0700, Khem Raj wrote:
  On Wed, Jul 6, 2011 at 1:06 AM, Richard Purdie
  richard.pur...@linuxfoundation.org wrote:
   On Tue, 2011-07-05 at 23:48 -0700, Khem Raj wrote:
   On Tue, Jul 5, 2011 at 2:09 PM, Khem Raj raj.k...@gmail.com wrote:
With this changeset we add new recipes for 0.9.32 and make that 
default
preference. Then the git recipe are moved to track the latest master.
systemd related fixes are separately applied to both git recipe and 
0.9.32
recipes
   
Both sets work for arm,mips,ppc,x86,x86-64
   
Thanks
-Khem
   
   
The following changes since commit 
4eb3abaa5f4b5df0314dc0d503298d65cd203259:
   
 uclibc-0.9.32: Implement execvpe and refresh scheduler functions 
(2011-07-05 13:53:05 -0700)
   
are available in the git repository at:
 git://git.openembedded.org/openembedded-core-contrib 
kraj/uclibc-0.9.32
 
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc-0.9.32
   
Khem Raj (5):
 uclibc: Add recipes for 0.9.32 release
 tcmode-default: Define UCLIBCVERSION and set it to 0.9.32
 uclibc_git: Move SRCREV past 0.9.32 release
  
   I have update PV in above commit to 0.9.32+0.9.33-rc0 instead of
   0.9.32+gitr${SRCPV} which is troublesome to use with git
  
   Can you expand a little more about what was troublesome with it?
  
   Is there a revision being specified for the uclibc git recipe?
 
  since its master git I have to change SRCREV frquently and if I do not bump
  PR it ends up with dependency problems while generating image since
  the SHAs are random
  and they are getting into PV sometimes opkg thinks the version is
  smaller than the previous
  one and opkg does not like it. that  aside 0.9.32+0.9.33-rc0 explains
  the recipes PV better IMO
 
  Could you at least add the SRCREV you're using the recipe please? I
  didn't look really hard but I couldn't seem to find it when I last
  looked...
 
 huh. They are in recipes see toward the end here
 
 http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/commit/?h=kraj/uclibc-0.9.32id=ce07260090bbc11801e96657f1596ec23f793cce
 
 and for 0.9.32 here
 
 http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/commit/?h=kraj/uclibc-0.9.32id=49aea570ecc45bb7a655d9ca955272c3734c8696
 
 or do u mean in some other form ?

No, I just missed somehow when reading the patch originally, I was
surprised it wasn't there...

Cheers,

Richard



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/1] Add uboot 2011.06

2011-07-07 Thread Richard Purdie
On Wed, 2011-07-06 at 10:53 -0700, Saul Wold wrote:
 This adds the 2011.06 version of uboot 
 
 thanks
   Sau!
 
 The following changes since commit f05b7ee7716d1e5cc1ba0bbab57e91c3a0569e9e:
 
   x-load: Update to 1.5.0 (2011-07-05 14:16:33 +0100)
 
 are available in the git repository at:
   git://git.openembedded.org/openembedded-core-contrib sgw/fix
   
 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/fix
 
 Saul Wold (1):
   uboot: Add 2011.06 Version

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v6 0/2] Linux 3.0 build support

2011-07-07 Thread Richard Purdie
On Wed, 2011-07-06 at 08:31 +0200, Anders Darander wrote:
 v6: All patches from v5 has been applied, apart from one. (patch 0001 in this
 series)
 - Updated the patch in question with the comments from v5. (HOTPLUG and
 PCMCIA_MANAGER related changes).
 - Added a patch to remove kernel-module-rtc-sa1100 from task-base. No
 patch supplied to add kernel-module-rtc-sa1100 to the affected
 machines. Thus, this patch can be dropped, if it risks too much.
 
 
 ===
 
 This patch series is the continuation of the series adding kernel 3.0 support
 to oe-core. One patch from the original series were not applied to master by
 mistake (patch 0001 in this continuation).
 
 The second patch is to remove machine specific features from task-base, as
 suggested in a comment to v5 of patch 0001. However, the rtc-module in
 question, has not been added to the affected machines. 
 
 Even if patch 0002 is not applied (as the affected machines are not fixed), I
 think that patch 0001 should be applied.
 
 Regards,
 Anders
 
 
 The following changes since commit f05b7ee7716d1e5cc1ba0bbab57e91c3a0569e9e:
 
   x-load: Update to 1.5.0 (2011-07-05 14:16:33 +0100)
 
 are available in the git repository at:
   git://github.com/darander/oe-core kernel-3.0
   https://github.com/darander/oe-core/tree/kernel-3.0
 
 Anders Darander (2):
   task-base: remove modutils reference.
   task-base: remove unconditional inclusion of kernel-module-rtc-sa1100

Merged to master, thanks.

The affected PXA/SA1100 machines will just have to catch up with the rtc
change...

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] module-base: remove KERNEL-SOURCE

2011-07-07 Thread Richard Purdie
On Tue, 2011-07-05 at 16:55 +0200, Anders Darander wrote:
 kernel-source do not exist in STAGING_KERNEL_DIR any longer.
 Remove the exported KERNEL_SOURCE as the STAGING_KERNEL_DIR can
 be used in module recipes directly.
 
 Signed-off-by: Anders Darander and...@chargestorm.se
 ---
  meta/classes/module-base.bbclass |1 -
  1 files changed, 0 insertions(+), 1 deletions(-)
 
 diff --git a/meta/classes/module-base.bbclass 
 b/meta/classes/module-base.bbclass
 index a7cf233..1a39cc1 100644
 --- a/meta/classes/module-base.bbclass
 +++ b/meta/classes/module-base.bbclass
 @@ -6,7 +6,6 @@ export OS = ${TARGET_OS}
  export CROSS_COMPILE = ${TARGET_PREFIX}
  
  export KERNEL_VERSION = 
 ${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}
 -export KERNEL_SOURCE = 
 ${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')}
  KERNEL_OBJECT_SUFFIX = .ko
  KERNEL_CCSUFFIX = 
 ${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}
  KERNEL_LDSUFFIX = 
 ${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/1] Remove exported KERNEL_SOURCE

2011-07-07 Thread Richard Purdie
On Wed, 2011-07-06 at 08:41 +0200, Anders Darander wrote:
 * Anders Darander Anders Darander and...@chargestorm.se [07/05/11 04:52 PM]:
  Remove KERNEL-SOURCE as an exported variable.
  When building an external module the
  STAGING_KERNEL_DIR variable can justbas well be used in
  the module recipe.
 
 There is an alternative solution, which is to instead of removing the line
  export KERNEL_SOURCE = ${@base_read_file('${STAGING_KERNEL_DIR}/kernel-
 source')}
 replace it with something like:
 export KERNEL_SOURCE = ${STAGING_KERNEL_DIR}
 
 The only benefit from that solution is to prevent breaking of recipes when 
 moving from oe.dev to oe-core. However, I prefer the original solution as we 
 otherwise would have more redundant variables.

Since the directory in question doesn't exist, we can likely remove this
as anyone using it should have complained by now...

We can add it back with the corrected version if anyone does turn out to
need it.

Cheers,

Richard




___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/3]upgrade recipes

2011-07-07 Thread Richard Purdie
On Wed, 2011-07-06 at 13:20 +0800, Mei Lei wrote:
 Upgrade recipe gupnp and gawk, also update the distro_tracking_fields.inc.
 
 The following changes since commit c6dac094ac79f6eae6998527e025417e16b46eed:
   Yu Ke (1):
 xauth: upgrade from 1.05 to 1.06
 
 are available in the git repository at:
 
   git://git.pokylinux.org/poky-contrib lmei3/upgrade-0704
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/upgrade-0704
 
 Mei Lei (3):
   gupnp: Upgrade from 0.16.0 to 0.16.1
   gawk: Upgrade from 3.1.8 to 4.0.0
   distro_tracking_fields.inc: Update recipes upgrade and manual check
 information

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] tinylogin: use angstrom mirror for SRC_URI

2011-07-07 Thread Richard Purdie
On Wed, 2011-06-15 at 15:27 +0100, Phil Blundell wrote:
 since busybox.net no longer seems to be hosting the tarball
 
 Signed-off-by: Phil Blundell ph...@gnu.org
 ---
  meta/recipes-core/tinylogin/tinylogin_1.4.bb |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/meta/recipes-core/tinylogin/tinylogin_1.4.bb 
 b/meta/recipes-core/tinylogin/tinylogin_1.4.bb
 index 0b51b25..b73b5b7 100644
 --- a/meta/recipes-core/tinylogin/tinylogin_1.4.bb
 +++ b/meta/recipes-core/tinylogin/tinylogin_1.4.bb
 @@ -9,7 +9,7 @@ LICENSE = GPLv2
  LIC_FILES_CHKSUM=file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269
  PR = r6
  
 -SRC_URI = http://tinylogin.busybox.net/downloads/tinylogin-${PV}.tar.bz2 \
 +SRC_URI = 
 http://www.angstrom-distribution.org/unstable/sources/tinylogin-${PV}.tar.bz2
  \
   file://cvs-20040608.patch;patch=1;pnum=1 \
   file://add-system.patch;patch=1;pnum=1 \
   file://adduser-empty_pwd.patch;patch=1 \

Merged to master, thanks.

Longer term, I wonder if we could make this recipe download and build
busybox but only build the getty/login parts and rename the resulting
static binary to be standalone from busybox itself?

That would likely address the concerns people (rightly IMO) have about
making busybox itself SUID...

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] tinylogin: use angstrom mirror for SRC_URI

2011-07-07 Thread Phil Blundell
On Thu, 2011-07-07 at 11:29 +0100, Richard Purdie wrote:
 Longer term, I wonder if we could make this recipe download and build
 busybox but only build the getty/login parts and rename the resulting
 static binary to be standalone from busybox itself?
 
 That would likely address the concerns people (rightly IMO) have about
 making busybox itself SUID...

I wondered about that too, but I'm still not very convinced that this is
a good solution.  I continue to feel that having the setuid
login-related pieces as a separate source package is the best approach
and I've never entirely understood why the busybox folks have been so
determined to deprecate tinylogin in favour of the rolled-up version.

Just to recap, I think there are five main areas of concern around
having login and suchlike be part of busybox:

a) the risk that busybox's privilege-dropping code might malfunction and
lead to applets being run with more privs than they ought to have;

b) the risk that busybox might have vulnerabilities in the code which
runs before privileges are dropped;

c) the difficulty in auditing the codebase for vulnerabilities: given
that any part of busybox can (potentially) call any other function in
the executable, it is hard to determine for sure which lines of code
might be executed under setuid context and which might not;

d) the various pieces of low-level fallout which go with having busybox
itself be technically setuid (even if it drops the privileges
immediately), for example inability to strace /bin/sh as any user other
than root.

e) the relatively high level of churn in the busybox codebase, meaning
that any audit would need to be repeated frequently

I think your proposal would address issues (a), (b), (d), and
potentially (e), but it's not obvious to me that there is any way of
solving (c) that wouldn't introduce another maintenance headache.  And
on the downside, I think (although I haven't tested it) that a
login-only busybox build would probably end up bigger than the tinylogin
binaries that we have today.

p.



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] busybox: bump PR to ensure ipv4 is enabled

2011-07-07 Thread Paul Eggleton
Now that ipv4 has been added to the default DISTRO_FEATURES we need to
bump PR as busybox will need to be rebuilt.

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta/recipes-core/busybox/busybox_1.18.4.bb |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox_1.18.4.bb 
b/meta/recipes-core/busybox/busybox_1.18.4.bb
index cb41ac6..5883cc6 100644
--- a/meta/recipes-core/busybox/busybox_1.18.4.bb
+++ b/meta/recipes-core/busybox/busybox_1.18.4.bb
@@ -1,5 +1,5 @@
 require busybox.inc
-PR = r4
+PR = r5
 
 SRC_URI = http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball 
\
file://udhcpscript.patch \
-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] default-distrovars.inc: add ipv4 to DISTRO_FEATURES

2011-07-07 Thread Paul Eggleton
Since the change in busybox configuration to match OE (OE core rev
b5564c4a9cadf306b447180c433b25ec071f8ce1) we now need ipv4 in
DISTRO_FEATURES to get standard IPv4 functionality in busybox.

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta/conf/distro/include/default-distrovars.inc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/distro/include/default-distrovars.inc 
b/meta/conf/distro/include/default-distrovars.inc
index 2f36f59..fe8ed22 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -10,7 +10,7 @@ LIMIT_BUILT_LOCALES ?= POSIX en_US en_GB
 ENABLE_BINARY_LOCALE_GENERATION ?= 1
 LOCALE_UTF8_ONLY ?= 0
 
-DISTRO_FEATURES_LIBC ?= ipv6 libc-backtrace libc-big-macros libc-bsd 
libc-cxx-tests libc-catgets libc-charsets libc-crypt \
+DISTRO_FEATURES_LIBC ?= ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd 
libc-cxx-tests libc-catgets libc-charsets libc-crypt \
libc-crypt-ufc libc-db-aliases 
libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \
libc-getlogin libc-idn libc-inet 
libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code \
libc-memusage libc-nis libc-nsswitch 
libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \
-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] Re-enable ipv4 features in busybox

2011-07-07 Thread Paul Eggleton
The following changes since commit 465692552eae360e9053df1fd26a2e24f21785c1:

  tinylogin: use angstrom mirror for SRC_URI (2011-07-07 11:27:28 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib paule/busybox-ipv4
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/busybox-ipv4

Paul Eggleton (2):
  default-distrovars.inc: add ipv4 to DISTRO_FEATURES
  busybox: bump PR to ensure ipv4 is enabled

 meta/conf/distro/include/default-distrovars.inc |2 +-
 meta/recipes-core/busybox/busybox_1.18.4.bb |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/2] Re-enable ipv4 features in busybox

2011-07-07 Thread Richard Purdie
On Thu, 2011-07-07 at 12:10 +0100, Paul Eggleton wrote:
 The following changes since commit 465692552eae360e9053df1fd26a2e24f21785c1:
 
   tinylogin: use angstrom mirror for SRC_URI (2011-07-07 11:27:28 +0100)
 
 are available in the git repository at:
   git://git.openembedded.org/openembedded-core-contrib paule/busybox-ipv4
   
 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/busybox-ipv4
 
 Paul Eggleton (2):
   default-distrovars.inc: add ipv4 to DISTRO_FEATURES
   busybox: bump PR to ensure ipv4 is enabled

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 0/1] the fix to bug 1208

2011-07-07 Thread Richard Purdie
On Thu, 2011-07-07 at 16:39 +0800, Dexuan Cui wrote:
 The following changes since commit ad2363278f0ea86fcf3464f8f6073d3a3d06be63:
 
   uclibc: Fix compilation in thumb mode (2011-07-02 00:02:24 +0100)
 
 are available in the git repository at:
   git://git.pokylinux.org/poky-contrib dcui/distro
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/distro
 
 Dexuan Cui (1):
   powertop: inherit update-alternatives and use a higher priority than
 busybox

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] libQtOpenGL:Add libQtOpenGL to an lsb image

2011-07-07 Thread Richard Purdie
On Tue, 2011-07-05 at 16:40 +0800, Xiaofeng Yan wrote:
 I make opengl as a DISTO_FEATURE for installing libQtOpenGL to image.
 Fix Bug [YOCTO #1020]
 
 Signed-off-by: Xiaofeng Yan xiaofeng@windriver.com

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/4] tclibc-glibc: add weak assigment to TARGET_OS

2011-07-07 Thread Richard Purdie
On Tue, 2011-07-05 at 14:38 -0500, Adrian Alonso wrote:
 * Add weak assigment to TARGET_OS variable so it can be
   overrided to match external toolchain tripplets.
 * Toolchain prefix is expanded from
   TARGET_SYS = TARGET_ARCH + TARGET_VENDOR + TARGET_OS
 
 Signed-off-by: Adrian Alonso aalo...@secretlab.ca
 ---
  meta/conf/distro/include/tclibc-glibc.inc |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/meta/conf/distro/include/tclibc-glibc.inc 
 b/meta/conf/distro/include/tclibc-glibc.inc
 index 5e7afc1..997fc11 100644
 --- a/meta/conf/distro/include/tclibc-glibc.inc
 +++ b/meta/conf/distro/include/tclibc-glibc.inc
 @@ -2,7 +2,7 @@
  # glibc specific configuration
  #
  
 -TARGET_OS = linux
 +TARGET_OS ?= linux
  TARGET_OS_arm = linux-gnueabi
  TARGET_OS_armeb = linux-gnueabi
  TARGET_OS_powerpc = 
 linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d,1) in 
 ['ppce500', 'ppce500v2']]}

I've merged the first three patches, thanks. This one makes me nervous
as TARGET_OS has traditionally been a problematic variable and ?= hasn't
always done what you'd expect. This therefore needs a bit more testing
and investigation before we can merge it as I think there could be
problems exposed...

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [RFC 2/2] sanity: implement network connectivity test

2011-07-07 Thread Richard Purdie
On Wed, 2011-06-29 at 14:55 -0700, Joshua Lock wrote:
 Sanity test to verify files can be fetched from the network using git, http
 and https fetchers point users at a page to help get set up in the case of a
 failure.
 
 Requires a variable CONNECTIVITY_CHECK_URIS to be set, using the same pattern
 as SRC_URI, of URI's to test against.
 The variable CONNECTIVITY_CHECK_MSG can be set to provide a custom error
 message, such as a pointer to some help, when this check fails.
 
 Addresses [YOCTO #933]
 
 Signed-off-by: Joshua Lock j...@linux.intel.com

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] pulseaudio: add 0.9.23

2011-07-07 Thread Richard Purdie
On Wed, 2011-07-06 at 13:27 +0200, Koen Kooi wrote:
 Older version have been retained to allow more testing of this release
 
 Signed-off-by: Koen Kooi k...@dominion.thruhere.net
 ---
  .../pulseaudio-0.9.23/autoconf_version.patch   |   17 ++
  .../pulseaudio/pulseaudio-0.9.23/buildfix.patch|   17 ++
  .../pulseaudio-0.9.23/configure_silent_rules.patch |   33 +++
  .../pulseaudio-0.9.23/gcc4-compile-fix.patch   |   22 +
  .../pulseaudio/pulseaudio-0.9.23/tls_m4.patch  |   34 
 
  .../pulseaudio-0.9.23/volatiles.04_pulse   |2 +
  meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |2 +-
  .../pulseaudio/pulseaudio_0.9.23.bb|   25 ++
  8 files changed, 151 insertions(+), 1 deletions(-)
  create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/autoconf_version.patch
  create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/buildfix.patch
  create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/configure_silent_rules.patch
  create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/gcc4-compile-fix.patch
  create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/tls_m4.patch
  create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/volatiles.04_pulse
  create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.23.bb

I've merged this, thanks.

One question though: How/when do we remove the old version?

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] pulseaudio: add 0.9.23

2011-07-07 Thread Koen Kooi
When I get back to my proper desk next week I'm going to test more devices and 
send patches to remove .15 and .22 or fixes for .23 and removal patches after 
that

Op 7 jul. 2011 om 13:45 heeft Richard Purdie 
richard.pur...@linuxfoundation.org het volgende geschreven:

 On Wed, 2011-07-06 at 13:27 +0200, Koen Kooi wrote:
 Older version have been retained to allow more testing of this release
 
 Signed-off-by: Koen Kooi k...@dominion.thruhere.net
 ---
 .../pulseaudio-0.9.23/autoconf_version.patch   |   17 ++
 .../pulseaudio/pulseaudio-0.9.23/buildfix.patch|   17 ++
 .../pulseaudio-0.9.23/configure_silent_rules.patch |   33 +++
 .../pulseaudio-0.9.23/gcc4-compile-fix.patch   |   22 +
 .../pulseaudio/pulseaudio-0.9.23/tls_m4.patch  |   34 
 
 .../pulseaudio-0.9.23/volatiles.04_pulse   |2 +
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |2 +-
 .../pulseaudio/pulseaudio_0.9.23.bb|   25 ++
 8 files changed, 151 insertions(+), 1 deletions(-)
 create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/autoconf_version.patch
 create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/buildfix.patch
 create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/configure_silent_rules.patch
 create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/gcc4-compile-fix.patch
 create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/tls_m4.patch
 create mode 100644 
 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/volatiles.04_pulse
 create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.23.bb
 
 I've merged this, thanks.
 
 One question though: How/when do we remove the old version?
 
 Cheers,
 
 Richard
 

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] pulseaudio: disable HAL support and enable udev support

2011-07-07 Thread Richard Purdie
On Tue, 2011-07-05 at 18:57 +0200, Koen Kooi wrote:
 HAL is deprecated and udev should be used with pulseaudio 0.9.22. THe .23 
 release from 2 weeks ago already removed HAL support.
 
 Signed-off-by: Koen Kooi k...@dominion.thruhere.net

Merged to master, thanks.

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] bitbake.conf: update OLDEST_KERNEL to 2.6.0

2011-07-07 Thread Paul Eggleton
Since we no longer support 2.4, update this setting to 2.6.0. (This affects
eglibc's kernel support).

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta/conf/bitbake.conf |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index bdaa35d..56a867b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -349,7 +349,7 @@ SDKPATHNATIVE = ${SDKPATH}/sysroots/${SDK_SYS}
 # Kernel info.
 ##
 
-OLDEST_KERNEL = 2.4.0
+OLDEST_KERNEL = 2.6.0
 STAGING_KERNEL_DIR = ${STAGING_DIR_HOST}/kernel
 
 ##
-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] eglibc: bump PR for OLDEST_KERNEL change

2011-07-07 Thread Paul Eggleton
Bump PR as eglibc should be rebuilt for the new OLDEST_KERNEL value.

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta/recipes-core/eglibc/eglibc_2.12.bb |2 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb 
b/meta/recipes-core/eglibc/eglibc_2.12.bb
index 85d58fa..fd7b485 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -1,7 +1,7 @@
 require eglibc.inc
 
 DEPENDS += gperf-native
-PR = r18
+PR = r19
 
 SRCREV = 14158
 
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb 
b/meta/recipes-core/eglibc/eglibc_2.13.bb
index 7986131..be65787 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -4,7 +4,7 @@ SRCREV = 14157
 
 DEPENDS += gperf-native
 FILESPATHPKG =. eglibc-svn:
-PR = r5
+PR = r6
 PR_append = +svnr${SRCPV}
 
 EGLIBC_BRANCH=eglibc-2_13
-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] update OLDEST_KERNEL

2011-07-07 Thread Paul Eggleton
The following changes since commit f1fc6d084b079dea21ff1a30b815496452042490:

  pulseaudio: add 0.9.23 (2011-07-07 13:44:36 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib paule/oldest-kernel-26
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/oldest-kernel-26

Paul Eggleton (2):
  bitbake.conf: update OLDEST_KERNEL to 2.6.0
  eglibc: bump PR for OLDEST_KERNEL change

 meta/conf/bitbake.conf  |2 +-
 meta/recipes-core/eglibc/eglibc_2.12.bb |2 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/8] libc-package.bbclass: fix for non /usr/lib libdir case

2011-07-07 Thread Yu Ke
if libdir is not /usr/lib, e.g. libdir=/usr/lib64, eglibc will
have build failure:

 cross-localedef  --uint32-align=4 --little-endian  --force --old-style 
--no-archive 
--prefix=/home/kyu3/sdb/lib64/tmp/work/x86_64-poky-linux/eglibc-2.13-r2+svnr14157/locale-tree
 
--inputfile=/home/kyu3/sdb/lib64/tmp/work/x86_64-poky-linux/eglibc-2.13-r2+svnr14157/locale-tree//usr/share/i18n/locales/es_NI
 --charmap=UTF-8 
/home/kyu3/sdb/lib64/tmp/work/x86_64-poky-linux/eglibc-2.13-r2+svnr14157/locale-tree/usr/lib/locale/es_NI
NOTE: stdout:
NOTE:
NOTE: stderr:
NOTE: cannot write output files to `(null)': No such file or directory
ERROR: Function 'localedef returned an error' failed


the reason is that libc-package.bbclass has hard code /usr/lib. This patch
fix it by using libdir variable.

Signed-off-by: Yu Ke ke...@intel.com
---
 meta/classes/libc-package.bbclass |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes/libc-package.bbclass 
b/meta/classes/libc-package.bbclass
index 55e3d48..2ece9ae 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -300,8 +300,8 @@ python package_do_split_gconvs () {
raise bb.build.FuncFailed(unknown arch: + 
target_arch +  for locale_arch_options)
 
localedef_opts +=  --force --old-style --no-archive 
--prefix=%s \
-   --inputfile=%s/%s/i18n/locales/%s --charmap=%s 
%s/usr/lib/locale/%s \
-   % (treedir, treedir, datadir, locale, encoding, 
treedir, name)
+   --inputfile=%s/%s/i18n/locales/%s --charmap=%s 
%s%s/locale/%s \
+   % (treedir, treedir, datadir, locale, encoding, 
treedir, libdir, name)
 
cmd = PATH=\%s\ I18NPATH=\%s\ GCONV_PATH=\%s\ 
cross-localedef %s % \
(path, i18npath, gconvpath, localedef_opts)
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/8] openssl: fix for non /usr/lib libdir case

2011-07-07 Thread Yu Ke
if libdir is not /usr/lib, e.g /usr/lib64, openssl build will fail
because it still use /usr/lib as library dir.

this patch appends the configure option --libdir to specify the correct
library directory

Signed-off-by: Yu Ke ke...@intel.com
---
 meta/recipes-connectivity/openssl/openssl.inc  |2 +-
 .../recipes-connectivity/openssl/openssl_0.9.8r.bb |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/openssl/openssl.inc 
b/meta/recipes-connectivity/openssl/openssl.inc
index a338f0e..d42ae1c 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -93,7 +93,7 @@ do_configure () {
 if [ x$useprefix = x ]; then
 useprefix=/
 fi
-   perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix 
--openssldir=${libdir}/ssl $target
+   perl ./Configure ${EXTRA_OECONF} shared --prefix=$useprefix 
--openssldir=${libdir}/ssl --libdir=`basename ${libdir}` $target
 }
 
 do_compile () {
diff --git a/meta/recipes-connectivity/openssl/openssl_0.9.8r.bb 
b/meta/recipes-connectivity/openssl/openssl_0.9.8r.bb
index 48ec995..c95b1f1 100644
--- a/meta/recipes-connectivity/openssl/openssl_0.9.8r.bb
+++ b/meta/recipes-connectivity/openssl/openssl_0.9.8r.bb
@@ -1,6 +1,6 @@
 require openssl.inc
 
-PR = r1
+PR = r2
 SRC_URI += file://debian/ca.patch \
 file://debian/config-hurd.patch;apply=no \
 file://debian/debian-targets.patch \
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/8] python: fix for libdir=/usr/lib64 case

2011-07-07 Thread Yu Ke
python has several place hard code lib which breaks build
when libdir=/usr/lib64. SUSE has a patch to fix this issue.

So this patch add the SUSE patch to address this issue

Signed-off-by: Yu Ke ke...@intel.com
---
 meta/recipes-devtools/python/python/multilib.patch |  295 
 meta/recipes-devtools/python/python_2.6.6.bb   |3 +-
 2 files changed, 297 insertions(+), 1 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python/multilib.patch

diff --git a/meta/recipes-devtools/python/python/multilib.patch 
b/meta/recipes-devtools/python/python/multilib.patch
new file mode 100644
index 000..71c890b
--- /dev/null
+++ b/meta/recipes-devtools/python/python/multilib.patch
@@ -0,0 +1,295 @@
+commit 248279e54467a8cd5cde98fc124d1d1384703513
+Author: Yu Ke ke...@intel.com
+Date:   Tue Jun 28 21:21:29 2011 +0800
+
+SUSE patch for the lib64 issue
+
+see detail in http://bugs.python.org/issue1294959
+
+also rebased a bit for Yocto python 2.6.6
+
+Picked-by: Yu Ke ke...@intel.com
+
+diff --git a/Include/pythonrun.h b/Include/pythonrun.h
+index 039b498..e8ee59a 100644
+--- a/Include/pythonrun.h
 b/Include/pythonrun.h
+@@ -108,6 +108,8 @@ PyAPI_FUNC(char *) Py_GetPath(void);
+ /* In their own files */
+ PyAPI_FUNC(const char *) Py_GetVersion(void);
+ PyAPI_FUNC(const char *) Py_GetPlatform(void);
++PyAPI_FUNC(const char *) Py_GetArch(void);
++PyAPI_FUNC(const char *) Py_GetLib(void);
+ PyAPI_FUNC(const char *) Py_GetCopyright(void);
+ PyAPI_FUNC(const char *) Py_GetCompiler(void);
+ PyAPI_FUNC(const char *) Py_GetBuildInfo(void);
+diff --git a/Lib/distutils/command/install.py 
b/Lib/distutils/command/install.py
+index 76efe3b..2a9913f 100644
+--- a/Lib/distutils/command/install.py
 b/Lib/distutils/command/install.py
+@@ -22,6 +22,8 @@ from site import USER_BASE
+ from site import USER_SITE
+ 
+ 
++libname = sys.lib
++
+ if sys.version  2.2:
+ WINDOWS_SCHEME = {
+ 'purelib': '$base',
+@@ -42,7 +44,7 @@ else:
+ INSTALL_SCHEMES = {
+ 'unix_prefix': {
+ 'purelib': '$base/lib/python$py_version_short/site-packages',
+-'platlib': '$platbase/lib/python$py_version_short/site-packages',
++'platlib': 
'$platbase/'+libname+'/python$py_version_short/site-packages',
+ 'headers': '$base/include/python$py_version_short/$dist_name',
+ 'scripts': '$base/bin',
+ 'data'   : '$base',
+diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
+index 350e48c..13bb5da 100644
+--- a/Lib/distutils/sysconfig.py
 b/Lib/distutils/sysconfig.py
+@@ -119,8 +119,11 @@ def get_python_lib(plat_specific=0, standard_lib=0, 
prefix=None):
+ prefix = plat_specific and EXEC_PREFIX or PREFIX
+ 
+ if os.name == posix:
+-libpython = os.path.join(prefix,
+- lib, python + get_python_version())
++if plat_specific or standard_lib:
++lib = sys.lib
++else:
++lib = lib
++libpython = os.path.join(prefix, lib, python + get_python_version())
+ if standard_lib:
+ return libpython
+ else:
+diff --git a/Lib/pydoc.py b/Lib/pydoc.py
+index 20f4952..4ffb644 100755
+--- a/Lib/pydoc.py
 b/Lib/pydoc.py
+@@ -349,7 +349,7 @@ class Doc:
+ 
+ docloc = os.environ.get(PYTHONDOCS,
+ http://docs.python.org/library;)
+-basedir = os.path.join(sys.exec_prefix, lib,
++basedir = os.path.join(sys.exec_prefix, sys.lib,
+python+sys.version[0:3])
+ if (isinstance(object, type(os)) and
+ (object.__name__ in ('errno', 'exceptions', 'gc', 'imp',
+diff --git a/Lib/site.py b/Lib/site.py
+index 66c56c2..12b1c8e 100644
+--- a/Lib/site.py
 b/Lib/site.py
+@@ -265,13 +265,19 @@ def addsitepackages(known_paths):
+ if sys.platform in ('os2emx', 'riscos'):
+ sitedirs.append(os.path.join(prefix, Lib, site-packages))
+ elif os.sep == '/':
+-sitedirs.append(os.path.join(prefix, lib,
++sitedirs.append(os.path.join(prefix, sys.lib,
+ python + sys.version[:3],
+ site-packages))
+-sitedirs.append(os.path.join(prefix, lib, site-python))
++if sys.lib != lib:
++sitedirs.append(os.path.join(prefix, lib,
++python + sys.version[:3],
++site-packages))
++sitedirs.append(os.path.join(prefix, sys.lib, site-python))
++if sys.lib != lib:
++sitedirs.append(os.path.join(prefix, lib, site-python))
+ else:
+ sitedirs.append(prefix)
+-sitedirs.append(os.path.join(prefix, lib, site-packages))
++sitedirs.append(os.path.join(prefix, sys.lib, site-packages))
+ 
+ if sys.platform == darwin:
+ # for 

[OE-core] [PATCH 0/8] [RFC] patch for non /usr/lib libdir

2011-07-07 Thread Yu Ke
in multilib case, libdir is usually not standard /usr/lib, so this series of
patches are addressing some recipes's build failure when libdir is not /usr/lib,
for example, libdir=/usr/lib64.

All the patches have no impact to current libdir=/usr/lib situation, since
they just replace the hardcode /usr/lib with libdir.

Signed-off-by: Yu Ke ke...@intel.com

The following changes since commit 2163461ec94528ecf046a04edc5db3d2dd3a6b8b:
  Tom Zanussi (1):
systemtap: remove non-core COMPATIBLE_MACHINES

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib kyu3/libdir-fix
  http://git.pokylinux.org/cgit.cgi//log/?h=kyu3/libdir

Yu Ke (8):
  native.bbclass: generate libdir from libdir_native
  openssl: fix for non /usr/lib libdir case
  libc-package.bbclass: fix for non /usr/lib libdir case
  python: fix for libdir=/usr/lib64 case
  python-native: fix for non /usr/lib libdir case
  perl: fix for non /usr/lib libdir case
  libcap: fix for non /usr/lib libdir case
  rpm: fix for non /usr/lib libdir case

 meta/classes/libc-package.bbclass  |4 +-
 meta/classes/native.bbclass|2 +
 meta/recipes-connectivity/openssl/openssl.inc  |2 +-
 .../recipes-connectivity/openssl/openssl_0.9.8r.bb |2 +-
 meta/recipes-devtools/perl/perl_5.12.3.bb  |3 +-
 ...2-distutils-prefix-is-inside-staging-area.patch |   15 +-
 .../recipes-devtools/python/python-native_2.6.6.bb |2 +-
 meta/recipes-devtools/python/python/multilib.patch |  295 
 meta/recipes-devtools/python/python_2.6.6.bb   |3 +-
 meta/recipes-devtools/rpm/rpm_5.4.0.bb |3 +-
 meta/recipes-support/libcap/libcap.inc |5 +-
 meta/recipes-support/libcap/libcap_2.20.bb |2 +-
 12 files changed, 323 insertions(+), 15 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python/multilib.patch


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 6/8] perl: fix for non /usr/lib libdir case

2011-07-07 Thread Yu Ke
the config.sh is hardcoded to be /usr/lib, which does not work in non
/usr/lib libdir case.

This patch replace the hard code /usr/lib with ${libdir} to fix this issue

Signed-off-by: Yu Ke ke...@intel.com
---
 meta/recipes-devtools/perl/perl_5.12.3.bb |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/perl/perl_5.12.3.bb 
b/meta/recipes-devtools/perl/perl_5.12.3.bb
index b053482..88dcfdd 100644
--- a/meta/recipes-devtools/perl/perl_5.12.3.bb
+++ b/meta/recipes-devtools/perl/perl_5.12.3.bb
@@ -8,7 +8,7 @@ PRIORITY = optional
 # We need gnugrep (for -I)
 DEPENDS = virtual/db grep-native
 DEPENDS += gdbm zlib
-PR = r1
+PR = r2
 
 # 5.10.1 has Module::Build built-in
 PROVIDES += libmodule-build-perl
@@ -150,6 +150,7 @@ do_configure() {
-e 's,@ARCH@-thread-multi,,g' \
-e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
-e s%/usr/include%${STAGING_INCDIR}%g \
+  -e 's,/usr/lib/,${libdir}/,g' \
   -e 's,/usr/,${exec_prefix}/,g' \
   -e 's,/perl5,/perl,g' \
 config.sh-${TARGET_ARCH}-${TARGET_OS}
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/8] native.bbclass: generate libdir from libdir_native

2011-07-07 Thread Yu Ke
currently, the libdir in native.bbclass is inherited from target libdir
defined in bitbake.conf. This is not correct in concept, instead, it
should be inherited from libdir_native. Current code works because both
the target libdir and libdir_native are the same value /usr/lib.
But if libdir changes (e.g. to /usr/lib64), then build will break.

This patch make libdir generated from libdir_native to fix this issue.

Signed-off-by: Yu Ke ke...@intel.com
---
 meta/classes/native.bbclass |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 90fcd13..d34d1e5 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -67,6 +67,8 @@ base_prefix = ${STAGING_DIR_NATIVE}
 prefix = ${STAGING_DIR_NATIVE}${prefix_native}
 exec_prefix = ${STAGING_DIR_NATIVE}${prefix_native}
 
+libdir = ${STAGING_DIR_NATIVE}${libdir_native}
+
 NATIVE_PACKAGE_PATH_SUFFIX = 
 bindir .= ${NATIVE_PACKAGE_PATH_SUFFIX}
 libdir .= ${NATIVE_PACKAGE_PATH_SUFFIX}
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/8] python-native: fix for non /usr/lib libdir case

2011-07-07 Thread Yu Ke
the get_python_lib() use hard code lib. when other recipe
building use python-native, the STAGING_LIBDIR is non /usr/lib,
so the hard code lib will break the build

This patch replace the hardcoded lib with value from libdir
to fix this issue.

Signed-off-by: Yu Ke ke...@intel.com
---
 ...2-distutils-prefix-is-inside-staging-area.patch |   15 +++
 .../recipes-devtools/python/python-native_2.6.6.bb |2 +-
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git 
a/meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch
 
b/meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch
index 9532eb3..8e721fe 100644
--- 
a/meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch
+++ 
b/meta/recipes-devtools/python/python-native/12-distutils-prefix-is-inside-staging-area.patch
@@ -30,19 +30,26 @@ Index: Python-2.6.6/Lib/distutils/sysconfig.py
  
  if os.name == posix:
  if python_build:
-@@ -116,7 +119,10 @@ def get_python_lib(plat_specific=0, stan
+@@ -115,12 +118,16 @@ def get_python_lib(plat_specific=0, stan
+ If 'prefix' is supplied, use it instead of sys.prefix or
  sys.exec_prefix -- i.e., ignore 'plat_specific'.
  
++lib_basename = os.getenv(libdir).split('/')[-1]
  if prefix is None:
 -prefix = plat_specific and EXEC_PREFIX or PREFIX
 +if plat_specific:
-+prefix = plat_specific and 
os.environ['STAGING_LIBDIR'].rstrip('lib')
++prefix = plat_specific and 
os.environ['STAGING_LIBDIR'].rstrip(lib_basename)
 +else:
 +prefix = plat_specific and EXEC_PREFIX or PREFIX
  
  if os.name == posix:
  libpython = os.path.join(prefix,
-@@ -216,7 +222,7 @@ def get_config_h_filename():
+- lib, python + get_python_version())
++ lib_basename, python + 
get_python_version())
+ if standard_lib:
+ return libpython
+ else:
+@@ -216,7 +223,7 @@ def get_config_h_filename():
  else:
  # The name of the config.h file changed in 2.2
  config_h = 'pyconfig.h'
@@ -51,7 +58,7 @@ Index: Python-2.6.6/Lib/distutils/sysconfig.py
  
  
  def get_makefile_filename():
-@@ -225,7 +231,7 @@ def get_makefile_filename():
+@@ -225,7 +232,7 @@ def get_makefile_filename():
  return os.path.join(os.path.dirname(os.path.realpath(sys.executable)),
  Makefile)
  lib_dir = get_python_lib(plat_specific=1, standard_lib=1)
diff --git a/meta/recipes-devtools/python/python-native_2.6.6.bb 
b/meta/recipes-devtools/python/python-native_2.6.6.bb
index 0f9ae10..fa943f4 100644
--- a/meta/recipes-devtools/python/python-native_2.6.6.bb
+++ b/meta/recipes-devtools/python/python-native_2.6.6.bb
@@ -1,6 +1,6 @@
 require python.inc
 DEPENDS = openssl-native bzip2-full-native zlib-native readline-native 
sqlite3-native
-PR = ${INC_PR}.1
+PR = ${INC_PR}.2
 
 LIC_FILES_CHKSUM = file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6
 
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 8/8] rpm: fix for non /usr/lib libdir case

2011-07-07 Thread Yu Ke
rpm default will use /usr/lib if the --with-path-lib is not specified.
this will not work in non /usr/lib libdir case.

so this patch add the --with-path-lib to fix this issue.

Signed-off-by: Yu Ke ke...@intel.com
---
 meta/recipes-devtools/rpm/rpm_5.4.0.bb |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb 
b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
index 0c88f91..075c91a 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -45,7 +45,7 @@ LIC_FILES_CHKSUM = 
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1
 DEPENDS = bzip2 zlib db openssl elfutils expat libpcre attr acl popt 
${extrarpmdeps}
 extrarpmdeps = python perl
 extrarpmdeps_virtclass-native = 
-PR = r17
+PR = r18
 
 # rpm2cpio is a shell script, which is part of the rpm src.rpm.  It is needed
 # in order to extract the distribution SRPM into a format we can extract...
@@ -162,6 +162,7 @@ EXTRA_OECONF = --verbose \
--enable-build-debug \
--enable-maintainer-mode \
--with-path-macros=${rpm_macros} \
+   --with-path-lib=${libdir}/rpm \
--with-bugreport=http://bugzilla.yoctoproject.org;
 
 CFLAGS_append =  -DRPM_VENDOR_WINDRIVER -DRPM_VENDOR_POKY
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 7/8] libcap: fix for non /usr/lib libdir case

2011-07-07 Thread Yu Ke
the recipe has hardcoded lib=lib, which does not work in
libdir=/usr/lib64 case where should be lib=lib64,

So this patch fix it by replacing lib with libdir

Signed-off-by: Yu Ke ke...@intel.com
---
 meta/recipes-support/libcap/libcap.inc |5 +++--
 meta/recipes-support/libcap/libcap_2.20.bb |2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/libcap/libcap.inc 
b/meta/recipes-support/libcap/libcap.inc
index 93bdf95..3bff3b9 100644
--- a/meta/recipes-support/libcap/libcap.inc
+++ b/meta/recipes-support/libcap/libcap.inc
@@ -20,8 +20,9 @@ do_configure() {
sed -e 's,BUILD_CFLAGS ?=,BUILD_CFLAGS := $(BUILD_CFLAGS),' -i 
Make.Rules
 }
 
-EXTRA_OEMAKE = LIBATTR=yes PAM_CAP=yes INDENT= lib=lib 
SYSTEM_HEADERS=${STAGING_INCDIR} RAISE_SETFCAP=no
-EXTRA_OEMAKE_virtclass-native = LIBATTR=no PAM_CAP=no INDENT= lib=lib
+EXTRA_OEMAKE = LIBATTR=yes PAM_CAP=yes INDENT= 
SYSTEM_HEADERS=${STAGING_INCDIR} RAISE_SETFCAP=no
+EXTRA_OEMAKE_virtclass-native = LIBATTR=no PAM_CAP=no INDENT= 
+EXTRA_OEMAKE +=  lib=${@os.path.basename('${libdir}')}
 
 do_compile() {
oe_runmake
diff --git a/meta/recipes-support/libcap/libcap_2.20.bb 
b/meta/recipes-support/libcap/libcap_2.20.bb
index ab3638a..c9741c2 100644
--- a/meta/recipes-support/libcap/libcap_2.20.bb
+++ b/meta/recipes-support/libcap/libcap_2.20.bb
@@ -1,6 +1,6 @@
 require libcap.inc
 
-PR = r1
+PR = r2
 
 SRC_URI[md5sum] = 10e47ed32ca2214eb0e58780282d27b4
 SRC_URI[sha256sum] = 
20e7c1ea4d3d5c410efb3a6ff138dc417912fae316d883460dcd58d9803a9220
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] sato-sdk: add clutter for sato-sdk image

2011-07-07 Thread Yu Ke
Yocto ADT has Eclips clutter template, so it is better to have
clutter in SDK image to support ADT. this patch add clutter
and clutter-box2d app to sato-sdk image for this purpose

Fix [YOCTO #891]

Signed-off-by: Yu Ke ke...@intel.com
---
 meta/recipes-core/tasks/task-core-tools.bb |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/tasks/task-core-tools.bb 
b/meta/recipes-core/tasks/task-core-tools.bb
index 4a98b0f..44520a7 100644
--- a/meta/recipes-core/tasks/task-core-tools.bb
+++ b/meta/recipes-core/tasks/task-core-tools.bb
@@ -82,4 +82,6 @@ RDEPENDS_task-core-tools-testapps = \
 xrestop \
 xwininfo \
 xprop \
-xvideo-tests
+xvideo-tests \
+clutter-box2d-1.6 \
+
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/2] bitbake.conf: update OLDEST_KERNEL to 2.6.0

2011-07-07 Thread Koen Kooi
angstrom has been setting it to 2.6.16 for some years now, I forget which bug 
that fixed over 2.6.0

Op 7 jul. 2011 om 14:11 heeft Paul Eggleton paul.eggle...@linux.intel.com het 
volgende geschreven:

 Since we no longer support 2.4, update this setting to 2.6.0. (This affects
 eglibc's kernel support).
 
 Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
 ---
 meta/conf/bitbake.conf |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
 index bdaa35d..56a867b 100644
 --- a/meta/conf/bitbake.conf
 +++ b/meta/conf/bitbake.conf
 @@ -349,7 +349,7 @@ SDKPATHNATIVE = ${SDKPATH}/sysroots/${SDK_SYS}
 # Kernel info.
 ##
 
 -OLDEST_KERNEL = 2.4.0
 +OLDEST_KERNEL = 2.6.0
 STAGING_KERNEL_DIR = ${STAGING_DIR_HOST}/kernel
 
 ##
 -- 
 1.7.4.1
 
 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] sato-sdk: add clutter to fix bug 891

2011-07-07 Thread Yu Ke
The following changes since commit ad2363278f0ea86fcf3464f8f6073d3a3d06be63:
  Khem Raj (1):
uclibc: Fix compilation in thumb mode

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib kyu3/bug891
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kyu3/bug891

Yu Ke (1):
  sato-sdk: add clutter for sato-sdk image

 meta/recipes-core/tasks/task-core-tools.bb |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/2] bitbake.conf: update OLDEST_KERNEL to 2.6.0

2011-07-07 Thread Paul Eggleton
On Thursday 07 July 2011 15:24:46 Koen Kooi wrote:
 angstrom has been setting it to 2.6.16 for some years now, I forget which
 bug that fixed over 2.6.0

Personally I don't know enough about which crusty old 2.6 kernels people are 
still using out there, so I figured 2.6.0 was the safest bet.

A trawl of the OE history turns up these two:

---
commit 8b0202e6e3f90a772df301e8522f9deb03e50132
Author: Tom Rini tom_r...@mentor.com
Date:   Wed Mar 3 12:17:38 2010 -0700

glibc*.inc: Bump OLDEST_KERNEL to 2.6.16

Per glibc's ChangeLog, 2.6.16 is the minimum required by at least glibc
2.9 
Prior to this, it was a murky 2.6.14 + patches to 2.6.16 (when it was all
upstream).
---
commit 794e8652f5c4fef71a8b9ab834b39f75b99f9420
Author: Koen Kooi k...@openembedded.org
Date:   Thu May 21 20:30:37 2009 +0200

Angstrom 2009.X: set OLDEST_KERNEL to 2.6.16 to avoid problems with 
ppoll()
---

Any further comments/info? Should we be using 2.6.16 in oe-core as well?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] bluez-dtl1-workaround: remove PRIORITY

2011-07-07 Thread Paul Eggleton
On Thursday 07 July 2011 15:51:54 Phil Blundell wrote:
 On Wed, 2011-07-06 at 16:39 -0700, Saul Wold wrote:
  I will take a patch that deletes from here and adds it into the
  meta-extra's layer.
 
 OK.  What's meta-extra's?  I don't think I'm familiar with that layer.

It's a Yocto layer that has been traditionally the place to preserve obsolete 
stuff that was removed from Poky.

http://git.yoctoproject.org/cgit/cgit.cgi/meta-extras/

(FWIW, just noticed - I still haven't added the machine-specific stuff I 
removed 
from OE-core to meta-extras yet.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] powertop: inherit update-alternatives and use a higher priority than busybox

2011-07-07 Thread Tom Rini
On 07/07/2011 01:39 AM, Dexuan Cui wrote:
 busybox-1.18.4 installs /bin/powertop and the powertop recipe installs
 /usr/bin/powertop. So, in PATH, if /bin appears before /usr/bin, we would
 run the version offered by busybox, which has a very limited function (e.g.,
 no parameter is accepted) and this causes trouble to eclipse plugin.
 
 We can use update-alternatives for powertop with higher priority to resolve
 the issue.
 
 Fixes [YOCTO #1208]
 
 Signed-off-by: Dexuan Cui dexuan@intel.com

This fix seems a bit incomplete.  Why is busybox putting powertop into
/bin when it almost certainly belongs in /usr/bin like the real recipe
was placing it.  busybox needs a fix here too.

-- 
Tom Rini
Mentor Graphics Corporation

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] bluez-dtl1-workaround: deleted

2011-07-07 Thread Phil Blundell

Signed-off-by: Phil Blundell ph...@gnu.org
---
 .../bluez/bluez-dtl1-workaround/02dtl1_cs.sh   |   57 
 .../bluez/bluez-dtl1-workaround/COPYING.patch  |  346 
 .../bluez/bluez-dtl1-workaround_1.0.bb |   18 -
 3 files changed, 0 insertions(+), 421 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/bluez/bluez-dtl1-workaround/02dtl1_cs.sh
 delete mode 100644 
meta/recipes-connectivity/bluez/bluez-dtl1-workaround/COPYING.patch
 delete mode 100644 meta/recipes-connectivity/bluez/bluez-dtl1-workaround_1.0.bb

diff --git a/meta/recipes-connectivity/bluez/bluez-dtl1-workaround/02dtl1_cs.sh 
b/meta/recipes-connectivity/bluez/bluez-dtl1-workaround/02dtl1_cs.sh
deleted file mode 100644
index fefc72e..000
--- a/meta/recipes-connectivity/bluez/bluez-dtl1-workaround/02dtl1_cs.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-
-case $1 in
-   suspend)
-   if [ `/sbin/hciconfig` !=  ]; then
-   #If hciconfig outputs anything then there's probably a 
Bluetooth
-   # CF card in the slot so shut it down.
-   hcitool dc `hcitool con | grep ACL | sed 
's/^.*\([0-9A-F]\{2\}\(:[0-9A-F]\{2\}\)\{5\}\).*$/\1/'`
-   hciconfig hci0 down
-   killall hciattach  /dev/null 21 
-   fi 
-   ;;
-
-   resume)
-   #check for kernel version
-   if [ `uname -r | grep 2.4.` !=  ]; then
-   k=o
-   elif [ `uname -r | grep 2.6.` !=  ]; then
-   k=ko
-   else
-   exit 0
-   fi
-
-   if test -e /sbin/cardctl; then
-   CARDCTL=/sbin/cardctl
-   elif test -e /sbin/pccardctl; then
-   CARDCTL=/sbin/pccardctl
-   else
-   exit 0
-   fi
-
-   if [ `lsmod | grep hci_uart` !=  ]; then
-   #If the hci_usb module is still loaded then there's a 
serial based
-   # Bluetooth CF card in the slot, which only needs a 
resume to get it going
-   # again. 
-   rfcomm bind all
-   $CARDCTL resume
-   hciconfig hci0 up
-   else
-   # only works for nokia dtl1 cards
-   for f in /lib/modules/`uname 
-r`/kernel/drivers/bluetooth/dtl1_cs.$k
-   do
-   #Enumerate all the self-contained Bluetooth CF 
card drivers
-   f=`echo $f | sed 's/\.'$k'$//'`
-   f=`basename $f`
-   if [ `lsmod | grep $f` !=  ]; then
-   #If one of these drivers is still 
loaded, then there is probably
-   #a non-serial based Bluetooth CF card 
in the slot that needs
-   #ejecting and reinserting to get it 
going again
-   rfcomm bind all
-   $CARDCTL eject
-   $CARDCTL insert
-   hciconfig hci0 up
-   fi
-   done
-   fi
-esac
diff --git 
a/meta/recipes-connectivity/bluez/bluez-dtl1-workaround/COPYING.patch 
b/meta/recipes-connectivity/bluez/bluez-dtl1-workaround/COPYING.patch
deleted file mode 100644
index 576081b..000
--- a/meta/recipes-connectivity/bluez/bluez-dtl1-workaround/COPYING.patch
+++ /dev/null
@@ -1,346 +0,0 @@
-Upstream-Status: Inappropriate [others]
-
-diff -ruN bluez-dtl1-workaround-1.0-orig/COPYING 
bluez-dtl1-workaround-1.0/COPYING
 bluez-dtl1-workaround-1.0-orig/COPYING 1970-01-01 08:00:00.0 
+0800
-+++ bluez-dtl1-workaround-1.0/COPYING  2010-12-09 16:50:46.014910500 +0800
-@@ -0,0 +1,340 @@
-+  GNU GENERAL PUBLIC LICENSE
-+ Version 2, June 1991
-+
-+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-+   59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-+ Everyone is permitted to copy and distribute verbatim copies
-+ of this license document, but changing it is not allowed.
-+
-+  Preamble
-+
-+  The licenses for most software are designed to take away your
-+freedom to share and change it.  By contrast, the GNU General Public
-+License is intended to guarantee your freedom to share and change free
-+software--to make sure the software is free for all its users.  This
-+General Public License applies to most of the Free Software
-+Foundation's software and to any other program whose authors commit to
-+using it.  (Some other Free Software Foundation software is covered by
-+the GNU Library General Public License instead.)  You can 

Re: [OE-core] [PATCH] bluez-dtl1-workaround: remove PRIORITY

2011-07-07 Thread Phil Blundell
On Thu, 2011-07-07 at 16:11 +0100, Paul Eggleton wrote:
 On Thursday 07 July 2011 15:51:54 Phil Blundell wrote:
  On Wed, 2011-07-06 at 16:39 -0700, Saul Wold wrote:
   I will take a patch that deletes from here and adds it into the
   meta-extra's layer.
  
  OK.  What's meta-extra's?  I don't think I'm familiar with that layer.
 
 It's a Yocto layer that has been traditionally the place to preserve obsolete 
 stuff that was removed from Poky.
 
 http://git.yoctoproject.org/cgit/cgit.cgi/meta-extras/

Ah, right, I see.

I've just sent a patch to this list to delete the recipe from oe-core.
I don't know where (or how) to send patches for meta-extras, but I guess
applying patch 2/2 in reverse against that repo would produce the
desired effect should anybody wish to do so.

p.



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] kernel.bbclass, task-base: remove references to obsolete bluez-dtl1-workaround

2011-07-07 Thread Phil Blundell

Signed-off-by: Phil Blundell ph...@gnu.org
---
 meta/classes/kernel.bbclass  |5 -
 meta/recipes-core/tasks/task-base.bb |5 -
 2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 943252a..7770b8b 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -227,11 +227,6 @@ ALLOW_EMPTY_kernel = 1
 ALLOW_EMPTY_kernel-base = 1
 ALLOW_EMPTY_kernel-image = 1
 
-# Userspace workarounds for kernel modules issues
-# This is shame, fix the kernel instead!
-DEPENDS_kernel-module-dtl1-cs = bluez-dtl1-workaround
-RDEPENDS_kernel-module-dtl1-cs = bluez-dtl1-workaround
-
 pkg_postinst_kernel-image () {
 if [ ! -e $D/lib/modules/${KERNEL_VERSION} ]; then
mkdir -p $D/lib/modules/${KERNEL_VERSION}
diff --git a/meta/recipes-core/tasks/task-base.bb 
b/meta/recipes-core/tasks/task-base.bb
index 97a854c..99b7e17 100644
--- a/meta/recipes-core/tasks/task-base.bb
+++ b/meta/recipes-core/tasks/task-base.bb
@@ -80,7 +80,6 @@ RDEPENDS_task-base = \
 ${@base_contains('COMBINED_FEATURES', 'irda', 'task-base-irda', '',d)} \
 ${@base_contains('COMBINED_FEATURES', 'pci', 'task-base-pci', '',d)} \
 ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'task-base-pcmcia', '',d)} 
\
-${@base_contains('COMBINED_FEATURES', 'pcmcia', 'bluez-dtl1-workaround', 
'',d)} \
 ${@base_contains('COMBINED_FEATURES', 'usbgadget', 'task-base-usbgadget', 
'',d)} \
 ${@base_contains('COMBINED_FEATURES', 'usbhost', 'task-base-usbhost', 
'',d)} \
 ${@base_contains('COMBINED_FEATURES', 'bluetooth', 'task-base-bluetooth', 
'',d)} \
@@ -99,7 +98,6 @@ RDEPENDS_task-base = \
 ${@base_contains('DISTRO_FEATURES', 'raid', 'task-base-raid', '',d)} \
 ${@base_contains('DISTRO_FEATURES', 'zeroconf', 'task-base-zeroconf', 
'',d)} \
 
-# bluez-dtl1-workaround above is workaround for bitbake not handling DEPENDS 
on it in
 
 
 RRECOMMENDS_task-base = \
@@ -229,10 +227,7 @@ RRECOMMENDS_task-base-bluetooth = \
 ${@base_contains('COMBINED_FEATURES', 'pcmcia', 
'kernel-module-bluecard-cs', '',d)} \
 ${@base_contains('COMBINED_FEATURES', 'pcmcia', 
'kernel-module-bluetoothuart-cs', '',d)} \
 ${@base_contains('COMBINED_FEATURES', 'pcmcia', 'kernel-module-dtl1-cs', 
'',d)} \
-${@base_contains('COMBINED_FEATURES', 'pcmcia', 'bluez-dtl1-workaround', 
'',d)} \
 
-# bluez-dtl1-workaround above is workaround for bitbake not handling DEPENDS 
on it in
-# kernel.bbclass. It should be there as long as kernel-module-dtl1-cs is, but 
not longer.
 
 RDEPENDS_task-base-irda = \
 irda-utils
-- 
1.7.2.5




___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 6/8] perl: fix for non /usr/lib libdir case

2011-07-07 Thread Kamble, Nitin A
Hi Ke, 
   Is this for multilib ?

Nitin


 -Original Message-
 From: openembedded-core-boun...@lists.openembedded.org
 [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of
 Yu Ke
 Sent: Thursday, July 07, 2011 7:10 AM
 To: openembedded-core@lists.openembedded.org;
 richard.pur...@linuxfoundation.org
 Subject: [OE-core] [PATCH 6/8] perl: fix for non /usr/lib libdir case
 
 the config.sh is hardcoded to be /usr/lib, which does not work in non
 /usr/lib libdir case.
 
 This patch replace the hard code /usr/lib with ${libdir} to fix this
 issue
 
 Signed-off-by: Yu Ke ke...@intel.com
 ---
  meta/recipes-devtools/perl/perl_5.12.3.bb |3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)
 
 diff --git a/meta/recipes-devtools/perl/perl_5.12.3.bb b/meta/recipes-
 devtools/perl/perl_5.12.3.bb
 index b053482..88dcfdd 100644
 --- a/meta/recipes-devtools/perl/perl_5.12.3.bb
 +++ b/meta/recipes-devtools/perl/perl_5.12.3.bb
 @@ -8,7 +8,7 @@ PRIORITY = optional
  # We need gnugrep (for -I)
  DEPENDS = virtual/db grep-native
  DEPENDS += gdbm zlib
 -PR = r1
 +PR = r2
 
  # 5.10.1 has Module::Build built-in
  PROVIDES += libmodule-build-perl
 @@ -150,6 +150,7 @@ do_configure() {
 -e 's,@ARCH@-thread-multi,,g' \
 -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
 -e s%/usr/include%${STAGING_INCDIR}%g \
 +-e 's,/usr/lib/,${libdir}/,g' \
  -e 's,/usr/,${exec_prefix}/,g' \
  -e 's,/perl5,/perl,g' \
  config.sh-${TARGET_ARCH}-${TARGET_OS}
 --
 1.7.0.4
 
 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] OE Changelog for 2011-06-27 to 2011-07-4

2011-07-07 Thread cliff . brake
Changelog for 2011-06-27 to 2011-07-4.  Projects included in this report:

bitbake: git://git.openembedded.org/bitbake
openembedded-core: git://git.openembedded.org/openembedded-core
meta-openembedded: git://git.openembedded.org/meta-openembedded
meta-angstrom: git://git.angstrom-distribution.org/meta-angstrom
meta-yocto: git://git.yoctoproject.org/poky
meta-texasinstruments: git://git.angstrom-distribution.org/meta-texasinstruments
meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git
meta-micro: git://git.openembedded.org/meta-micro
meta-slugos: git://github.com/kraj/meta-slugos
meta-nslu2: git://github.com/kraj/meta-nslu2
meta-intel: git://git.yoctoproject.org/meta-intel
openembedded: git://git.openembedded.org/openembedded


Changelog for bitbake:

Joshua Lock (7):
  command|cooker: allow generating targets tree for specified pkgs
  cooker: add generic method to locate configuration files
  command|cooker|event: add findConfigFilePath command
  cooker|command|event: add new command findFilesMatchingInDir
  cooker: remove code duplication in non trivial functions
  cooker: switch to new universe target rather than world
  bitbake: add -R option for loading configuration files after bitbake.conf

Lianhao Lu (1):
  ui/hob: Fixed the build again hang.

Liping Ke (1):
  bitbake: Make bitbake server type configurable.

Richard Purdie (6):
  bitbake/data_smart: Optimise the data store iterator
  bitbake/data_smart: Don't export deleted/empty entries in the list of keys
  bitbake/data_smart: Don't track overrides in deleted variable names
  bitbake/ast: Call expandkeys after the RecipePreFinalise event
  bitbake/ast: Add optional argument for BBCLASSEXTEND
  Update version to 1.13.2

Robert Yang (1):
  bitbake: Add task specific stamp file support


Changelog for openembedded-core:

Anders Darander (8):
  Remove support for building 2.4 kernels
  image|kernel.bblass|module-init-tools: do not use depmod-2.6
  modules-init-tools(-cross): update to 3.16
  modutils-initscripts: move recipe prior to modutils removal
  kernel.bblass: remove get_kernelmajorversion
  modutils: remove modutils
  distro_tracking_fields: remove modutils.
  resolvconf: update to version 1.58.

Chris Larson (1):
  oe.classutils: add module

Darren Hart (2):
  Add PARALLEL_MAKE to BB_ENV_EXTRAWHITE
  kernel: move menuconfig task after configure

Dexuan Cui (5):
  sanity.bbclass: only run check_pseudo_wrapper for bitbake
  glib-2.0,intltool,rpm,sgmlspl-native: Bump PR to resolve perl-native issue
  grub: add -fno-reorder-functions into STAGE2_COMPILE
  lttng-ust: change the patch's Upstream-Status to Accepted.
  distro_tracking_fields.inc: update RECIPE_MANUAL_CHECK_DATE for screen and t

Dongxiao Xu (9):
  libc-locale: split locale handling from libc recipe.
  Upstream-Status: update the status for some patches
  distro_tracking: update some manual checking fields
  connman: Upgrade to version 0.75
  wpa-supplicant: remove the 0.6.10 version.
  ofono: upgrade to version 0.50
  connman-gnome: Add 3G configuration support
  initscript: Change some order of init scripts
  task-base: add 3G into DISTRO_FEATURE

Ilya Yanok (1):
  u-boot-mkimage: bump version to 2011.03

Jessica Zhang (1):
  Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using corr

Joshua Lock (1):
  sanity.bbclass: pass the data object to the less frequent test harnesses

Khem Raj (10):
  libtirpc: Upgrade 0.2.1 - 0.2.2
  uclibc: Remove redundant machine/arch configs
  uclibc-config.inc: Fix regexp to determine big-endian arm
  uclibc.inc: Use ARCH_WANTS_{LITTLE|BIG}_ENDIAN to denote endian
  uclibc_git.bb: Untether UCLIBC_HAS_FPU from UCLIBC_HAS_FLOATS
  uclibc: Add UCLIBC_HAS_FLOATS=y to uClibc.distro
  uclibc: Fix bug exposed by udev 168+ for mips architecture
  uclibc: Add default uClibc.machine files
  consolekit: Add glib-2.0 to DEPENDS
  uclibc: Fix compilation in thumb mode

Koen Kooi (8):
  gcc-cross-kernel: update to match new toolchain sysroot layout
  libc locale split: fix some remaining problems
  linux-libc-headers: add 2.6.39
  dbus: update to 1.4.12
  webkit-gtk: fix packaging
  consolekit 0.4.5: add pam support based on distro features
  consolekit 0.4.5: remove patch that forcibly disables consolekit
  ppp: sync packaging with OE .dev

Lianhao Lu (1):
  libc-package.bbclass: Replace hard coded libdir.

Mark Hatle (9):
  gcc: Fix file ownership
  prelink: Uprev prelink to latest version
  msmtp: Disable gnome keyring
  rpm: Change config option
  sstate.bbclass: Fix an issue if the config changes
  prelink_git.bb: Only block the postinst script when no image-prelink
  linux-firmware: Fix file permissions
  Add umask task control
  classes/package.bbclass: Add fixup_perms

Mei Lei (4):
  distrodata.bbclass: Get the extend recipe's information from non bbextended 
  curl: Upgrade from 7.21.6 to 7.21.7
  coreutils: Upgrade 

[OE-core] [PATCH 1/3] insane.bbclass: allow dev-deps to be skipped via INSANE_SKIP

2011-07-07 Thread Paul Eggleton
Add the missing check in package_qa_check_rdepends to allow dependencies
from non-development packages on development packages to be skipped.

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta/classes/insane.bbclass |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index c1db1ca..1cf7014 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -443,7 +443,7 @@ def package_qa_check_rdepends(pkg, pkgdest, skip, d):
 if -dbg in rdepend and debug-deps not in skip:
 error_msg = %s rdepends on %s % (pkgname,rdepend)
 sane = package_qa_handle_error(debug-deps, error_msg, d)
-if (not -dev in pkg and not -staticdev in pkg) and 
rdepend.endswith(-dev):
+if (not -dev in pkg and not -staticdev in pkg) and 
rdepend.endswith(-dev) and dev-deps not in skip:
 error_msg = %s rdepends on %s % (pkgname, rdepend)
 sane = package_qa_handle_error(dev-deps, error_msg, d)
 
-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/3] QA warning fixes

2011-07-07 Thread Paul Eggleton
I found a couple of issues with the recent insane.bbclass changes. The
following patches fix them as well as add a warning fix for something I
noticed when building a kernel with LIRC support.

The following changes since commit f1fc6d084b079dea21ff1a30b815496452042490:

  pulseaudio: add 0.9.23 (2011-07-07 13:44:36 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib paule/qa-dev-deps
  
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/qa-dev-deps

Paul Eggleton (3):
  insane.bbclass: allow dev-deps to be skipped via INSANE_SKIP
  insane.bbclass: fix error/warning status being inverted
  kernel.bbclass: prevent QA warning about kernel-module-lirc-dev

 meta/classes/insane.bbclass |6 +++---
 meta/classes/kernel.bbclass |4 
 2 files changed, 7 insertions(+), 3 deletions(-)

-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 3/3] kernel.bbclass: prevent QA warning about kernel-module-lirc-dev

2011-07-07 Thread Andreas Mueller
On Thursday, July 07, 2011 07:32:48 PM Paul Eggleton wrote:
 kernel-module-lirc-dev is not a development package (it's a package for
 a kernel module called lirc_dev) so add an INSANE_SKIP that will prevent
 it from being flagged up.
 
 Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
 ---
  meta/classes/kernel.bbclass |4 
  1 files changed, 4 insertions(+), 0 deletions(-)
 
 diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
 index 943252a..318f5c2 100644
 --- a/meta/classes/kernel.bbclass
 +++ b/meta/classes/kernel.bbclass
 @@ -503,3 +503,7 @@ PACKAGES =+ perf-dbg perf
  FILES_perf = ${bindir}/* \
${libexecdir}
  FILES_perf-dbg = ${FILES_${PN}-dbg}
 +
 +# We don't want a warning for kernel-module-lirc-dev
 +INSANE_SKIP_kernel-module-ir-lirc-codec += dev-deps
 +
I just received

| WARNING: QA Issue: kernel-modules rdepends on kernel-module-i2c-dev

So I think a better solution is reworking commit 
2e06a1a843756e9d50291c4533b10096af2d852b e.g. by excluding all kernel *modules* 
from *dev check. 

Andreas

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 3/3] kernel.bbclass: prevent QA warning about kernel-module-lirc-dev

2011-07-07 Thread Phil Blundell
On Thu, 2011-07-07 at 21:08 +0200, Andreas Mueller wrote:
 So I think a better solution is reworking commit 
 2e06a1a843756e9d50291c4533b10096af2d852b e.g. by excluding all kernel 
 *modules* 
 from *dev check. 

Yeah, or try to be smarter about determining what exactly is a dev
package, e.g. by some sort of flag variable rather than by trying to
guess from the name.

p.



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/7] eglibc: fix installed but not packaged files

2011-07-07 Thread nitin . a . kamble
From: Nitin A Kamble nitin.a.kam...@intel.com

Fixes these package QA warnings:

WARNING: For recipe eglibc, the following files were installed but not shipped 
in any package:
WARNING:   /etc/rpc
WARNING:   /etc/localtime

Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com
---
 meta/recipes-core/eglibc/eglibc-package.inc |6 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb |2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-package.inc 
b/meta/recipes-core/eglibc/eglibc-package.inc
index 1c6626c..feb3a98 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -53,7 +53,7 @@ RPROVIDES_eglibc-pcprofile = glibc-pcprofile
 RPROVIDES_eglibc-dbg = glibc-dbg
 libc_baselibs = ${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so 
${base_libdir}/libc.so.* ${base_libdir}/libc-*.so ${base_libdir}/libm*.so.* 
${base_libdir}/libm-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so 
${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so 
${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so 
${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so 
${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so 
${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so 
${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so 
${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so 
${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so 
${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so 
${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so 
${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so
 
-FILES_${PN} = ${libc_baselibs} ${libexecdir}/* 
${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig 
${sysconfdir}/ld.so.conf', '', d)}
+FILES_${PN} = ${libc_baselibs} ${libexecdir}/* ${sysconfdir}/rpc 
${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig 
${sysconfdir}/ld.so.conf', '', d)}
 FILES_ldd${PKGSUFFIX} = ${bindir}/ldd
 FILES_libsegfault${PKGSUFFIX} = ${base_libdir}/libSegFault*
 FILES_libcidn = ${base_libdir}/libcidn-*.so ${base_libdir}/libcidn.so.*
@@ -88,6 +88,10 @@ DESCRIPTION_libsotruss = Library to support sotruss which 
traces calls through
 
 inherit libc-common
 
+do_install_append () {
+   rm -f ${D}${sysconfdir}/localtime
+}
+
 do_install_locale () {
dest=${D}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}
install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} 
${dest}${datadir}
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb 
b/meta/recipes-core/eglibc/eglibc_2.13.bb
index 7986131..be65787 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -4,7 +4,7 @@ SRCREV = 14157
 
 DEPENDS += gperf-native
 FILESPATHPKG =. eglibc-svn:
-PR = r5
+PR = r6
 PR_append = +svnr${SRCPV}
 
 EGLIBC_BRANCH=eglibc-2_13
-- 
1.7.4.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/7] binutils: package unpackaged files

2011-07-07 Thread nitin . a . kamble
From: Nitin A Kamble nitin.a.kam...@intel.com

To fix these package qa warnings
WARNING: For recipe binutils, the following files were installed but not 
shipped in any package:
WARNING:   /usr/bin/ld.bfd
WARNING:   /usr/bin/elfedit

Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com
---
 .../binutils/binutils-cross-canadian_2.21.1.bb |2 +-
 .../binutils/binutils-crosssdk_2.21.1.bb   |2 +-
 meta/recipes-devtools/binutils/binutils.inc|2 ++
 meta/recipes-devtools/binutils/binutils_2.21.1.bb  |2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1.bb 
b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1.bb
index 7dad2a6..e91e7dc 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.1.bb
@@ -1,3 +1,3 @@
 require binutils_${PV}.bb
 require binutils-cross-canadian.inc
-PR = r0
+PR = r1
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1.bb 
b/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1.bb
index 0d6efff..21289cd 100644
--- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1.bb
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.1.bb
@@ -4,7 +4,7 @@ inherit crosssdk
 
 PROVIDES = virtual/${TARGET_PREFIX}binutils-crosssdk
 
-PR = r0
+PR = r1
 
 do_configure_prepend () {
sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib 
${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
diff --git a/meta/recipes-devtools/binutils/binutils.inc 
b/meta/recipes-devtools/binutils/binutils.inc
index 08c14b2..9a6b9c8 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -35,11 +35,13 @@ FILES_${PN}-symlinks =  \
${bindir}/c++filt \
${bindir}/gprof \
${bindir}/ld \
+   ${bindir}/ld.bfd \
${bindir}/nm \
${bindir}/objcopy \
${bindir}/objdump \
${bindir}/ranlib \
${bindir}/readelf \
+   ${bindir}/elfedit \
${bindir}/size \
${bindir}/strip
 
diff --git a/meta/recipes-devtools/binutils/binutils_2.21.1.bb 
b/meta/recipes-devtools/binutils/binutils_2.21.1.bb
index 368ec4a..4eb6566 100644
--- a/meta/recipes-devtools/binutils/binutils_2.21.1.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.21.1.bb
@@ -1,6 +1,6 @@
 require binutils.inc
 
-PR = r0
+PR = r1
 
 LIC_FILES_CHKSUM=\
 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
-- 
1.7.4.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 6/7] gcc-runtime: fix installed but unpackaged files

2011-07-07 Thread nitin . a . kamble
From: Nitin A Kamble nitin.a.kam...@intel.com

gcc recipes has changed, currently ${PV} is 4.6 and ${BINV} is 4.6.1 version.

Fix these QA warnings.
WARNING: For recipe gcc-runtime, the following files were installed but not 
shipped in any package:
WARNING:   /usr/share/gcc-4.6.1/python/libstdcxx/__init__.py
WARNING:   /usr/share/gcc-4.6.1/python/libstdcxx/v6/__init__.py
WARNING:   /usr/share/gcc-4.6.1/python/libstdcxx/v6/printers.py

Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com
---
 meta/recipes-devtools/gcc/gcc-package-runtime.inc |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-package-runtime.inc 
b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
index 51483f9..7ac68f2 100644
--- a/meta/recipes-devtools/gcc/gcc-package-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
@@ -18,7 +18,7 @@ RRECOMMENDS_${PN}-dbg = 
 # include python debugging scripts
 FILES_${PN}-dbg += \
   ${libdir}/libstdc++.so.*-gdb.py \
-  ${datadir}/gcc-${PV}/python/libstdcxx
+  ${datadir}/gcc-${BINV}/python/libstdcxx
 
 FILES_libg2c = ${target_libdir}/libg2c.so.*
 FILES_libg2c-dev = \
-- 
1.7.4.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/7] distro tracking: update devel.toolchain recipes's fields

2011-07-07 Thread nitin . a . kamble
From: Nitin A Kamble nitin.a.kam...@intel.com

Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com
---
 .../conf/distro/include/distro_tracking_fields.inc |   33 +++
 1 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/meta/conf/distro/include/distro_tracking_fields.inc 
b/meta/conf/distro/include/distro_tracking_fields.inc
index 1c251b9..a97a408 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -2862,8 +2862,9 @@ RECIPE_LAST_UPDATE_pn-sysprof = Dec 8, 2010
 RECIPE_MAINTAINER_pn-sysprof = Tom Zanussi tom.zanu...@intel.com
 
 RECIPE_STATUS_pn-binutils=green
-RECIPE_LATEST_VERSION_pn-binutils=2.20.1
-RECIPE_LAST_UPDATE_pn-binutils = Jun 3, 2010
+RECIPE_LATEST_VERSION_pn-binutils=2.21.1
+RECIPE_LAST_UPDATE_pn-binutils = Jul 06, 2011
+RECIPE_MANUAL_CHECK_DATE_pn-binutils = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-binutils = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-ldconfig-native = red
@@ -2871,9 +2872,9 @@ RECIPE_LAST_UPDATE_pn-ldconfig-native = Nov 23, 2007
 DISTRO_PN_ALIAS_pn-ldconfig-native = Ubuntu=libc-bin Fedora=glibc
 
 RECIPE_STATUS_pn-gcc=red 
-RECIPE_LATEST_VERSION_pn-gcc=4.5.2
-RECIPE_LATEST_RELEASE_DATE_pn-gcc=2010/03/03
-RECIPE_LAST_UPDATE_pn-gcc = Nov 8, 2010
+RECIPE_LATEST_VERSION_pn-gcc=4.6.1
+RECIPE_LAST_UPDATE_pn-gcc = May 1, 2011
+RECIPE_MANUAL_CHECK_DATE_pn-gcc = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-gcc = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-autoconf=red 
@@ -2885,6 +2886,7 @@ RECIPE_MAINTAINER_pn-autoconf = Nitin A Kamble 
nitin.a.kam...@intel.com
 RECIPE_STATUS_pn-automake=green 
 RECIPE_LATEST_VERSION_pn-automake=1.11.1
 RECIPE_LAST_UPDATE_pn-automake = Jan 29, 2010
+RECIPE_MANUAL_CHECK_DATE_pn-automake = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-automake = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-bison=green 
@@ -2911,13 +2913,13 @@ RECIPE_STATUS_pn-fstests=green
 RECIPE_LATEST_VERSION_pn-fstests=0.0+svnr426
 DISTRO_PN_ALIAS_pn-fstests = OpenedHand
 RECIPE_LAST_UPDATE_pn-fstests = Dec 7, 2010
-RECIPE_MANUAL_CHECK_DATE_pn-fstests = Apr 7, 2011 
+RECIPE_MANUAL_CHECK_DATE_pn-fstests = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-fstests = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-gdb=green 
 RECIPE_LATEST_VERSION_pn-gdb=7.2
 RECIPE_LAST_UPDATE_pn-gdb = Nov 8, 2010
-RECIPE_MANUAL_CHECK_DATE_pn-gdb = Apr 7, 2011 
+RECIPE_MANUAL_CHECK_DATE_pn-gdb = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-gdb = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-intltool=green 
@@ -2928,6 +2930,7 @@ RECIPE_MAINTAINER_pn-intltool = Nitin A Kamble 
nitin.a.kam...@intel.com
 RECIPE_STATUS_pn-libtool=green 
 RECIPE_LATEST_VERSION_pn-libtool=2.4
 RECIPE_LAST_UPDATE_pn-libtool = Nov 8, 2010
+RECIPE_MANUAL_CHECK_DATE_pn-libtool = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-libtool = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-linux-libc-headers=green 
@@ -2938,7 +2941,7 @@ RECIPE_MAINTAINER_pn-linux-libc-headers = Nitin A Kamble 
nitin.a.kamble@intel.
 RECIPE_STATUS_pn-lsof=green 
 RECIPE_LATEST_VERSION_pn-lsof=4.84
 RECIPE_LAST_UPDATE_pn-lsof = Nov 8, 2010
-RECIPE_MANUAL_CHECK_DATE_pn-lsof = May 23, 2011 
+RECIPE_MANUAL_CHECK_DATE_pn-lsof = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-lsof = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-make=green 
@@ -2953,7 +2956,7 @@ RECIPE_MAINTAINER_pn-postinsts = Nitin A Kamble 
nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-nasm=green 
 RECIPE_LATEST_VERSION_pn-nasm=2.07
-RECIPE_MANUAL_CHECK_DATE_pn-nasm = Apr 7, 2011 
+RECIPE_MANUAL_CHECK_DATE_pn-nasm = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-nasm = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-perl=red # upgrade needed
@@ -3035,17 +3038,18 @@ RECIPE_STATUS_pn-gnu-config=green
 RECIPE_LATEST_VERSION_pn-gnu-config=0.0+git3155524
 DISTRO_PN_ALIAS_pn-gnu-config = OpenedHand
 RECIPE_LAST_UPDATE_pn-gnu-config = Jun 21, 2010
-RECIPE_MANUAL_CHECK_DATE_pn-gnu-config = May 23, 2011 
+RECIPE_MANUAL_CHECK_DATE_pn-gnu-config = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-gnu-config = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-mpfr=green
 RECIPE_LATEST_VERSION_pn-mpfr=3.0.0
-RECIPE_MANUAL_CHECK_DATE_pn-mpfr = Apr 7, 2011 
+RECIPE_MANUAL_CHECK_DATE_pn-mpfr = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-mpfr = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-gmp=green
-RECIPE_LATEST_VERSION_pn-gmp=5.0.1
-RECIPE_LAST_UPDATE_pn-gmp = Aug 27, 2010
+RECIPE_LATEST_VERSION_pn-gmp=5.0.2
+RECIPE_LAST_UPDATE_pn-gmp = Jul 06, 2011
+RECIPE_MANUAL_CHECK_DATE_pn-gmp = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-gmp = Nitin A Kamble nitin.a.kam...@intel.com
 
 RECIPE_STATUS_pn-libmpc=green
@@ -3056,6 +3060,7 @@ DISTRO_PN_ALIAS_pn-libmpc = Fedora=libmpc 
OpenSuse=libmpc2
 
 RECIPE_STATUS_pn-byacc=red 
 RECIPE_LATEST_VERSION_pn-byacc=20101229
+RECIPE_MANUAL_CHECK_DATE_pn-byacc = Jul 06, 2011 
 RECIPE_MAINTAINER_pn-byacc = Nitin A Kamble nitin.a.kam...@intel.com
 
 

[OE-core] [PATCH 7/7] elfutils: fix compilations issue with the gcc 4.7

2011-07-07 Thread nitin . a . kamble
From: Nitin A Kamble nitin.a.kam...@intel.com

Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com
---
 .../{elfutils-0.148 = elfutils}/arm_backend.diff  |0
 .../do-autoreconf.diff |0
 .../elf_additions.diff |0
 .../elfutils-fsize.patch   |0
 .../elfutils/elfutils/fix_for_gcc-4.7.patch|   73 
 .../{elfutils-0.148 = elfutils}/hppa_backend.diff |0
 .../{elfutils-0.148 = elfutils}/i386_dis.h|0
 .../{elfutils-0.148 = elfutils}/m68k_backend.diff |0
 .../{elfutils-0.148 = elfutils}/mempcpy.patch |0
 .../{elfutils-0.148 = elfutils}/mips_backend.diff |0
 .../redhat-portability.diff|0
 .../redhat-robustify.diff  |0
 .../remove-unused.patch|0
 .../testsuite-ignore-elflint.diff  |0
 .../uclibc-support.patch   |0
 .../{elfutils-0.148 = elfutils}/x86_64_dis.h  |0
 meta/recipes-devtools/elfutils/elfutils_0.148.bb   |3 +-
 17 files changed, 75 insertions(+), 1 deletions(-)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/arm_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/do-autoreconf.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/elf_additions.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/elfutils-fsize.patch (100%)
 create mode 100644 
meta/recipes-devtools/elfutils/elfutils/fix_for_gcc-4.7.patch
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/hppa_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = elfutils}/i386_dis.h 
(100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/m68k_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/mempcpy.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/mips_backend.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/redhat-portability.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/redhat-robustify.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/remove-unused.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/testsuite-ignore-elflint.diff (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/uclibc-support.patch (100%)
 rename meta/recipes-devtools/elfutils/{elfutils-0.148 = 
elfutils}/x86_64_dis.h (100%)

diff --git a/meta/recipes-devtools/elfutils/elfutils-0.148/arm_backend.diff 
b/meta/recipes-devtools/elfutils/elfutils/arm_backend.diff
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.148/arm_backend.diff
rename to meta/recipes-devtools/elfutils/elfutils/arm_backend.diff
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.148/do-autoreconf.diff 
b/meta/recipes-devtools/elfutils/elfutils/do-autoreconf.diff
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.148/do-autoreconf.diff
rename to meta/recipes-devtools/elfutils/elfutils/do-autoreconf.diff
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.148/elf_additions.diff 
b/meta/recipes-devtools/elfutils/elfutils/elf_additions.diff
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.148/elf_additions.diff
rename to meta/recipes-devtools/elfutils/elfutils/elf_additions.diff
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.148/elfutils-fsize.patch 
b/meta/recipes-devtools/elfutils/elfutils/elfutils-fsize.patch
similarity index 100%
rename from meta/recipes-devtools/elfutils/elfutils-0.148/elfutils-fsize.patch
rename to meta/recipes-devtools/elfutils/elfutils/elfutils-fsize.patch
diff --git a/meta/recipes-devtools/elfutils/elfutils/fix_for_gcc-4.7.patch 
b/meta/recipes-devtools/elfutils/elfutils/fix_for_gcc-4.7.patch
new file mode 100644
index 000..bd22eef
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/elfutils/fix_for_gcc-4.7.patch
@@ -0,0 +1,73 @@
+UpstreamStatus: pending
+gcc 4.7 does not like pointer conversion, so have a void * tmp var to work 
+around following compilation issue.
+
+Signed-Off-By: Nitin A Kamble nitin.a.kam...@intel.com
+2011/07/07
+
+| md5.c: In function 'md5_finish_ctx':
+| md5.c:108:3: error: dereferencing type-punned pointer will break 
strict-aliasing rules [-Werror=strict-aliasing]
+| md5.c:109:3: error: dereferencing type-punned pointer will break 
strict-aliasing rules [-Werror=strict-aliasing]
+| cc1: all warnings being treated as errors
+| 
+| make[2]: *** [md5.o] Error 1
+| make[2]: *** Waiting for unfinished jobs
+| sha1.c: In function 'sha1_finish_ctx':
+| sha1.c:109:3: error: dereferencing type-punned pointer will break 
strict-aliasing rules [-Werror=strict-aliasing]
+| sha1.c:111:3: error: dereferencing 

Re: [OE-core] [PATCH 5/7] eglibc: fix installed but not packaged files

2011-07-07 Thread Phil Blundell
On Thu, 2011-07-07 at 13:25 -0700, nitin.a.kam...@intel.com wrote:
 -FILES_${PN} = ${libc_baselibs} ${libexecdir}/* 
 ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig 
 ${sysconfdir}/ld.so.conf', '', d)}
 +FILES_${PN} = ${libc_baselibs} ${libexecdir}/* ${sysconfdir}/rpc 
 ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig 
 ${sysconfdir}/ld.so.conf', '', d)}

I don't think we want /etc/rpc in libc6, it's just a waste of space if
you aren't using sunrpc.  Nobody has missed it thus far so I would be
inclined to delete it, but it could go in a package of its own if there
is a feeling that it's valuable.

p.



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/7] binutils: upgrade from 2.21 to 2.21.1

2011-07-07 Thread Khem Raj
On Thu, Jul 7, 2011 at 1:25 PM,  nitin.a.kam...@intel.com wrote:
 From: Nitin A Kamble nitin.a.kam...@intel.com

 Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com
 ---
  ...n_2.21.bb = binutils-cross-canadian_2.21.1.bb} |    0
  ...tils-cross_2.21.bb = binutils-cross_2.21.1.bb} |    0
  ...rosssdk_2.21.bb = binutils-crosssdk_2.21.1.bb} |    0
  .../110-arm-eabi-conf.patch                        |    0
  .../binutils-2.19.1-ld-sysroot.patch               |    0
  .../binutils-poison.patch                          |    0
  .../binutils-pr12366.patch                         |    0
  .../binutils-uclibc-100-uclibc-conf.patch          |    0
  ...binutils-uclibc-300-001_ld_makefile_patch.patch |    0
  ...binutils-uclibc-300-006_better_file_error.patch |    0
  ...ils-uclibc-300-012_check_ldrunpath_length.patch |    0
  .../binutils-uclibc-gas-needs-libm.patch           |    0
  .../binutils-x86_64_i386_biarch.patch              |    0
  .../libiberty_path_fix.patch                       |    0
  .../libtool-2.4-update.patch                       | 1725 
 ++--
  .../libtool-rpath-fix.patch                        |    0
  .../{binutils_2.21.bb = binutils_2.21.1.bb}       |    7 +-
  17 files changed, 871 insertions(+), 861 deletions(-)
  rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.21.bb = 
 binutils-cross-canadian_2.21.1.bb} (100%)
  rename meta/recipes-devtools/binutils/{binutils-cross_2.21.bb = 
 binutils-cross_2.21.1.bb} (100%)
  rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.21.bb = 
 binutils-crosssdk_2.21.1.bb} (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/110-arm-eabi-conf.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-2.19.1-ld-sysroot.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-poison.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-pr12366.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-100-uclibc-conf.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-300-001_ld_makefile_patch.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-300-006_better_file_error.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-300-012_check_ldrunpath_length.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-gas-needs-libm.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-x86_64_i386_biarch.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/libiberty_path_fix.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/libtool-2.4-update.patch (94%)
  rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/libtool-rpath-fix.patch (100%)
  rename meta/recipes-devtools/binutils/{binutils_2.21.bb = 
 binutils_2.21.1.bb} (87%)


How about changing the recipe to fetch from binutils-2_21-branch and
call it binutils 2.21 as it is

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/1] [bug 1195] site/mips-common: Cache cvs_cv_func_printf_ptr

2011-07-07 Thread Jessica Zhang
From: Khem Raj raj.k...@gmail.com

Signed-off-by: Jessica Zhang jessica.zh...@intel.com
---
 meta/site/mips-common |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/site/mips-common b/meta/site/mips-common
index 6408baa..bbfc779 100644
--- a/meta/site/mips-common
+++ b/meta/site/mips-common
@@ -1,6 +1,9 @@
 ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
 ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
 
+# cvs
+cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
+
 # screen
 screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
 screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
-- 
1.7.0.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] image_types.bbclass: support xz compressed initramfs.cpio and tarballs

2011-07-07 Thread Andrea Adami
* from org.openembedded.dev (oe-classic)

Signed-off-by: Andrea Adami andrea.ad...@gmail.com
---
 meta/classes/image_types.bbclass |   13 +
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 8c86227..2b0c589 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -20,6 +20,10 @@ runimagecmd () {
ln -s ${IMAGE_NAME}.rootfs.${type} 
${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.${type}
 }
 
+
+XZ_COMPRESSION_LEVEL ?= -e -9
+XZ_INTEGRITY_CHECK ?= crc32
+
 IMAGE_CMD_jffs2 = mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime 
--output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}
 
 IMAGE_CMD_cramfs = mkcramfs ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}
@@ -55,8 +59,13 @@ IMAGE_CMD_squashfs-lzma = mksquashfs-lzma ${IMAGE_ROOTFS} 
${DEPLOY_DIR_IMAGE}/$
 IMAGE_CMD_tar = cd ${IMAGE_ROOTFS}  tar -cvf 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar .
 IMAGE_CMD_tar.gz = cd ${IMAGE_ROOTFS}  tar -zcvf 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.gz .
 IMAGE_CMD_tar.bz2 = cd ${IMAGE_ROOTFS}  tar -jcvf 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 .
+IMAGE_CMD_tar.xz = cd ${IMAGE_ROOTFS}  tar --xz -cvf 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.xz .
 IMAGE_CMD_cpio = cd ${IMAGE_ROOTFS}  (find . | cpio -o -H newc 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio)
 IMAGE_CMD_cpio.gz = cd ${IMAGE_ROOTFS}  (find . | cpio -o -H newc | gzip -c 
-9 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)
+IMAGE_CMD_cpio.xz = type cpio /dev/null; cd ${IMAGE_ROOTFS}  (find . | 
cpio -o -H newc | xz -c ${XZ_COMPRESSION_LEVEL} --check=${XZ_INTEGRITY_CHECK}  
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.xz) ${EXTRA_IMAGECMD}
+IMAGE_CMD_cpio.gz.u-boot = type cpio /dev/null; cd ${IMAGE_ROOTFS}  (find 
. | cpio -o -H newc | gzip -c -9 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz) ${EXTRA_IMAGECMD}; mkimage 
-A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} -d 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz.u-boot
+IMAGE_CMD_cpio.lzma = type cpio /dev/null; cd ${IMAGE_ROOTFS}  (find . | 
cpio -o -H newc | xz --format=lzma -c ${XZ_COMPRESSION_LEVEL} 
--check=${XZ_INTEGRITY_CHECK} 
${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.lzma) ${EXTRA_IMAGECMD}
+
 IMAGE_CMD_ubi () {
echo \[ubifs\]  ubinize.cfg 
echo mode=ubi  ubinize.cfg
@@ -88,6 +97,10 @@ IMAGE_DEPENDS_ext3.gz = genext2fs-native e2fsprogs-native
 IMAGE_DEPENDS_btrfs = btrfs-tools-native
 IMAGE_DEPENDS_squashfs = squashfs-tools-native
 IMAGE_DEPENDS_squashfs-lzma = squashfs-lzma-tools-native
+IMAGE_DEPENDS_tar.xz = tar-native xz-native
+IMAGE_DEPENDS_cpio.gz.u-boot = u-boot-mkimage-native
+IMAGE_DEPENDS_cpio.lzma = xz-native
+IMAGE_DEPENDS_cpio.xz = xz-native
 IMAGE_DEPENDS_ubi = mtd-utils-native
 IMAGE_DEPENDS_ubifs = mtd-utils-native
 
-- 
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/7] binutils: upgrade from 2.21 to 2.21.1

2011-07-07 Thread Richard Purdie
On Thu, 2011-07-07 at 14:39 -0700, Khem Raj wrote:
 On Thu, Jul 7, 2011 at 1:25 PM,  nitin.a.kam...@intel.com wrote:
  From: Nitin A Kamble nitin.a.kam...@intel.com
 
  Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com
  ---
   ...n_2.21.bb = binutils-cross-canadian_2.21.1.bb} |0
   ...tils-cross_2.21.bb = binutils-cross_2.21.1.bb} |0
   ...rosssdk_2.21.bb = binutils-crosssdk_2.21.1.bb} |0
   .../110-arm-eabi-conf.patch|0
   .../binutils-2.19.1-ld-sysroot.patch   |0
   .../binutils-poison.patch  |0
   .../binutils-pr12366.patch |0
   .../binutils-uclibc-100-uclibc-conf.patch  |0
   ...binutils-uclibc-300-001_ld_makefile_patch.patch |0
   ...binutils-uclibc-300-006_better_file_error.patch |0
   ...ils-uclibc-300-012_check_ldrunpath_length.patch |0
   .../binutils-uclibc-gas-needs-libm.patch   |0
   .../binutils-x86_64_i386_biarch.patch  |0
   .../libiberty_path_fix.patch   |0
   .../libtool-2.4-update.patch   | 1725 
  ++--
   .../libtool-rpath-fix.patch|0
   .../{binutils_2.21.bb = binutils_2.21.1.bb}   |7 +-
   17 files changed, 871 insertions(+), 861 deletions(-)
   rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.21.bb = 
  binutils-cross-canadian_2.21.1.bb} (100%)
   rename meta/recipes-devtools/binutils/{binutils-cross_2.21.bb = 
  binutils-cross_2.21.1.bb} (100%)
   rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.21.bb = 
  binutils-crosssdk_2.21.1.bb} (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/110-arm-eabi-conf.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-2.19.1-ld-sysroot.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-poison.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-pr12366.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-uclibc-100-uclibc-conf.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-uclibc-300-001_ld_makefile_patch.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-uclibc-300-006_better_file_error.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-uclibc-300-012_check_ldrunpath_length.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-uclibc-gas-needs-libm.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/binutils-x86_64_i386_biarch.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/libiberty_path_fix.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/libtool-2.4-update.patch (94%)
   rename meta/recipes-devtools/binutils/{binutils-2.21 = 
  binutils}/libtool-rpath-fix.patch (100%)
   rename meta/recipes-devtools/binutils/{binutils_2.21.bb = 
  binutils_2.21.1.bb} (87%)
 
 
 How about changing the recipe to fetch from binutils-2_21-branch and
 call it binutils 2.21 as it is

I don't really see the benefits in fetching this from the SCM?

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/8] python: fix for libdir=/usr/lib64 case

2011-07-07 Thread Richard Purdie
On Thu, 2011-07-07 at 22:10 +0800, Yu Ke wrote:
 python has several place hard code lib which breaks build
 when libdir=/usr/lib64. SUSE has a patch to fix this issue.
 
 So this patch add the SUSE patch to address this issue
 
 Signed-off-by: Yu Ke ke...@intel.com
[...]
 ++AC_SUBST(LIB)
 ++AC_MSG_CHECKING(LIB)
 ++case $ac_sys_system in
 ++Linux*)
 ++  # Test if the compiler is 64bit
 ++  echo 'int i;'  conftest.$ac_ext
 ++  python_cv_cc_64bit_output=no
 ++  if AC_TRY_EVAL(ac_compile); then
 ++case `/usr/bin/file conftest.$ac_objext` in
 ++*ELF 64*)
 ++  python_cv_cc_64bit_output=yes
 ++  ;;
 ++esac
 ++  fi
 ++  rm -rf conftest*
 ++  ;;
 ++esac
 ++
 ++case $ARCH:$python_cv_cc_64bit_output in
 ++ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
 ++  LIB=lib64
 ++  ;;
 ++*:*)
 ++  LIB=lib
 ++  ;;
 ++esac
 ++AC_MSG_RESULT($LIB)
 + 

This patch is good apart from this bit. I think we need to be able to
pass in our own string to use here which we derive from the libdir
variable...

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/8] image.bbclass: add LINGUAS_INSTALL to depends list

2011-07-07 Thread Saul Wold
[YOCTO #1215]

Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/classes/image.bbclass |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 1768a0b..edfb2d6 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -5,7 +5,7 @@ inherit imagetest-${IMAGETEST}
 
 LICENSE = MIT
 PACKAGES = 
-RDEPENDS += ${IMAGE_INSTALL}
+RDEPENDS += ${IMAGE_INSTALL} ${LINGUAS_INSTALL}
 
 INHIBIT_DEFAULT_DEPS = 1
 
-- 
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/8] Bug Fixes for M2 Rc2

2011-07-07 Thread Saul Wold
Richard,

This address the bash, xcb missing from libx11, locale issue and
the lack of space due to zypper eating space.

Sau!


The following changes since commit f1fc6d084b079dea21ff1a30b815496452042490:

  pulseaudio: add 0.9.23 (2011-07-07 13:44:36 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib sgw/fix
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/fix

Saul Wold (8):
  rootfs_rpm: Add 50Meg to image size for zypper
  image.bbclass: add LINGUAS_INSTALL to depends list
  gnome-doc-utils: Add RDEPENDS on bash
  quilt: Add RDEPENDS on bash
  console-tools: Add RDEPENDS on bash
  usbutils: Add RDEPENDS on bash
  eglibc: Add RDEPENDS on bash
  libx11: enable xcb support

 meta/classes/image.bbclass |2 +-
 meta/classes/image_types.bbclass   |2 +-
 meta/classes/rootfs_rpm.bbclass|5 +
 meta/recipes-bsp/usbutils/usbutils_0.91.bb |5 +++--
 .../console-tools/console-tools_0.3.2.bb   |3 ++-
 meta/recipes-core/eglibc/eglibc-package.inc|2 +-
 meta/recipes-core/eglibc/eglibc.inc|2 +-
 meta/recipes-core/eglibc/eglibc_2.12.bb|2 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb|2 +-
 meta/recipes-devtools/quilt/quilt.inc  |2 ++
 meta/recipes-devtools/quilt/quilt_0.48.bb  |2 +-
 meta/recipes-gnome/gnome/gnome-doc-utils.inc   |2 ++
 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb |2 +-
 meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb |   11 ---
 14 files changed, 30 insertions(+), 14 deletions(-)

-- 
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 3/8] gnome-doc-utils: Add RDEPENDS on bash

2011-07-07 Thread Saul Wold
[YOCTO #1214]

Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/recipes-gnome/gnome/gnome-doc-utils.inc   |2 ++
 meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb |2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc 
b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 32fcf7a..7f1ab83 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -15,4 +15,6 @@ do_install_append() {
 
 FILES_${PN} += ${datadir}/xml*
 
+RDEPENDS_${PN} = bash
+
 BBCLASSEXTEND = native
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb 
b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
index d85697f..0019f45 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb
@@ -1,7 +1,7 @@
 require gnome-doc-utils.inc
 LIC_FILES_CHKSUM = file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \
file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343
-PR = r1
+PR = r2
 
 SRC_URI += file://xsltproc_nonet.patch
 
-- 
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/8] quilt: Add RDEPENDS on bash

2011-07-07 Thread Saul Wold
[YOCTO #1214]

Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/recipes-devtools/quilt/quilt.inc |2 ++
 meta/recipes-devtools/quilt/quilt_0.48.bb |2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/quilt/quilt.inc 
b/meta/recipes-devtools/quilt/quilt.inc
index 4542511..3a66093 100644
--- a/meta/recipes-devtools/quilt/quilt.inc
+++ b/meta/recipes-devtools/quilt/quilt.inc
@@ -17,6 +17,8 @@ FILES_guards = ${bindir}/guards
 FILES_${PN}-doc = ${mandir}/man1/quilt.1 ${docdir}/${P}
 FILES_guards-doc = ${mandir}/man1/guards.1
 
+RDEPENDS_${PN} = bash
+
 # quilt ignores DESTDIR
 do_install () {
oe_runmake 'BUILD_ROOT=${D}' install
diff --git a/meta/recipes-devtools/quilt/quilt_0.48.bb 
b/meta/recipes-devtools/quilt/quilt_0.48.bb
index 124e2cd..1600c62 100644
--- a/meta/recipes-devtools/quilt/quilt_0.48.bb
+++ b/meta/recipes-devtools/quilt/quilt_0.48.bb
@@ -2,7 +2,7 @@ require quilt.inc
 LICENSE=GPLv2
 LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f
 RDEPENDS_${PN} += patch diffstat bzip2 util-linux
-PR = r1
+PR = r2
 SRC_URI += file://aclocal.patch \
 file://gnu_patch_test_fix_target.patch \

-- 
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/8] rootfs_rpm: Add 50Meg to image size for zypper

2011-07-07 Thread Saul Wold
[YOCTO #1171]

Add /var space for zypper due to its space usage for db maintence

Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/classes/image_types.bbclass |2 +-
 meta/classes/rootfs_rpm.bbclass  |5 +
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 8c86227..505342d 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -13,7 +13,7 @@ def get_imagecmds(d):
 
 runimagecmd () {
# Image generation code for image type ${type}
-   ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = $1 * 
${IMAGE_OVERHEAD_FACTOR} + ${IMAGE_ROOTFS_EXTRA_SPACE}; OFMT = %.0f ; print 
(size  ${IMAGE_ROOTFS_SIZE} ? size : ${IMAGE_ROOTFS_SIZE}) }'`
+   ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = $1 * 
${IMAGE_OVERHEAD_FACTOR} + ${IMAGE_ROOTFS_EXTRA_SPACE} + 
${ZYPPER_VAR_DB_SPACE}; OFMT = %.0f ; print (size  ${IMAGE_ROOTFS_SIZE} ? 
size : ${IMAGE_ROOTFS_SIZE}) }'`
${cmd}
cd ${DEPLOY_DIR_IMAGE}/
rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.${type}
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 3a11858..67c547f 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -3,6 +3,10 @@
 #
 
 ROOTFS_PKGMANAGE = rpm zypper
+
+# Add 50Meg of extra space for zypper database space
+ZYPPER_VAR_DB_SPACE = 51200
+
 # Postinstalls on device are handled within this class at present
 ROOTFS_PKGMANAGE_BOOTSTRAP = 
 
@@ -101,6 +105,7 @@ EOF
export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
export OPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
 
+
${ROOTFS_POSTINSTALL_COMMAND}
 
mkdir -p ${IMAGE_ROOTFS}/etc/rpm-postinsts/
-- 
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 8/8] libx11: enable xcb support

2011-07-07 Thread Saul Wold
[YOCTO #1196]

Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb |   11 ---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb 
b/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
index 3e046a1..04d4a97 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.3.4.bb
@@ -5,7 +5,7 @@ LICENSE = MIT  MIT-style  BSD
 LIC_FILES_CHKSUM = file://COPYING;md5=bf75bfe4d05068311b5e6862d4b5f2c5
 
 PE = 1
-PR = r1
+PR = r3
 
 SRC_URI += file://x11_disable_makekeys.patch \
 file://nodolt.patch \
@@ -16,8 +16,13 @@ SRC_URI[md5sum] = f65c9c7ecbfb64c19dbd7927160d63fd
 SRC_URI[sha256sum] = 
88d7238ce5f7cd123450567de7a3b56a43556e4ccc45df38b8324147c889a844
 
 DEPENDS += bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
-libxdmcp xf86bigfontproto kbproto inputproto xproto-native
+libxdmcp xf86bigfontproto kbproto inputproto xproto-native libxcb
 
-EXTRA_OECONF += --without-xcb
+DEPENDS_virtclass-native += bigreqsproto-native xproto-native 
xextproto-native xtrans-native libxau-native xcmiscproto-native \
+libxdmcp-native xf86bigfontproto-native kbproto-native 
inputproto-native xproto-native
+
+XCB = --with-xcb
+XCB_virtclass-native = --without-xcb
+EXTRA_OECONF += ${XCB}
 
 BBCLASSEXTEND = native nativesdk
-- 
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 6/8] usbutils: Add RDEPENDS on bash

2011-07-07 Thread Saul Wold
[YOCTO #1214]

Signed-off-by: Saul Wold s...@linux.intel.com
---
 meta/recipes-bsp/usbutils/usbutils_0.91.bb |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-bsp/usbutils/usbutils_0.91.bb 
b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
index 5d605c5..c5420d0 100644
--- a/meta/recipes-bsp/usbutils/usbutils_0.91.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
@@ -7,8 +7,7 @@ LICENSE = GPLv2+
 LIC_FILES_CHKSUM = file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f
 
 DEPENDS = libusb zlib
-RDEPENDS_${PN} = ${PN}-ids
-PR = r1
+PR = r2
 
 SRC_URI = ${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz
 
@@ -26,3 +25,5 @@ do_install_append() {
 PACKAGES += ${PN}-ids
 FILES_${PN} += ${datadir}/pkgconfig
 FILES_${PN}-ids = ${datadir}/usb*
+
+RDEPENDS_${PN} = ${PN}-ids bash
-- 
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 6/8] perl: fix for non /usr/lib libdir case

2011-07-07 Thread Richard Purdie
On Thu, 2011-07-07 at 09:14 -0700, Kamble, Nitin A wrote:
 Hi Ke, 
Is this for multilib ?

Yes, it is.

Cheers,

Richard


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] eglibc: bump PR for OLDEST_KERNEL change

2011-07-07 Thread Paul Eggleton
Bump PR as eglibc should be rebuilt for the new OLDEST_KERNEL value.

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta/recipes-core/eglibc/eglibc_2.12.bb |2 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb 
b/meta/recipes-core/eglibc/eglibc_2.12.bb
index 85d58fa..fd7b485 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -1,7 +1,7 @@
 require eglibc.inc
 
 DEPENDS += gperf-native
-PR = r18
+PR = r19
 
 SRCREV = 14158
 
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb 
b/meta/recipes-core/eglibc/eglibc_2.13.bb
index 7986131..be65787 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -4,7 +4,7 @@ SRCREV = 14157
 
 DEPENDS += gperf-native
 FILESPATHPKG =. eglibc-svn:
-PR = r5
+PR = r6
 PR_append = +svnr${SRCPV}
 
 EGLIBC_BRANCH=eglibc-2_13
-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] bitbake.conf: update OLDEST_KERNEL to 2.6.16

2011-07-07 Thread Paul Eggleton
Since we no longer support 2.4, update this setting to 2.6.16, to line up
with the most accepted setting from OE. (This affects eglibc's kernel
support, and 2.6.16 is the minimum version for glibc 2.9 onwards.)

Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com
---
 meta/conf/bitbake.conf |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index bdaa35d..463991d 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -349,7 +349,7 @@ SDKPATHNATIVE = ${SDKPATH}/sysroots/${SDK_SYS}
 # Kernel info.
 ##
 
-OLDEST_KERNEL = 2.4.0
+OLDEST_KERNEL = 2.6.16
 STAGING_KERNEL_DIR = ${STAGING_DIR_HOST}/kernel
 
 ##
-- 
1.7.4.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/2] kernel.bbclass: handle embedding of initramfs images

2011-07-07 Thread Andrea Adami
Ehm,
some cruft slipped in :/

On Fri, Jul 8, 2011 at 1:11 AM, Andrea Adami andrea.ad...@gmail.com wrote:
 * from org.openembedded.dev (oe-classic)

 Signed-off-by: Andrea Adami andrea.ad...@gmail.com
 ---
  meta/classes/kernel.bbclass |   22 ++
  1 files changed, 22 insertions(+), 0 deletions(-)

 diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
 index 943252a..03b321d 100644
 --- a/meta/classes/kernel.bbclass
 +++ b/meta/classes/kernel.bbclass
 @@ -14,8 +14,20 @@ python __anonymous () {
        depends = bb.data.getVar(DEPENDS, d, 1)
        depends = %s u-boot-mkimage-native % depends
        bb.data.setVar(DEPENDS, depends, d)
 +
 +    image = bb.data.getVar('INITRAMFS_IMAGE', d, True)
 +    if image != '' and image is not None:
 +        bb.data.setVar('INITRAMFS_TASK', '${INITRAMFS_IMAGE}:do_rootfs', d)
 +


 +    machine_kernel_pr = bb.data.getVar('MACHINE_KERNEL_PR', d, True)
 +
 +    if machine_kernel_pr:
 +        bb.data.setVar('PR', machine_kernel_pr, d)

Those bits are extraneous and copied and pasted by mistake.



  }

 +INITRAMFS_IMAGE ?= 
 +INITRAMFS_TASK ?= 
 +
  inherit kernel-arch deploy

  PACKAGES_DYNAMIC += kernel-module-*
 @@ -179,8 +191,18 @@ kernel_do_configure() {
                cp ${WORKDIR}/defconfig ${S}/.config
        fi
         yes '' | oe_runmake oldconfig
 +
 +       if [ ! -z ${INITRAMFS_IMAGE} ]; then

 +               for img in cpio.gz cpio.lzo cpio.lzma; do

We'll have to add cpio.xz as bonus too, being there is support for it
in image_types.bbclass


 +               if [ -e 
 ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img
 +                       cp 
 ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$i
 +               fi
 +               done
 +       fi
  }

 +kernel_do_configure[depends] += ${INITRAMFS_TASK}
 +
  do_menuconfig() {
         export DISPLAY='${DISPLAY}'
         export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}'
 --
 1.7.3.4



If you mind, I'll resend a corrected V2 of the patch

Regards

Andrea

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/7] binutils: upgrade from 2.21 to 2.21.1

2011-07-07 Thread Khem Raj


On Jul 7, 2011, at 4:12 PM, Richard Purdie richard.pur...@linuxfoundation.org 
wrote:

 On Thu, 2011-07-07 at 14:39 -0700, Khem Raj wrote:
 On Thu, Jul 7, 2011 at 1:25 PM,  nitin.a.kam...@intel.com wrote:
 From: Nitin A Kamble nitin.a.kam...@intel.com
 
 Signed-off-by: Nitin A Kamble nitin.a.kam...@intel.com
 ---
 ...n_2.21.bb = binutils-cross-canadian_2.21.1.bb} |0
 ...tils-cross_2.21.bb = binutils-cross_2.21.1.bb} |0
 ...rosssdk_2.21.bb = binutils-crosssdk_2.21.1.bb} |0
 .../110-arm-eabi-conf.patch|0
 .../binutils-2.19.1-ld-sysroot.patch   |0
 .../binutils-poison.patch  |0
 .../binutils-pr12366.patch |0
 .../binutils-uclibc-100-uclibc-conf.patch  |0
 ...binutils-uclibc-300-001_ld_makefile_patch.patch |0
 ...binutils-uclibc-300-006_better_file_error.patch |0
 ...ils-uclibc-300-012_check_ldrunpath_length.patch |0
 .../binutils-uclibc-gas-needs-libm.patch   |0
 .../binutils-x86_64_i386_biarch.patch  |0
 .../libiberty_path_fix.patch   |0
 .../libtool-2.4-update.patch   | 1725 
 ++--
 .../libtool-rpath-fix.patch|0
 .../{binutils_2.21.bb = binutils_2.21.1.bb}   |7 +-
 17 files changed, 871 insertions(+), 861 deletions(-)
 rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.21.bb = 
 binutils-cross-canadian_2.21.1.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-cross_2.21.bb = 
 binutils-cross_2.21.1.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.21.bb = 
 binutils-crosssdk_2.21.1.bb} (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/110-arm-eabi-conf.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-2.19.1-ld-sysroot.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-poison.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-pr12366.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-100-uclibc-conf.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-300-001_ld_makefile_patch.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-300-006_better_file_error.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-300-012_check_ldrunpath_length.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-uclibc-gas-needs-libm.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/binutils-x86_64_i386_biarch.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/libiberty_path_fix.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/libtool-2.4-update.patch (94%)
 rename meta/recipes-devtools/binutils/{binutils-2.21 = 
 binutils}/libtool-rpath-fix.patch (100%)
 rename meta/recipes-devtools/binutils/{binutils_2.21.bb = 
 binutils_2.21.1.bb} (87%)
 
 
 How about changing the recipe to fetch from binutils-2_21-branch and
 call it binutils 2.21 as it is
 
 I don't really see the benefits in fetching this from the SCM?

Not much yes however

Releases happen not so frequently but bug fixes go into the branch and it makes 
it easier to upgrade may be same as adding patches to metadata but we don't 
need to keep them local in metadata

It will match the process we do for other toolchain components



 
 Cheers,
 
 Richard
 
 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 4/8] python: fix for libdir=/usr/lib64 case

2011-07-07 Thread Yu Ke

on 2011-7-8 3:22, Richard Purdie wrote:

On Thu, 2011-07-07 at 22:10 +0800, Yu Ke wrote:

python has several place hard code lib which breaks build
when libdir=/usr/lib64. SUSE has a patch to fix this issue.

So this patch add the SUSE patch to address this issue

Signed-off-by: Yu Keke...@intel.com

[...]

++AC_SUBST(LIB)
++AC_MSG_CHECKING(LIB)
++case $ac_sys_system in
++Linux*)
++  # Test if the compiler is 64bit
++  echo 'int i;'  conftest.$ac_ext
++  python_cv_cc_64bit_output=no
++  if AC_TRY_EVAL(ac_compile); then
++case `/usr/bin/file conftest.$ac_objext` in
++*ELF 64*)
++  python_cv_cc_64bit_output=yes
++  ;;
++esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++case $ARCH:$python_cv_cc_64bit_output in
++ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
++  LIB=lib64
++  ;;
++*:*)
++  LIB=lib
++  ;;
++esac
++AC_MSG_RESULT($LIB)
+


This patch is good apart from this bit. I think we need to be able to
pass in our own string to use here which we derive from the libdir
variable...



Yes, indeed. I will revise it to use libdir instead of hardcode lib/lib64.

Regards
Ke

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/2] kernel.bbclass: handle embedding of initramfs images

2011-07-07 Thread Khem Raj


On Jul 7, 2011, at 5:00 PM, Andrea Adami andrea.ad...@gmail.com wrote:

 Ehm,
 some cruft slipped in :/
 
 On Fri, Jul 8, 2011 at 1:11 AM, Andrea Adami andrea.ad...@gmail.com wrote:
 * from org.openembedded.dev (oe-classic)
 
 Signed-off-by: Andrea Adami andrea.ad...@gmail.com
 ---
  meta/classes/kernel.bbclass |   22 ++
  1 files changed, 22 insertions(+), 0 deletions(-)
 
 diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
 index 943252a..03b321d 100644
 --- a/meta/classes/kernel.bbclass
 +++ b/meta/classes/kernel.bbclass
 @@ -14,8 +14,20 @@ python __anonymous () {
depends = bb.data.getVar(DEPENDS, d, 1)
depends = %s u-boot-mkimage-native % depends
bb.data.setVar(DEPENDS, depends, d)
 +
 +image = bb.data.getVar('INITRAMFS_IMAGE', d, True)
 +if image != '' and image is not None:
^^^
Is this ok ?

 +bb.data.setVar('INITRAMFS_TASK', '${INITRAMFS_IMAGE}:do_rootfs', d)
 +
 
 
 +machine_kernel_pr = bb.data.getVar('MACHINE_KERNEL_PR', d, True)
 +
 +if machine_kernel_pr:
 +bb.data.setVar('PR', machine_kernel_pr, d)
 
 Those bits are extraneous and copied and pasted by mistake.
 
 
 
  }
 
 +INITRAMFS_IMAGE ?= 
 +INITRAMFS_TASK ?= 
 +
  inherit kernel-arch deploy
 
  PACKAGES_DYNAMIC += kernel-module-*
 @@ -179,8 +191,18 @@ kernel_do_configure() {
cp ${WORKDIR}/defconfig ${S}/.config
fi
 yes '' | oe_runmake oldconfig
 +
 +   if [ ! -z ${INITRAMFS_IMAGE} ]; then
 
 +   for img in cpio.gz cpio.lzo cpio.lzma; do
 
 We'll have to add cpio.xz as bonus too, being there is support for it
 in image_types.bbclass
 
 
 +   if [ -e 
 ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img
 +   cp 
 ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$i
 +   fi
 +   done
 +   fi
  }
 
 +kernel_do_configure[depends] += ${INITRAMFS_TASK}
 +
  do_menuconfig() {
 export DISPLAY='${DISPLAY}'
 export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}'
 --
 1.7.3.4
 
 
 
 If you mind, I'll resend a corrected V2 of the patch

Please do 

 
 Regards
 
 Andrea
 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 7/8] eglibc: Add RDEPENDS on bash

2011-07-07 Thread Khem Raj


On Jul 7, 2011, at 4:31 PM, Saul Wold s...@linux.intel.com wrote:

 [YOCTO #1214]
 
 Signed-off-by: Saul Wold s...@linux.intel.com
 ---
 meta/recipes-core/eglibc/eglibc-package.inc |2 +-
 meta/recipes-core/eglibc/eglibc.inc |2 +-
 meta/recipes-core/eglibc/eglibc_2.12.bb |2 +-
 meta/recipes-core/eglibc/eglibc_2.13.bb |2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/meta/recipes-core/eglibc/eglibc-package.inc 
 b/meta/recipes-core/eglibc/eglibc-package.inc
 index 1c6626c..f0fac76 100644
 --- a/meta/recipes-core/eglibc/eglibc-package.inc
 +++ b/meta/recipes-core/eglibc/eglibc-package.inc
 @@ -69,7 +69,7 @@ FILES_eglibc-utils = ${bindir}/* ${sbindir}/*
 FILES_${PN}-dbg += ${libexecdir}/*/.debug ${libdir}/audit/.debug
 FILES_catchsegv${PKGSUFFIX} = ${bindir}/catchsegv
 RDEPENDS_catchsegv${PKGSUFFIX} = libsegfault
 -EDEPENDS_eglibc-utils = libsotruss
 +RDEPENDS_eglibc-utils += libsotruss bash

While typo fix is ok why do we need dependency on bash ?
If it is for ldd then there is already a fix to free it from bashism
We should use that

 FILES_eglibc-pcprofile = ${base_libdir}/libpcprofile.so
 FILES_eglibc-thread-db${PKGSUFFIX} = ${base_libdir}/libthread_db*
 RPROVIDES_eglibc-dev += libc-dev
 diff --git a/meta/recipes-core/eglibc/eglibc.inc 
 b/meta/recipes-core/eglibc/eglibc.inc
 index 74afb9d..058d58e 100644
 --- a/meta/recipes-core/eglibc/eglibc.inc
 +++ b/meta/recipes-core/eglibc/eglibc.inc
 @@ -22,7 +22,7 @@ siteconfig_do_siteconfig_gencache_prepend =  \
 # nptl needs unwind support in gcc, which can't be built without glibc.
 DEPENDS = virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers
 #this leads to circular deps, so lets not add it yet
 -#RDEPENDS_ldd +=  bash
 +RDEPENDS_ldd +=  bash
 # nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this
 #RDEPENDS_${PN} += ${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}
 PROVIDES = virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc
 diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb 
 b/meta/recipes-core/eglibc/eglibc_2.12.bb
 index 85d58fa..fd7b485 100644
 --- a/meta/recipes-core/eglibc/eglibc_2.12.bb
 +++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
 @@ -1,7 +1,7 @@
 require eglibc.inc
 
 DEPENDS += gperf-native
 -PR = r18
 +PR = r19
 
 SRCREV = 14158
 
 diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb 
 b/meta/recipes-core/eglibc/eglibc_2.13.bb
 index 7986131..be65787 100644
 --- a/meta/recipes-core/eglibc/eglibc_2.13.bb
 +++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
 @@ -4,7 +4,7 @@ SRCREV = 14157
 
 DEPENDS += gperf-native
 FILESPATHPKG =. eglibc-svn:
 -PR = r5
 +PR = r6
 PR_append = +svnr${SRCPV}
 
 EGLIBC_BRANCH=eglibc-2_13
 -- 
 1.7.3.4
 
 
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 7/8] eglibc: Add RDEPENDS on bash

2011-07-07 Thread Saul Wold

On 07/07/2011 05:59 PM, Khem Raj wrote:



On Jul 7, 2011, at 4:31 PM, Saul Wolds...@linux.intel.com  wrote:


[YOCTO #1214]

Signed-off-by: Saul Wolds...@linux.intel.com
---
meta/recipes-core/eglibc/eglibc-package.inc |2 +-
meta/recipes-core/eglibc/eglibc.inc |2 +-
meta/recipes-core/eglibc/eglibc_2.12.bb |2 +-
meta/recipes-core/eglibc/eglibc_2.13.bb |2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-package.inc 
b/meta/recipes-core/eglibc/eglibc-package.inc
index 1c6626c..f0fac76 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -69,7 +69,7 @@ FILES_eglibc-utils = ${bindir}/* ${sbindir}/*
FILES_${PN}-dbg += ${libexecdir}/*/.debug ${libdir}/audit/.debug
FILES_catchsegv${PKGSUFFIX} = ${bindir}/catchsegv
RDEPENDS_catchsegv${PKGSUFFIX} = libsegfault
-EDEPENDS_eglibc-utils = libsotruss
+RDEPENDS_eglibc-utils += libsotruss bash


While typo fix is ok why do we need dependency on bash ?
If it is for ldd then there is already a fix to free it from bashism
We should use that

Actually it's for xtrace and tzselect which are part of eglibc-utils and 
are scripts that use /bin/bash.


Where's the fix for ldd?  I don't think its part of eglibc currently.

Sau!


FILES_eglibc-pcprofile = ${base_libdir}/libpcprofile.so
FILES_eglibc-thread-db${PKGSUFFIX} = ${base_libdir}/libthread_db*
RPROVIDES_eglibc-dev += libc-dev
diff --git a/meta/recipes-core/eglibc/eglibc.inc 
b/meta/recipes-core/eglibc/eglibc.inc
index 74afb9d..058d58e 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -22,7 +22,7 @@ siteconfig_do_siteconfig_gencache_prepend =  \
# nptl needs unwind support in gcc, which can't be built without glibc.
DEPENDS = virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers
#this leads to circular deps, so lets not add it yet
-#RDEPENDS_ldd +=  bash
+RDEPENDS_ldd +=  bash
# nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this
#RDEPENDS_${PN} += ${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}
PROVIDES = virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc
diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb 
b/meta/recipes-core/eglibc/eglibc_2.12.bb
index 85d58fa..fd7b485 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -1,7 +1,7 @@
require eglibc.inc

DEPENDS += gperf-native
-PR = r18
+PR = r19

SRCREV = 14158

diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb 
b/meta/recipes-core/eglibc/eglibc_2.13.bb
index 7986131..be65787 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -4,7 +4,7 @@ SRCREV = 14157

DEPENDS += gperf-native
FILESPATHPKG =. eglibc-svn:
-PR = r5
+PR = r6
PR_append = +svnr${SRCPV}

EGLIBC_BRANCH=eglibc-2_13
--
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] powertop: inherit update-alternatives and use a higher priority than busybox

2011-07-07 Thread Cui, Dexuan
Tom Rini wrote:
 On 07/07/2011 01:39 AM, Dexuan Cui wrote:
 busybox-1.18.4 installs /bin/powertop and the powertop recipe
 installs /usr/bin/powertop. So, in PATH, if /bin appears before
 /usr/bin, we would run the version offered by busybox, which has a
 very limited function (e.g., no parameter is accepted) and this
 causes trouble to eclipse plugin. 
 
 We can use update-alternatives for powertop with higher priority to
 resolve the issue. 
 
 Fixes [YOCTO #1208]
 
 Signed-off-by: Dexuan Cui dexuan@intel.com
 
 This fix seems a bit incomplete.  Why is busybox putting powertop into
 /bin when it almost certainly belongs in /usr/bin like the real recipe
 was placing it.  busybox needs a fix here too.
Thanks for the comment! 
I was hesitant about fixing busybox as I wasn't sure if it's worthy to make a 
patch to only fix the path for busybox. I don't know why busybox puts it into 
/bin. I think the best place may be /usr/sbin/. 
A little unluckily this patch to powertop has been already in poky master... So 
maybe we could try to fix the recipes in future, e.g., when upgrading them.

Thanks,
-- Dexuan
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2][PULL] alsa-tools: Fix recipe build error

2011-07-07 Thread Dongxiao Xu
Hi Saul,

This pull request fixes the alsa-tools recipe build error.
Please help to review and pull.

[YOCTO #1038]

Thanks,
Dongxiao

The following changes since commit 2c79c9eb7ef8ef0aef8c3096c3c4387e28e56ea2:

  pulseaudio: add 0.9.23 (2011-07-07 13:45:32 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib dxu4/alsa-tools
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/alsa-tools

Dongxiao Xu (2):
  fltk: add this recipe for alsa-tools build
  alsa-tools: Fix recipe build error.

 .../alsa/alsa-tools-1.0.24.1/autotools.patch   |   31 
 .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb |   16 +++--
 .../fltk/fltk-1.1.10/disable_test.patch|   18 +
 meta/recipes-multimedia/fltk/fltk_1.1.10.bb|   38 
 4 files changed, 100 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch
 create mode 100644 meta/recipes-multimedia/fltk/fltk-1.1.10/disable_test.patch
 create mode 100644 meta/recipes-multimedia/fltk/fltk_1.1.10.bb


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] fltk: add this recipe for alsa-tools build

2011-07-07 Thread Dongxiao Xu
alsa-tools has dependency on fltk.
Import this recipe from open-embedded.

Signed-off-by: Dongxiao Xu dongxiao...@intel.com
---
 .../fltk/fltk-1.1.10/disable_test.patch|   18 +
 meta/recipes-multimedia/fltk/fltk_1.1.10.bb|   38 
 2 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 meta/recipes-multimedia/fltk/fltk-1.1.10/disable_test.patch
 create mode 100644 meta/recipes-multimedia/fltk/fltk_1.1.10.bb

diff --git a/meta/recipes-multimedia/fltk/fltk-1.1.10/disable_test.patch 
b/meta/recipes-multimedia/fltk/fltk-1.1.10/disable_test.patch
new file mode 100644
index 000..0221503
--- /dev/null
+++ b/meta/recipes-multimedia/fltk/fltk-1.1.10/disable_test.patch
@@ -0,0 +1,18 @@
+Disable the test component.
+Derived from OE.
+
+Upstream-Status: Inappropriate [configuration]
+
+Index: fltk-1.1.9/Makefile
+===
+--- fltk-1.1.9.orig/Makefile   2008-06-06 16:14:11.936736201 +0200
 fltk-1.1.9/Makefile2008-06-06 16:14:22.526357637 +0200
+@@ -27,7 +27,7 @@
+ 
+ include makeinclude
+ 
+-DIRS  =   $(IMAGEDIRS) src fluid test documentation
++DIRS  =   $(IMAGEDIRS) src fluid documentation
+ 
+ all: makeinclude fltk-config
+   for dir in $(DIRS); do\
diff --git a/meta/recipes-multimedia/fltk/fltk_1.1.10.bb 
b/meta/recipes-multimedia/fltk/fltk_1.1.10.bb
new file mode 100644
index 000..bd25344
--- /dev/null
+++ b/meta/recipes-multimedia/fltk/fltk_1.1.10.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = FLTK is a cross-platform C++ GUI toolkit
+HOMEPAGE = http://www.fltk.org;
+SECTION = libs
+PRIORITY = optional
+LICENSE = LGPL
+DEPENDS = alsa-lib zlib jpeg libpng libxext libxft
+LIC_FILES_CHKSUM = file://COPYING;md5=1c0b73db66884b6a925e727400315130
+
+PR = r0
+
+SRC_URI = http://ftp.easysw.com/ftp/pub/fltk/${PV}/fltk-${PV}-source.tar.bz2 \
+  file://disable_test.patch \
+ 
+
+S = ${WORKDIR}/fltk-${PV}
+
+inherit lib_package autotools binconfig
+
+TARGET_CC_ARCH += ${LDFLAGS} -DXFT_MAJOR=2
+
+EXTRA_OECONF = --enable-shared \
+   --enable-threads \
+   --enable-xdbe --enable-xft --enable-gl \
+   --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR}
+
+do_configure() {
+oe_runconf
+}
+
+python populate_packages_prepend () {
+if (bb.data.getVar('DEBIAN_NAMES', d, 1)):
+bb.data.setVar('PKG_${PN}', 'libfltk${PV}', d)
+}
+
+LEAD_SONAME = libfltk.so
+
+SRC_URI[md5sum] = a1765594bc427ff892e36089fe1fa672
+SRC_URI[sha256sum] = 
37ada22bf2586b8dd30d84209b8b58bdcb864627e5d02ae3f2c323a29261b19a
-- 
1.7.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] alsa-tools: Fix recipe build error.

2011-07-07 Thread Dongxiao Xu
1. Fix the autoreconf error with gtk2 and alsa.
2. Add libtool sysroot path while configuration.
3. Remove one element in alsa-tools which depends on qt2.

[YOCTO #1038]

Signed-off-by: Dongxiao Xu dongxiao...@intel.com
---
 .../alsa/alsa-tools-1.0.24.1/autotools.patch   |   31 
 .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb |   16 --
 2 files changed, 44 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch

diff --git a/meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch 
b/meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch
new file mode 100644
index 000..27e887a
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch
@@ -0,0 +1,31 @@
+Add aclocal path to the autoreconf command.
+Remove qlo10k1 element which depends on qt2.
+
+Signed-off-by: Dongxiao Xu dongxiao...@intel.com
+
+Upstream-Status: Inappropriate [configuration]
+
+diff -ruN alsa-tools-1.0.24.1-orig//ld10k1/gitcompile 
alsa-tools-1.0.24.1/ld10k1/gitcompile
+--- alsa-tools-1.0.24.1-orig//ld10k1/gitcompile2011-07-06 
11:27:40.227665002 +0800
 alsa-tools-1.0.24.1/ld10k1/gitcompile  2011-07-08 09:49:11.177665001 
+0800
+@@ -1,6 +1,6 @@
+ #!/bin/bash
+ 
+-autoreconf -fi || exit 1
++autoreconf -fi $ACLOCAL_FLAGS || exit 1
+ export CFLAGS='-O2 -Wall -pipe -g'
+ echo CFLAGS=$CFLAGS
+ echo ./configure $@
+diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile
+--- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800
 alsa-tools-1.0.24.1/Makefile   2011-07-08 09:48:39.157665001 +0800
+@@ -2,8 +2,7 @@
+ TOP = .
+ SUBDIRS = ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \
+ mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
+-us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \
+-hwmixvolume
++us428control usx2yloader vxloader echomixer ld10k1 hwmixvolume
+ 
+ all:
+   @for i in $(SUBDIRS); do \
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb 
b/meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb
index 5b3ea98..d370d3c 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb
@@ -3,15 +3,25 @@ BROKEN = 1
 DESCRIPTION = Alsa Tools
 SECTION = console/utils
 LICENSE = GPLv2
-DEPENDS = alsa-lib ncurses
+DEPENDS = alsa-lib ncurses gtk+ fltk
 
-PR = r1
+PR = r2
 
 LIC_FILES_CHKSUM = 
file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f
 
-SRC_URI = ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2;
+SRC_URI = ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2 \
+   file://autotools.patch
 
 SRC_URI[md5sum] = 08fe93a12006093e590d7ecc02b119dd
 SRC_URI[sha256sum] = 
17d43de93ab2db98886d89a53e45341daa46a4ef6edd405db87f4b5a5dc64a05
 
 inherit autotools
+
+do_compile_prepend() {
+   subdirs=envy24control rmedigicontrol echomixer
+   for i in $subdirs; do
+   mv ${S}/${i}/aclocal.m4 ${S}/${i}/acinclude.m4
+   done
+}
+
+EXTRA_OEMAKE += GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} 
--target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST}' 
ACLOCAL_FLAGS='-I ${STAGING_DATADIR}/aclocal'
-- 
1.7.1


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 7/8] eglibc: Add RDEPENDS on bash

2011-07-07 Thread Khem Raj

On 07/07/2011 06:15 PM, Saul Wold wrote:

On 07/07/2011 05:59 PM, Khem Raj wrote:



On Jul 7, 2011, at 4:31 PM, Saul Wolds...@linux.intel.com wrote:


[YOCTO #1214]

Signed-off-by: Saul Wolds...@linux.intel.com
---
meta/recipes-core/eglibc/eglibc-package.inc | 2 +-
meta/recipes-core/eglibc/eglibc.inc | 2 +-
meta/recipes-core/eglibc/eglibc_2.12.bb | 2 +-
meta/recipes-core/eglibc/eglibc_2.13.bb | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/eglibc/eglibc-package.inc
b/meta/recipes-core/eglibc/eglibc-package.inc
index 1c6626c..f0fac76 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -69,7 +69,7 @@ FILES_eglibc-utils = ${bindir}/* ${sbindir}/*
FILES_${PN}-dbg += ${libexecdir}/*/.debug ${libdir}/audit/.debug
FILES_catchsegv${PKGSUFFIX} = ${bindir}/catchsegv
RDEPENDS_catchsegv${PKGSUFFIX} = libsegfault
-EDEPENDS_eglibc-utils = libsotruss
+RDEPENDS_eglibc-utils += libsotruss bash


While typo fix is ok why do we need dependency on bash ?
If it is for ldd then there is already a fix to free it from bashism
We should use that


Actually it's for xtrace and tzselect which are part of eglibc-utils and
are scripts that use /bin/bash.


hmm I see, see if it can be unbashed if not then the dep is ok.



Where's the fix for ldd? I don't think its part of eglibc currently.


0a831e2cd1c27d30cd76ddada9a44a703ab60f41 in oe.dev



Sau!


FILES_eglibc-pcprofile = ${base_libdir}/libpcprofile.so
FILES_eglibc-thread-db${PKGSUFFIX} = ${base_libdir}/libthread_db*
RPROVIDES_eglibc-dev += libc-dev
diff --git a/meta/recipes-core/eglibc/eglibc.inc
b/meta/recipes-core/eglibc/eglibc.inc
index 74afb9d..058d58e 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -22,7 +22,7 @@ siteconfig_do_siteconfig_gencache_prepend =  \
# nptl needs unwind support in gcc, which can't be built without glibc.
DEPENDS = virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers
#this leads to circular deps, so lets not add it yet
-#RDEPENDS_ldd +=  bash
+RDEPENDS_ldd +=  bash
# nptl needs libgcc but dlopens it, so our shlibs code doesn't detect
this
#RDEPENDS_${PN} += ${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}
PROVIDES = virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc
diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb
b/meta/recipes-core/eglibc/eglibc_2.12.bb
index 85d58fa..fd7b485 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -1,7 +1,7 @@
require eglibc.inc

DEPENDS += gperf-native
-PR = r18
+PR = r19

SRCREV = 14158

diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb
b/meta/recipes-core/eglibc/eglibc_2.13.bb
index 7986131..be65787 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -4,7 +4,7 @@ SRCREV = 14157

DEPENDS += gperf-native
FILESPATHPKG =. eglibc-svn:
-PR = r5
+PR = r6
PR_append = +svnr${SRCPV}

EGLIBC_BRANCH=eglibc-2_13
--
1.7.3.4


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/8] rootfs_rpm: Add 50Meg to image size for zypper

2011-07-07 Thread Saul Wold

On 07/07/2011 04:38 PM, Richard Purdie wrote:

On Thu, 2011-07-07 at 16:31 -0700, Saul Wold wrote:

[YOCTO #1171]

Add /var space for zypper due to its space usage for db maintence


This hasn't been tested for opkg/deb and is missing something like:

ZYPPER_VAR_DB_SPACE ??= 0

I'd suggest we just change this to append  + 51200 to
IMAGE_ROOTFS_EXTRA_SPACE. I'd also like this only to happen when we're
actually installing zypper so the minimal images are unaffected...

I can do the + 51200, but I have not figured out how to do the check for 
zypper, maybe it's something straight forward, but I am not finding a 
way to do it easily.


Sau!


Cheers,

Richard






Signed-off-by: Saul Wolds...@linux.intel.com
---
  meta/classes/image_types.bbclass |2 +-
  meta/classes/rootfs_rpm.bbclass  |5 +
  2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 8c86227..505342d 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -13,7 +13,7 @@ def get_imagecmds(d):

  runimagecmd () {
# Image generation code for image type ${type}
-   ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = $1 * ${IMAGE_OVERHEAD_FACTOR} + 
${IMAGE_ROOTFS_EXTRA_SPACE}; OFMT = %.0f ; print (size  ${IMAGE_ROOTFS_SIZE} 
? size : ${IMAGE_ROOTFS_SIZE}) }'`
+   ROOTFS_SIZE=`du -ks ${IMAGE_ROOTFS}|awk '{size = $1 * ${IMAGE_OVERHEAD_FACTOR} + 
${IMAGE_ROOTFS_EXTRA_SPACE} + ${ZYPPER_VAR_DB_SPACE}; OFMT = %.0f ; print 
(size  ${IMAGE_ROOTFS_SIZE} ? size : ${IMAGE_ROOTFS_SIZE}) }'`
${cmd}
cd ${DEPLOY_DIR_IMAGE}/
rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.${type}
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 3a11858..67c547f 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -3,6 +3,10 @@
  #

  ROOTFS_PKGMANAGE = rpm zypper
+
+# Add 50Meg of extra space for zypper database space
+ZYPPER_VAR_DB_SPACE = 51200
+
  # Postinstalls on device are handled within this class at present
  ROOTFS_PKGMANAGE_BOOTSTRAP = 

@@ -101,6 +105,7 @@ EOF
export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
export OPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}

+
${ROOTFS_POSTINSTALL_COMMAND}

mkdir -p ${IMAGE_ROOTFS}/etc/rpm-postinsts/




___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core