From: Saul Wold <sgw@linux.intel.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] packagegroup-(base|core-basic): add RREPLACES/RCONFLICTS
Date: Mon, 10 Sep 2012 08:37:06 -0700 [thread overview]
Message-ID: <504E0922.9040900@linux.intel.com> (raw)
In-Reply-To: <1346781919-20817-1-git-send-email-paul.eggleton@linux.intel.com>
On 09/04/2012 11:05 AM, Paul Eggleton wrote:
> These are needed to support upgrading from task-* to packagegroup-*
> within existing target images at runtime.
>
> Note: these settings will very likely be moved to a separate inc file
> at some point in the future.
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
> .../packagegroups/packagegroup-base.bb | 10 ++++------
> .../packagegroups/packagegroup-core-basic.bb | 4 +++-
> 2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
> index 2178308..347a7e1 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-base.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
> @@ -1,6 +1,6 @@
> DESCRIPTION = "Merge machine and distro options to create a basic machine task/package"
> LICENSE = "MIT"
> -PR = "r75"
> +PR = "r76"
>
> inherit packagegroup
>
> @@ -117,12 +117,10 @@ python __anonymous () {
>
> # For backwards compatibility after rename
> packages = d.getVar("PACKAGES", True).split()
> - packages.remove("packagegroup-distro-base")
> - packages.remove("packagegroup-machine-base")
> for pkg in packages:
> - d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-base", "task-base"))
> - d.appendVar("RPROVIDES_packagegroup-distro-base", "task-distro-base")
> - d.appendVar("RPROVIDES_packagegroup-machine-base", "task-machine-base")
> + d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-", "task-"))
> + d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-", "task-"))
> + d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-", "task-"))
> }
>
> #
> diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
> index 30b66c5..d3eeeed 100644
> --- a/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
> +++ b/meta/recipes-extended/packagegroups/packagegroup-core-basic.bb
> @@ -3,7 +3,7 @@
> #
>
> DESCRIPTION = "Create Basic Image Tasks"
> -PR = "r4"
> +PR = "r5"
> LICENSE = "MIT"
>
> inherit packagegroup
> @@ -24,6 +24,8 @@ python __anonymous () {
> packages = d.getVar("PACKAGES", True).split()
> for pkg in packages:
> d.appendVar("RPROVIDES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> + d.appendVar("RREPLACES_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> + d.appendVar("RCONFLICTS_%s" % pkg, pkg.replace("packagegroup-core", "task-core"))
> }
>
>
>
Merged into OE-Core
Thanks
Sau!
prev parent reply other threads:[~2012-09-10 15:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 18:05 [PATCH] packagegroup-(base|core-basic): add RREPLACES/RCONFLICTS Paul Eggleton
2012-09-10 15:37 ` 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=504E0922.9040900@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.