Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 00/17] Fix update-alternatives and RPM package dependencies
Date: Fri, 27 Apr 2012 14:25:12 -0700	[thread overview]
Message-ID: <4F9B0EB8.4000200@linux.intel.com> (raw)
In-Reply-To: <cover.1334616144.git.mark.hatle@windriver.com>

On 04/16/2012 03:45 PM, Mark Hatle wrote:
> It was recently noticed that many packages that use update-alternatives were
> not setting package level provides.  So a package that required /usr/bin/env
> would not be satisfied by coreutils, even though it had a /usr/bin/env
> alternative.
>
> The first patch in the series adds the enhanced alternatives capatibilities.
>
> The patches that follow resolve Yocto defect 2289 and use these new
> capabilities to ensure the produced packages are correct.
>
> (Note, this only affects RPM packages as they have enhanced dependency
> scanning and resolution compared to deb and ipk.)
>
> These patches were tested by running a core-image-minimal build on both
> qemux86 and qemumips.  I also ran a core-image-sato on qemux86 and built
> each of the items affected manually.  Once build, I verified the install
> time scriptlets were correct and each package provided the correct "Provides".
>
> The following changes since commit 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
>
The subset marked below has been merged into OE-Core, I believe that 
Richard had a concern about the moves and links that some of these other 
patches contained.

> Mark Hatle (17):
>    update-alternatives.bbclass: Ensure alternatives end up in per file
>      deps
>    coreutils_*.bb: Use update alternatives and add missing manual alt
>      links
>    coreutils_*.bb: Sync up file path with busybox and minor cleanup
>    grep: Use update-alternatives
>    openssh: Use update-alternatives
>    hdparm: Use update-alternatives
Merged
>    iputils: Use update-alternatives
>    net-tools: Use update-alternatives
Merged
>    shadow: Use update-alternatives
Merged
>    findutils: Use update-alternatives
Merged
>    gzip: Use update-alternatives class
Merged
>    module-init-tools: Update to use update-alternatives class
>    kbd: Use update-alternatives
Merged
>    console-tools: Use update-alternatives
Merged
>    sysvinit: Use update-alternatives in a different way
>    lrzsz: sz, sx and sb were linked incorrectly
Merged
>    lrzsz: Use update-alternatives to set provides
>
Thanks
	Sau!

>   meta/classes/package.bbclass                       |   16 +++--
>   meta/classes/package_rpm.bbclass                   |    4 -
>   meta/classes/update-alternatives.bbclass           |   69 +++++++++++++++++++-
>   meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb            |   21 +++++-
>   meta/recipes-connectivity/openssh/openssh_5.9p1.bb |    9 ++-
>   .../console-tools/console-tools_0.3.2.bb           |   27 ++------
>   meta/recipes-core/coreutils/coreutils_6.9.bb       |   44 ++++++-------
>   meta/recipes-core/coreutils/coreutils_8.14.bb      |   49 +++++---------
>   meta/recipes-core/kbd/kbd_1.15.2.bb                |   34 ++--------
>   meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb     |   44 ++++---------
>   meta/recipes-extended/findutils/findutils.inc      |    5 +-
>   .../recipes-extended/findutils/findutils_4.2.31.bb |   22 ++-----
>   meta/recipes-extended/findutils/findutils_4.4.2.bb |   17 +-----
>   meta/recipes-extended/grep/grep_2.5.1a.bb          |   25 +++-----
>   meta/recipes-extended/grep/grep_2.9.bb             |   22 ++----
>   meta/recipes-extended/gzip/gzip.inc                |   32 +++-------
>   meta/recipes-extended/gzip/gzip_1.3.12.bb          |   24 ++-----
>   meta/recipes-extended/gzip/gzip_1.4.bb             |    2 +-
>   meta/recipes-extended/hdparm/hdparm_9.39.bb        |   16 ++---
>   meta/recipes-extended/iputils/iputils_s20101006.bb |    5 +-
>   .../net-tools/net-tools_1.60-23.bb                 |   28 +++------
>   meta/recipes-extended/shadow/shadow_4.1.4.3.bb     |   42 ++++++------
>   .../module-init-tools/module-init-tools_3.16.bb    |   35 ++++++----
>   23 files changed, 267 insertions(+), 325 deletions(-)
>



      parent reply	other threads:[~2012-04-27 21:34 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16 22:45 [PATCH 00/17] Fix update-alternatives and RPM package dependencies Mark Hatle
2012-04-16 22:45 ` [PATCH 01/17] update-alternatives.bbclass: Ensure alternatives end up in per file deps Mark Hatle
2012-04-17  8:43   ` Richard Purdie
2012-04-17 16:50     ` Mark Hatle
2012-04-16 22:45 ` [PATCH 02/17] coreutils_*.bb: Use update alternatives and add missing manual alt links Mark Hatle
2012-04-16 22:45 ` [PATCH 03/17] coreutils_*.bb: Sync up file path with busybox and minor cleanup Mark Hatle
2012-04-17  7:04   ` Koen Kooi
2012-04-17  7:22   ` Martin Jansa
2012-04-16 22:45 ` [PATCH 04/17] grep: Use update-alternatives Mark Hatle
2012-04-16 22:45 ` [PATCH 05/17] openssh: " Mark Hatle
2012-04-16 23:04 ` [PATCH 06/17] hdparm: " Mark Hatle
2012-04-16 23:05 ` [PATCH 07/17] iputils: " Mark Hatle
2012-04-16 23:15 ` [PATCH 08/17] net-tools: " Mark Hatle
2012-04-16 23:16 ` [PATCH 09/17] shadow: " Mark Hatle
2012-04-16 23:16 ` [PATCH 10/17] findutils: " Mark Hatle
2012-04-16 23:16 ` [PATCH 11/17] gzip: Use update-alternatives class Mark Hatle
2012-04-16 23:16 ` [PATCH 12/17] module-init-tools: Update to use " Mark Hatle
2012-04-16 23:16 ` [PATCH 13/17] kbd: Use update-alternatives Mark Hatle
2012-04-16 23:16 ` [PATCH 14/17] console-tools: " Mark Hatle
2012-04-16 23:16 ` [PATCH 15/17] sysvinit: Use update-alternatives in a different way Mark Hatle
2012-04-16 23:16 ` [PATCH 16/17] lrzsz: sz, sx and sb were linked incorrectly Mark Hatle
2012-04-17 17:03   ` FYI -- " Mark Hatle
2012-04-16 23:16 ` [PATCH 17/17] lrzsz: Use update-alternatives to set provides Mark Hatle
2012-04-17  7:03 ` [PATCH 00/17] Fix update-alternatives and RPM package dependencies Koen Kooi
2012-04-17 11:20   ` Andreas Oberritter
2012-04-27 21:25 ` Saul Wold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F9B0EB8.4000200@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox