Re: [OE-core] [PATCH 1/3] package_rpm: add architecture info in rpm spec file

2011-09-14 Thread Mark Hatle
On 9/13/11 8:03 PM, Xu, Dongxiao wrote: Hi Mark, ...trimming the thread a bit... This patch is incorrect. Architectural information should not be in the dependencies within RPM packages. RPM is expected to find the proper version of a package to install based on the existing dependency

Re: [OE-core] [PATCH 2/3] rpm: add multilib prefix for archs under deploy/rpm

2011-09-14 Thread Mark Hatle
On 9/13/11 9:56 PM, Xu, Dongxiao wrote: Hi Mark, -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Mark Hatle Sent: Tuesday, September 13, 2011 11:24 PM To: openembedded-core

Re: [OE-core] [PATCH 1/3] package_rpm: add architecture info in rpm spec file

2011-09-14 Thread Mark Hatle
I still don't think this is what we want. Let me look into the library issues that you mentioned in the other thread and I'll see if we can deal with it that way. (Note, we may need to use something like this in non-RPM cases.. but I'm not sure about that either.) --Mark On 9/14/11 1:08 AM,

Re: [OE-core] [PATCH 2/3] rootfs_rpm: Use specific MACHINE_ARCH for multilib recipes

2011-09-14 Thread Mark Hatle
This looks fine. The do_archgen() function within the libzypp_git.bb will need to be updated to look for the multilib machine type as well. --Mark On 9/14/11 1:08 AM, Dongxiao Xu wrote: Currently MACHINE_ARCH deploy folder is unique in multilib system, thus a lib32 version of rpm package will

Re: [OE-core] Multilib status

2011-09-16 Thread Mark Hatle
On 9/16/11 4:32 AM, Richard Purdie wrote: Hi Mark/Dongxaio, We really need to get the remainder of the multilib bugs wrapped up. I think there is some confusion about the exact approach to take to fix some of them so I'm hoping to try and summarise the problems here so we can work out some

Re: [OE-core] Multilib status

2011-09-16 Thread Mark Hatle
On 9/16/11 10:21 AM, Xu, Dongxiao wrote: -Original Message- From: Mark Hatle [mailto:mark.ha...@windriver.com] Sent: Friday, September 16, 2011 10:51 PM To: Richard Purdie Cc: Xu, Dongxiao; openembedded-core Subject: Re: Multilib status On 9/16/11 4:32 AM, Richard Purdie wrote: Hi

Re: [OE-core] Multilib status

2011-09-16 Thread Mark Hatle
Will do a more formal pull request as soon as I get things working again. --Mark On 9/16/11 10:26 AM, Mark Hatle wrote: On 9/16/11 10:21 AM, Xu, Dongxiao wrote: -Original Message- From: Mark Hatle [mailto:mark.ha...@windriver.com] Sent: Friday, September 16, 2011 10:51 PM

Re: [OE-core] OE-Core release process

2011-09-16 Thread Mark Hatle
On 9/16/11 2:06 PM, Otavio Salvador wrote: On Fri, Sep 16, 2011 at 14:49, Paul Eggleton paul.eggle...@linux.intel.com wrote: On Friday 16 September 2011 18:18:43 you wrote: They all ended up in oe-core the problem is when they're not yet merged but I want to merge them into my tree for use,

Re: [OE-core] armv6-novfp and armv6-vfp and tune files

2011-09-19 Thread Mark Hatle
On 9/17/11 11:13 AM, Denis 'GNUtoo' Carikli wrote: hi, I've an HTC Dream, it has an armv6 CPU but lack a vfp unit. I want to add correct support for it in meta-smartphone/meta-htc. In order to have a correct machine config that works a tune inc file must be required in it. In

Re: [OE-core] [PATCH 1/1] avahi: Check for GPLv3 license and disable x11

2011-09-19 Thread Mark Hatle
On 9/19/11 12:55 PM, Saul Wold wrote: [YOCTO #1492] Since the non-GPLv3 build does not want gnome, which this will pull in by the default DISTRO_FEATURE x11 being set and enabling gtk for avahi, we filter x11 out of DISTRO_FEATURES here when INCOMPATIBLE_LICENSE is set to GPLv3. If the

Re: [OE-core] Multilib status

2011-09-20 Thread Mark Hatle
On 9/20/11 10:01 AM, Xu, Dongxiao wrote: Hi Mark, -Original Message- From: Mark Hatle [mailto:mark.ha...@windriver.com] Sent: Saturday, September 17, 2011 2:19 AM To: Mark Hatle Cc: Xu, Dongxiao; Richard Purdie; openembedded-core Subject: Re: Multilib status Just an FYI. I'm

Re: [OE-core] Multilib status

2011-09-20 Thread Mark Hatle
- From: Mark Hatle [mailto:mark.ha...@windriver.com] Sent: Saturday, September 17, 2011 2:19 AM To: Mark Hatle Cc: Xu, Dongxiao; Richard Purdie; openembedded-core Subject: Re: Multilib status Just an FYI. I'm working through a bunch of issues. I found out that the RPM dependency

Re: [OE-core] Multilib status

2011-09-20 Thread Mark Hatle
On 9/20/11 12:34 PM, Xu, Dongxiao wrote: -Original Message- From: Mark Hatle [mailto:mark.ha...@windriver.com] Sent: Wednesday, September 21, 2011 1:06 AM To: Xu, Dongxiao Cc: Richard Purdie; openembedded-core Subject: Re: Multilib status commit id

Re: [OE-core] Correct way of having the PN package depend on the other packages?

2011-09-20 Thread Mark Hatle
On 9/20/11 2:03 PM, Daniel Lazzari wrote: I noticed a problem with the alsa-utils package where the alsa-utils package does not depend on all of the little extra packages it's supposed to pull in. I'm not sure what the best way to fix this is though. Can anyone give me a little guidance or

Re: [OE-core] [RFC] policy proposal: INC_PR

2011-09-20 Thread Mark Hatle
On 9/20/11 2:04 PM, Dmitry Eremin-Solenikov wrote: Hello, colleagues, While debugging some stuff in oe-core company I've noticed that lot's of packages either don't use INC_PR, or misuse it (e.g. .inc has INC_PR, but then .bb just defines PR = rX). I've noticed similar things. I'd agree,

[OE-core] [PATCH 2/7] multilib: install MULTILIB_IMAGE_INSTALL

2011-09-20 Thread Mark Hatle
with MLPREFIX, therefore we need to enumerate the possible multilib prefixes and compare them with package prefixes. Signed-off-by: Dongxiao Xu dongxiao...@intel.com Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package_rpm.bbclass | 42

[OE-core] [PATCH 1/7] rootfs_rpm: Use specific MACHINE_ARCH for multilib recipes

2011-09-20 Thread Mark Hatle
MACHINE_ARCH to fix this issue. Signed-off-by: Dongxiao Xu dongxiao...@intel.com Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/rootfs_rpm.bbclass |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes

[OE-core] [PATCH 0/7] Fix a number of package installation related items

2011-09-20 Thread Mark Hatle
): rootfs_rpm: Use specific MACHINE_ARCH for multilib recipes multilib: install MULTILIB_IMAGE_INSTALL Mark Hatle (5): Fix RPM dependencies Add a run-time dependency that eglibc support GNU_HASH Update python dependencies to be simply to python busybox: Enhance to add dynamic per-file provides

[OE-core] [PATCH 4/7] Add a run-time dependency that eglibc support GNU_HASH

2011-09-20 Thread Mark Hatle
RPM checks to see if binaries require GNU_HASH, if they do it adds an automatic dependency of rtld(GNU_HASH). We need to satisfy this dependency, and we do it by providing rtld(GNU_HASH) in the package(s) that provide a runtime-linker. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta

[OE-core] [PATCH 5/7] Update python dependencies to be simply to python

2011-09-20 Thread Mark Hatle
, the output of rpmdeps changes, which causes the per-file dependency information to change thus we need to invalidate the cache! Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package.bbclass|6 ++ meta/recipes-devtools/rpm/rpm/pythondeps.sh | 16

[OE-core] [PATCH 3/7] Fix RPM dependencies

2011-09-20 Thread Mark Hatle
When packaging for RPM, dependencies were not being properly added to the packages. Only the providing dependencies were added due to a typo. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package_rpm.bbclass |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[OE-core] [PATCH 7/7] multilib_global.bbclass: Fix non-multilib package provides

2011-09-20 Thread Mark Hatle
all variants of an object. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/multilib_global.bbclass | 30 +- 1 files changed, 25 insertions(+), 5 deletions(-) diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass

[OE-core] [PATCH 6/7] busybox: Enhance to add dynamic per-file provides

2011-09-20 Thread Mark Hatle
was never made. So any programs, such as python, that require /usr/bin/env were unable to resolve the dependency and failed. This change only affects packaging backends that use per-file dependency data. Currently RPM is the only packaging backend with this ability. Signed-off-by: Mark Hatle mark.ha

[OE-core] [PATCH 4/7] Add a run-time dependency that eglibc support GNU_HASH

2011-09-20 Thread Mark Hatle
RPM checks to see if binaries require GNU_HASH, if they do it adds an automatic dependency of rtld(GNU_HASH). We need to satisfy this dependency, and we do it by providing rtld(GNU_HASH) in the package(s) that provide a runtime-linker. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta

[OE-core] [PATCH 3/7] Fix RPM dependencies

2011-09-20 Thread Mark Hatle
When packaging for RPM, dependencies were not being properly added to the packages. Only the providing dependencies were added due to a typo. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package_rpm.bbclass |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[OE-core] [PATCH 0/7] Fix a number of package installation related items [v2]

2011-09-20 Thread Mark Hatle
://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/rpm.deps Dongxiao Xu (2): rpm: add multilib prefix for archs under deploy/rpm multilib: install MULTILIB_IMAGE_INSTALL Mark Hatle (5): Fix RPM dependencies Add a run-time dependency that eglibc support GNU_HASH Update python dependencies

[OE-core] [PATCH 2/7] multilib: install MULTILIB_IMAGE_INSTALL [v2]

2011-09-20 Thread Mark Hatle
with MLPREFIX, therefore we need to enumerate the possible multilib prefixes and compare them with package prefixes. Signed-off-by: Dongxiao Xu dongxiao...@intel.com Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package_rpm.bbclass | 42

[OE-core] [PATCH 1/7] rpm: add multilib prefix for archs under deploy/rpm [v2]

2011-09-20 Thread Mark Hatle
the confliction. Signed-off-by: Dongxiao Xu dongxiao...@intel.com Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/multilib.bbclass |5 + meta/classes/rootfs_rpm.bbclass |4 +++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/meta/classes/multilib.bbclass b

[OE-core] [PATCH 5/7] Update python dependencies to be simply to python

2011-09-20 Thread Mark Hatle
, the output of rpmdeps changes, which causes the per-file dependency information to change thus we need to invalidate the cache! Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package.bbclass|6 ++ meta/recipes-devtools/rpm/rpm/pythondeps.sh | 16

[OE-core] [PATCH 7/7] multilib_global.bbclass: Fix non-multilib package provides [v2]

2011-09-20 Thread Mark Hatle
all variants of an object. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/multilib_global.bbclass | 27 ++- 1 files changed, 22 insertions(+), 5 deletions(-) diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass

Re: [OE-core] [PATCH 1/1] rootfs_rpm: two step installation

2011-09-21 Thread Mark Hatle
On 9/21/11 2:06 PM, Dongxiao Xu wrote: Firstly we install a base image. Then install those multilib packages listed in MULTILIB_IMAGE_INSTALL. Signed-off-by: Dongxiao Xu dongxiao...@intel.com I worked with Dongxiao on this solution. Acked-by: Mark Hatle mark.ha...@windriver.com --- meta

Re: [OE-core] Fetch failure for source at kernel.org

2011-09-21 Thread Mark Hatle
On 9/21/11 2:38 PM, Philip Balister wrote: I'm finally trying to get started with oe-core. I'm using a setup created with the setup-script created by Koen. Everything looks ok until it tried to build cpufrequtils. The recipe tries to fetch the source from a git repo at kernel.org.

[OE-core] [PATCH 2/6] usbutils: Move the pkgconfig file(s) to the -dev package

2011-09-21 Thread Mark Hatle
pkgconfig files belong in the -dev package. They automatically add a runtime dependency (when packaging with RPM) for pkgconfig, which is not desired to be installed with this package. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-bsp/usbutils/usbutils_0.91.bb |4

[OE-core] [PATCH 0/6] Fix core-image-lsb dependencies

2011-09-21 Thread Mark Hatle
+0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/rpm http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/rpm Mark Hatle (6): python: Fix cgi.py runtime issue usbutils: Move the pkgconfig file(s) to the -dev package foomatic-filters

[OE-core] [PATCH 1/6] python: Fix cgi.py runtime issue

2011-09-21 Thread Mark Hatle
during RPM packaging breaks the rootfs construction. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/python/python/cgi_py.patch | 21 + meta/recipes-devtools/python/python_2.6.6.bb |3 ++- 2 files changed, 23 insertions(+), 1 deletions

[OE-core] [PATCH 5/6] sudo: Fix PAM dependencies

2011-09-21 Thread Mark Hatle
When PAM is enabled for the distribution we need to be sure to have a build dependency of libpam, and runtime dependencies on the pam modules used by the sudo package. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/sudo/sudo_1.8.1p2.bb |5 - 1 files changed

[OE-core] [PATCH 4/6] perl: Fix a few perl binaries to use target interpreter paths

2011-09-21 Thread Mark Hatle
A small number of target installed programs, ${bindir}/pod*, were incorrectly using the perl-native paths to access perl. This caused a dependency failure during RPM rootfs install, and also prevented those specific components from functioning. Signed-off-by: Mark Hatle mark.ha...@windriver.com

[OE-core] [PATCH 6/6] task-core-lsb: Remove perl-dev

2011-09-21 Thread Mark Hatle
not be required in order to pass the LSB testing. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/tasks/task-core-lsb.bb |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/tasks/task-core-lsb.bb b/meta/recipes-extended/tasks/task-core

[OE-core] [PATCH 3/6] foomatic-filters: Disable filter checking

2011-09-21 Thread Mark Hatle
Disable a few checks, and hard code the values for a few other items to work around potential host contamination issues. We also default to the cups configuration for items. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../foomatic/foomatic-filters_4.0.7.bb | 21

[OE-core] [PATCH 1/6 v2] python: Fix cgi.py runtime issue

2011-09-21 Thread Mark Hatle
during RPM packaging breaks the rootfs construction. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/python/python/cgi_py.patch | 23 ++ meta/recipes-devtools/python/python_2.6.6.bb |3 +- 2 files changed, 25 insertions(+), 1 deletions

[OE-core] [PATCH 1/2] cups: Fix recipe to use the correct cups directories

2011-09-22 Thread Mark Hatle
${libdir} is not used, instead they use a common ${exec_prefix}/lib directory structure for helpers, filters, renderers, etc. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/cups/cups14.inc| 20 ++-- meta/recipes-extended/cups/cups_1.4.6.bb

[OE-core] [PATCH 2/2] foomatic-filters: Disable filter checking

2011-09-22 Thread Mark Hatle
Disable a few checks, and hard code the values for a few other items to work around potential host contamination issues. We also default to the cups configuration for items. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../foomatic/foomatic-filters_4.0.7.bb | 21

Re: [OE-core] RPM and libmagic

2011-09-26 Thread Mark Hatle
On 9/26/11 7:05 PM, Saul Wold wrote: Mark, I recently found a problem with RPM and libmagic, specificly the rpmdeps command as it's used in package.bbclass. The issue being that it was not finding the correct magic.mgc file. I notice that we wrap the other RPM commands, but not

Re: [OE-core] [PATCH] Use useradd and update-rc.d classes in the OpenSSH recipe

2011-09-26 Thread Mark Hatle
On 9/26/11 8:47 PM, Julian Pidancet wrote: On Tue, Sep 27, 2011 at 12:59 AM, Julian Pidancet julian.pidan...@gmail.com wrote: On Tue, Sep 27, 2011 at 12:38 AM, Saul Wold s...@linux.intel.com wrote: Is there a reason you did not include the group and --disable-password here? I think it would

Re: [OE-core] Bringing an image from OE to OE-Core

2011-10-04 Thread Mark Hatle
On 10/4/11 3:32 PM, Saul Wold wrote: On 10/04/2011 01:27 PM, Philip Balister wrote: On 10/04/2011 04:08 PM, Saul Wold wrote: On 10/04/2011 12:58 PM, Philip Balister wrote: I'm about to start bringing some images I use from OE to OE-core. The first issue I saw is there is no task-proper-tools

Re: [OE-core] [PATCH] package_rpm: Fix useradd preinst ordering issues

2012-04-12 Thread Mark Hatle
On 4/12/12 10:36 AM, Steve Sakoman wrote: On Thu, Apr 12, 2012 at 6:39 AM, Steve Sakomansako...@gmail.com wrote: That is very odd, the system is supposed to identify all of the dependencies needed for the first set of packages... (the three base-passwd, base-files and shadow). The end

Re: [OE-core] [PATCH] package_rpm: Fix useradd preinst ordering issues

2012-04-12 Thread Mark Hatle
On 4/12/12 10:55 AM, Steve Sakoman wrote: On Thu, Apr 12, 2012 at 8:46 AM, Mark Hatlemark.ha...@windriver.com wrote: On 4/12/12 10:36 AM, Steve Sakoman wrote: On Thu, Apr 12, 2012 at 6:39 AM, Steve Sakomansako...@gmail.comwrote: That is very odd, the system is supposed to identify all

Re: [OE-core] [PATCH] package_rpm: Fix useradd preinst ordering issues

2012-04-12 Thread Mark Hatle
On 4/12/12 12:06 PM, Steve Sakoman wrote: On Thu, Apr 12, 2012 at 9:08 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: For what its worth, bash here does Provides: /bin/sh so I'm a little puzzled about what is going on here. If its not doing that, it would certainly cause the

[OE-core] [PATCH 0/2] Two small fixes, pseudo and rpm

2012-04-12 Thread Mark Hatle
with the rootfs (2012-04-12 21:24:55 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/fixes http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/fixes Mark Hatle (2): pseudo: Tell pseudo to avoid specifying an RPATH rpm: Ensure that we check both

[OE-core] [PATCH 1/2] pseudo: Tell pseudo to avoid specifying an RPATH

2012-04-12 Thread Mark Hatle
[Yocto #2251] Add --without-rpath to avoid embedding rpaths into the pseudo components. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/pseudo/pseudo.inc|8 meta/recipes-devtools/pseudo/pseudo_1.3.bb |2 +- meta/recipes-devtools/pseudo

[OE-core] [PATCH 2/2] rpm: Ensure that we check both providename and filepaths

2012-04-12 Thread Mark Hatle
. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/rpm/rpm/rpm-resolvedep.patch | 36 meta/recipes-devtools/rpm/rpm_5.4.0.bb |3 +- 2 files changed, 38 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-devtools/rpm/rpm/rpm

Re: [OE-core] [PATCH 1/2] pseudo: Tell pseudo to avoid specifying an RPATH

2012-04-13 Thread Mark Hatle
On 4/13/12 10:13 AM, Saul Wold wrote: On 04/12/2012 02:21 PM, Mark Hatle wrote: [Yocto #2251] Add --without-rpath to avoid embedding rpaths into the pseudo components. Signed-off-by: Mark Hatlemark.ha...@windriver.com --- meta/recipes-devtools/pseudo/pseudo.inc|8 meta

Re: [OE-core] [PATCH 1/2] pseudo: Tell pseudo to avoid specifying an RPATH

2012-04-13 Thread Mark Hatle
On 4/13/12 10:33 AM, Richard Purdie wrote: On Fri, 2012-04-13 at 10:22 -0500, Mark Hatle wrote: We might still need this rpath or something similar since the nativesdk now breaks not finding the correct version of the included libc.so.6 In this case, I don't think embedding a static RPATH

Re: [OE-core] MIPS vs MIPS32 tunings -- summary and questions

2012-04-16 Thread Mark Hatle
On 4/16/12 10:15 AM, Andreas Oberritter wrote: On 16.04.2012 16:42, Richard Purdie wrote: On Mon, 2012-04-16 at 15:55 +0200, Andreas Oberritter wrote: On 10.04.2012 21:28, Andreas Oberritter wrote: On 10.04.2012 19:53, Mark Hatle wrote: We still do not have a clean answer for how to resolve

[OE-core] [PATCH 00/17] Fix update-alternatives and RPM package dependencies

2012-04-16 Thread Mark Hatle
03cfc6ea6df9d1fbf5520c9707a725e38d2e377b: libzypp: add libproxy to DEPENDS (2012-04-16 23:30:41 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/upd-alt http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/upd-alt Mark Hatle (17): update

[OE-core] [PATCH 01/17] update-alternatives.bbclass: Ensure alternatives end up in per file deps

2012-04-16 Thread Mark Hatle
already exists, if it does, assume the package already performed the rename. This is necessary to deal with some packages that have symlinks pointing to renamed items. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/package.bbclass | 16 --- meta/classes

[OE-core] [PATCH 02/17] coreutils_*.bb: Use update alternatives and add missing manual alt links

2012-04-16 Thread Mark Hatle
as that automatically sets the file rprovides. Signed-off-by: Mark Hatle mark.ha...@windriver.com coreutils - 8.14 - update-alt --- meta/recipes-core/coreutils/coreutils_6.9.bb | 34 +- meta/recipes-core/coreutils/coreutils_8.14.bb | 38 + 2 files changed, 34

[OE-core] [PATCH 03/17] coreutils_*.bb: Sync up file path with busybox and minor cleanup

2012-04-16 Thread Mark Hatle
. (No PR bumps, as the previous patch did that.) Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-core/coreutils/coreutils_6.9.bb | 10 +++--- meta/recipes-core/coreutils/coreutils_8.14.bb | 23 +++ 2 files changed, 10 insertions(+), 23 deletions

[OE-core] [PATCH 04/17] grep: Use update-alternatives

2012-04-16 Thread Mark Hatle
Use ALTERNATIVE_LINKS to be sure the links and provide info is setup properly. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/grep/grep_2.5.1a.bb | 25 + meta/recipes-extended/grep/grep_2.9.bb| 22 -- 2 files

[OE-core] [PATCH 05/17] openssh: Use update-alternatives

2012-04-16 Thread Mark Hatle
Use the MANUAL_ALTERNATIVE_LINKS to ensure the update-alternative references are properly added to the packages provides. Also fix the RPROVIDES, as they are package split specific! Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-connectivity/openssh/openssh_5.9p1.bb |9

[OE-core] [PATCH 06/17] hdparm: Use update-alternatives

2012-04-16 Thread Mark Hatle
Switch to using update-alternatives, this ensures that the call to update-alternatives and package provides are correct. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/hdparm/hdparm_9.39.bb | 16 ++-- 1 files changed, 6 insertions(+), 10 deletions

[OE-core] [PATCH 07/17] iputils: Use update-alternatives

2012-04-16 Thread Mark Hatle
Use MANUAL_ALTERNATIVE_LINKS to ensure that the package provides are being setup properly. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/iputils/iputils_s20101006.bb |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/meta/recipes-extended

[OE-core] [PATCH 09/17] shadow: Use update-alternatives

2012-04-16 Thread Mark Hatle
Switch to using ALTERNATIVE_LINKS to ensure the update-alternatives are setup properly, along with the package provides. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/shadow/shadow_4.1.4.3.bb | 42 +++ 1 files changed, 20 insertions(+), 22

[OE-core] [PATCH 11/17] gzip: Use update-alternatives class

2012-04-16 Thread Mark Hatle
Switch to using the update-alternatives class. Need this for consistency and to ensure the necessary package provides get set. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/gzip/gzip.inc | 32 meta/recipes-extended/gzip

[OE-core] [PATCH 12/17] module-init-tools: Update to use update-alternatives class

2012-04-16 Thread Mark Hatle
Use the update-alternatives class and MANUAL_ALTERNATIVE_LINKs to ensure that the produced packages specify the correct package provides. Also change references from bin and sbin to base_bindir and base_sbindir. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../module-init-tools/module

[OE-core] [PATCH 10/17] findutils: Use update-alternatives

2012-04-16 Thread Mark Hatle
Change to using update-alternatives to ensure that we're consistently using the class, and the package provides are being setup properly. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-extended/findutils/findutils.inc |5 +++- .../recipes-extended/findutils

[OE-core] [PATCH 13/17] kbd: Use update-alternatives

2012-04-16 Thread Mark Hatle
Change to use ALTERNATIVE_LINKS from update-alternatives. This ensures the links are created consistently and the package provides are correct. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-core/kbd/kbd_1.15.2.bb | 34 +++--- 1 files changed

[OE-core] [PATCH 14/17] console-tools: Use update-alternatives

2012-04-16 Thread Mark Hatle
Use update-alternatives and sync to the way the replace kbd package does things. Using update-alternatives ensures that the proper provides are setup in the packages. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../console-tools/console-tools_0.3.2.bb | 27

[OE-core] [PATCH 16/17] lrzsz: sz, sx and sb were linked incorrectly

2012-04-16 Thread Mark Hatle
The sz, sx and sb links were created incorrectly to lrz, they should point to lsz. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/meta/recipes-bsp/lrzsz

[OE-core] [PATCH 15/17] sysvinit: Use update-alternatives in a different way

2012-04-16 Thread Mark Hatle
-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 44 ++- 1 files changed, 12 insertions(+), 32 deletions(-) diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb index d3e430c

[OE-core] [PATCH 17/17] lrzsz: Use update-alternatives to set provides

2012-04-16 Thread Mark Hatle
Use the update-alternatives and MANUAL_ALTERNATIVE_LINKS to ensure the package gets the proper provides setup automatically. Signed-by: Mark Hatle mark.ha...@windriver.com Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 11 +-- 1 files

Re: [OE-core] [PATCH 01/17] update-alternatives.bbclass: Ensure alternatives end up in per file deps

2012-04-17 Thread Mark Hatle
On 4/17/12 3:43 AM, Richard Purdie wrote: On Mon, 2012-04-16 at 17:45 -0500, Mark Hatle wrote: Ensure that alternatives end up in per file provides, associated with the source of the alternative. Add a way to specify MANUAL_ALTERNATIVE_LINKS in order for programs that manage their own

[OE-core] FYI -- Re: [PATCH 16/17] lrzsz: sz, sx and sb were linked incorrectly

2012-04-17 Thread Mark Hatle
this this component is even being used these days. --Mark On 4/16/12 6:16 PM, Mark Hatle wrote: The sz, sx and sb links were created incorrectly to lrz, they should point to lsz. Signed-off-by: Mark Hatlemark.ha...@windriver.com --- meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 12 +--- 1 files

[OE-core] [PATCH 0/1] Fix incorrect update-alternative settings in matchbox-wm-2

2012-04-17 Thread Mark Hatle
/poky-contrib mhatle/fixes http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/fixes Mark Hatle (1): matchbox-wm-2: Fix incorrect update-alternatives .../matchbox-wm-2/matchbox-wm-2_git.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -- 1.7.3.4

[OE-core] [PATCH 1/1] matchbox-wm-2: Fix incorrect update-alternatives

2012-04-17 Thread Mark Hatle
Update-alternatives was pointing to matchbox-session, and should have been pointing to matchbox-window-manager. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../matchbox-wm-2/matchbox-wm-2_git.bb |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [OE-core] adding package nss in rootfs failed with dependency /usr/local/bin/perl

2012-04-24 Thread Mark Hatle
On 4/24/12 8:23 AM, Jegan Chandru wrote: Hi, I have cross compiled NSS 3.13.1 for x86 64 bit environment, but when I try to add NSS package in rootfs, i am getting the following error, /error: Failed dependencies: /usr/local/bin/perl is needed by nss-3.13.1-r0.x86_64/ I know perl is needed

Re: [OE-core] package_rpm.bbclass: Replace shell provides/requires script with python version

2012-04-26 Thread Mark Hatle
On 4/26/12 2:54 PM, Richard Purdie wrote: The existing shell script is a fork bomb and forks off hundreds of grep/cur/wc calls as it reads from its input stream and iterates over the file data table for each line of input. This patch replaces the shell code with python code which doesn't exec

Re: [OE-core] Toolchain library whitelisting: A first pass (preliminary patch/RFC)

2012-04-26 Thread Mark Hatle
In general I like this.. see a few critiques below: On 4/26/12 4:08 PM, Peter Seebach wrote: On Wed, 25 Apr 2012 20:38:05 -0500 Peter Seebachpeter.seeb...@windriver.com wrote: This is a followup from some chat in #yocto and elsewhere. Okay, some more followup. While testing this, I kept

Re: [OE-core] package_rpm.bbclass: Replace shell provides/requires script with python version

2012-04-27 Thread Mark Hatle
On 4/27/12 12:09 PM, Richard Purdie wrote: On Thu, 2012-04-26 at 15:34 -0500, Mark Hatle wrote: On 4/26/12 2:54 PM, Richard Purdie wrote: The existing shell script is a fork bomb and forks off hundreds of grep/cur/wc calls as it reads from its input stream and iterates over the file data table

Re: [OE-core] gcc 4.7 + mips64 architecture support

2012-04-30 Thread Mark Hatle
On 4/30/12 9:59 AM, Khem Raj wrote: On Mon, Apr 30, 2012 at 7:53 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: hmmm. Whats the error ? http://autobuilder.yoctoproject.org:8010/builders/nightly-tiny/builds/42/steps/shell_24/logs/stdio that should not happen. Its seems to be

Re: [OE-core] [PATCH 2/2] sanity.bbclass: Implement initial toolchain sanity checks

2012-04-30 Thread Mark Hatle
See comment inline below.. On 4/30/12 3:33 PM, Peter Seebach wrote: This introduces a sanity check for the toolchain, which verifies each tuning (including any multilibs), producing meaningful diagnostics for problems, and also provides some higher-level tuning features. The TUNEVALID and

Re: [OE-core] SetScene tasks hang forever?

2012-05-02 Thread Mark Hatle
On 5/2/12 2:16 PM, Rich Pixley wrote: On 5/2/12 11:40 , Mark Hatle wrote: On 5/2/12 1:21 PM, Rich Pixley wrote: I'm seeing a lot of builds apparently hanging forever, (the ones that work seem to work within seconds - the ones that hang seem to hang for at least 10's of minutes), with: rich

Re: [OE-core] SetScene tasks hang forever?

2012-05-02 Thread Mark Hatle
On 5/2/12 2:45 PM, Rich Pixley wrote: On 5/2/12 12:40 , Mark Hatle wrote: On 5/2/12 2:16 PM, Rich Pixley wrote: On 5/2/12 11:40 , Mark Hatle wrote: On 5/2/12 1:21 PM, Rich Pixley wrote: I'm seeing a lot of builds apparently hanging forever, (the ones that work seem to work within seconds

Re: [OE-core] [PATCH] qemu-native: depend on unfs-server-native

2012-05-02 Thread Mark Hatle
On 5/2/12 4:49 PM, Phil Blundell wrote: On Wed, 2012-05-02 at 16:44 +0200, Koen Kooi wrote: Op 2 mei 2012, om 16:33 heeft Jason Wessel het volgende geschreven: On 05/02/2012 09:29 AM, Koen Kooi wrote: Op 2 mei 2012, om 16:23 heeft Jason Wessel het volgende geschreven: The user mode NFS

Re: [OE-core] sed: Explicitly disable acl for deterministic builds

2012-05-07 Thread Mark Hatle
On 5/4/12 9:15 AM, Koen Kooi wrote: Op 4 mei 2012, om 16:04 heeft Richard Purdie het volgende geschreven: Signed-off-by: Richard Purdierichard.pur...@linuxfoundation.org --- diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb index 9fbb6e7..92f59e4

Re: [OE-core] CONFLICTS as keyword or just misspelled RCONFLICTS?

2012-05-08 Thread Mark Hatle
On 5/8/12 1:02 PM, Martin Jansa wrote: It's used in few recipes (lately used in kmod recipe), but no .bbclass and no match in bitbake OE @ ~/openembedded-core $ git grep CONFLICTS | grep -v RCONFLICTS | grep -v TUNE_CONFLICTS | grep -v TUNECONFLICTS

Re: [OE-core] [PATCH 1/2] uclibc.inc: uclibc rtld does support GNU_HASH

2012-05-09 Thread Mark Hatle
On 5/8/12 9:09 PM, Khem Raj wrote: On Tue, May 8, 2012 at 6:53 PM, Marko Lindqvistcazf...@gmail.com wrote: On 9 May 2012 04:36, Khem Rajraj.k...@gmail.com wrote: On Tue, May 8, 2012 at 5:59 PM, Marko Lindqvistcazf...@gmail.com wrote: You should know that I'm just figuring out what to

Re: [OE-core] [PATCH 2/2] rootfs_rpm.bbclass: don't remove rpmlib when INC_RPM_IMAGE_GEN=1

2012-05-09 Thread Mark Hatle
On 5/9/12 3:50 AM, Koen Kooi wrote: Op 9 mei 2012, om 10:20 heeft Robert Yang het volgende geschreven: Don't remove rpmlib when INC_RPM_IMAGE_GEN=1, otherwise the list_installed_packages would get nothing in the second build. What happens when I do a build, enable INC_RPM_IMAGE_GEN and do

Re: [OE-core] [PATCH 2/2] rootfs_rpm.bbclass: don't remove rpmlib when INC_RPM_IMAGE_GEN=1

2012-05-09 Thread Mark Hatle
On 5/9/12 10:01 AM, Koen Kooi wrote: Op 9 mei 2012, om 16:52 heeft Mark Hatle het volgende geschreven: On 5/9/12 3:50 AM, Koen Kooi wrote: Op 9 mei 2012, om 10:20 heeft Robert Yang het volgende geschreven: Don't remove rpmlib when INC_RPM_IMAGE_GEN=1, otherwise the list_installed_packages

Re: [OE-core] [PATCH 2/2] rootfs_rpm.bbclass: don't remove rpmlib when INC_RPM_IMAGE_GEN=1

2012-05-09 Thread Mark Hatle
On 5/9/12 10:24 AM, Koen Kooi wrote: Op 9 mei 2012, om 17:15 heeft Mark Hatle het volgende geschreven: On 5/9/12 10:01 AM, Koen Kooi wrote: Op 9 mei 2012, om 16:52 heeft Mark Hatle het volgende geschreven: On 5/9/12 3:50 AM, Koen Kooi wrote: Op 9 mei 2012, om 10:20 heeft Robert Yang het

Re: [OE-core] [PATCH 1/2] uclibc.inc: uclibc rtld does support GNU_HASH

2012-05-09 Thread Mark Hatle
On 5/9/12 10:47 AM, Khem Raj wrote: On Wed, May 9, 2012 at 7:49 AM, Mark Hatlemark.ha...@windriver.com wrote: The per-file advanced dependencies, which are not yet being used by ipkg or deb, include a marker for rtld support. The libc on the system needs to have a provide that it supports

[OE-core] [PATCH 2/2] blacklist.bbclass: Rename to OE_BLACKLIST and minor cleanup

2012-05-09 Thread Mark Hatle
, adjust the SkipPackage message from: distro DOES NOT support recipe because reason to: Recipe recipe is blacklisted: reason Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/blacklist.bbclass | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) diff

[OE-core] [PATCH 1/2] blacklist: fix typo in name

2012-05-09 Thread Mark Hatle
Signed-off-by: Koen Kooi k...@dominion.thruhere.net Import directly from meta-openembedded commit: a63c374cdc785ade69d2998978d08280e671dc1f Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/blacklist.bbclass | 20 1 files changed, 20 insertions(+), 0

[OE-core] [PATCH 1/2] blacklist: fix typo in name

2012-05-09 Thread Mark Hatle
Signed-off-by: Koen Kooi k...@dominion.thruhere.net Import directly from meta-openembedded commit: a63c374cdc785ade69d2998978d08280e671dc1f Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/blacklist.bbclass | 20 1 files changed, 20 insertions(+), 0

[OE-core] [PATCH 0/2] v2 Import the blacklist functionality from meta-oe

2012-05-09 Thread Mark Hatle
/cgit.cgi/poky-contrib/log/?h=mhatle/blacklist Mark Hatle (2): blacklist: fix typo in name blacklist.bbclass: Refactor, use PNBLACKLIST[pn] meta/classes/blacklist.bbclass | 20 1 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 meta/classes

[OE-core] [PATCH 2/2 v2] blacklist.bbclass: Refactor, use PNBLACKLIST[pn]

2012-05-09 Thread Mark Hatle
was skipped: Recipe is blacklisted: reason Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/classes/blacklist.bbclass | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/meta/classes/blacklist.bbclass b/meta/classes/blacklist.bbclass index

Re: [OE-core] [PATCH 2/2 v2] blacklist.bbclass: Refactor, use PNBLACKLIST[pn]

2012-05-09 Thread Mark Hatle
On 5/9/12 3:45 PM, Koen Kooi wrote: Op 9 mei 2012, om 22:00 heeft Mark Hatle het volgende geschreven: Revise the handling from ANGSTROM_BLACKLIST to PNBLACKLIST[pn]. Refactor the code to eliminate references to the distribution and recipe name in the message. Change the skipPackage message

Re: [OE-core] [PATCH] e2fsprogs: fix packaging error for libext2fs

2012-05-10 Thread Mark Hatle
On 5/10/12 3:48 PM, Khem Raj wrote: On Thu, May 10, 2012 at 1:40 PM, Mark Hatlemark.ha...@windriver.com wrote: On 5/10/12 3:30 PM, Khem Raj wrote: On Thu, May 10, 2012 at 1:03 PM, Andreas Oberritter o...@opendreambox.orgwrote: -FILES_libext2fs = ${libdir}/e2initrd_helper

[OE-core] setscene and perl -- pathological case

2012-05-10 Thread Mark Hatle
We've discovered that perl seems to be a pretty bad pathological case for setscene. Easy way to see what I mean: bitbake perl bitbake -c clean perl time bitbake perl The system isn't doing anything but running the setscene elements to bring perl from the sstate-cache into the sysroot and

[OE-core] [PATCH 0/1] Performance improvement in install_sstatepkg

2012-05-10 Thread Mark Hatle
installation location (2012-05-09 21:42:37 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/sstate http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/sstate Mark Hatle (1): sstate.bbclass: Improve sstate_installpkg performance meta/classes

<    1   2   3   4   5   6   7   8   9   10   >