Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 09/19] sed: use new update-alternatives
Date: Wed, 1 Aug 2012 10:16:11 -0500	[thread overview]
Message-ID: <5019483B.30909@windriver.com> (raw)
In-Reply-To: <1343830340-25351-10-git-send-email-morgan.little@windriver.com>

On 8/1/12 9:12 AM, Morgan Little wrote:
>
> Signed-off-by: Morgan Little <morgan.little@windriver.com>
> ---
>   meta/recipes-extended/sed/sed_4.1.2.bb |    8 ++++----
>   meta/recipes-extended/sed/sed_4.2.1.bb |    8 ++++----
>   2 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/meta/recipes-extended/sed/sed_4.1.2.bb b/meta/recipes-extended/sed/sed_4.1.2.bb
> index 3455c20..cffbec3 100644
> --- a/meta/recipes-extended/sed/sed_4.1.2.bb
> +++ b/meta/recipes-extended/sed/sed_4.1.2.bb
> @@ -4,7 +4,7 @@
>   LICENSE = "GPLv2+"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
>                       file://sed/sed.h;beginline=1;endline=17;md5=e00ffd1837f298439a214fd197f6a407"
>   SECTION = "console/utils"
> -PR = "r6"
> +PR = "r7"
>
>   SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz \
>              file://fix_return_type.patch \
> @@ -22,9 +22,9 @@
>   do_install () {
>   	rmdir ${D}${bindir}/
>   }
>
> -ALTERNATIVE_NAME = "sed"
> -ALTERNATIVE_PATH = "sed.${BPN}"
> -ALTERNATIVE_LINK = "${base_bindir}/sed"
> +ALTERNATIVE_${PN} = "sed"
> +ALTERNATIVE_TARGET[sed] = "${base_bindir}/sed.${BPN}"
> +ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed"
>   ALTERNATIVE_PRIORITY = "100"
>
>   BBCLASSEXTEND = "native"
> diff --git a/meta/recipes-extended/sed/sed_4.2.1.bb b/meta/recipes-extended/sed/sed_4.2.1.bb
> index b39eca0..60d4b20 100644
> --- a/meta/recipes-extended/sed/sed_4.2.1.bb
> +++ b/meta/recipes-extended/sed/sed_4.2.1.bb
> @@ -4,7 +4,7 @@
>   LICENSE = "GPLv3+"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
>                       file://sed/sed.h;beginline=1;endline=17;md5=767ab3a06d7584f6fd0469abaec4412f"
>   SECTION = "console/utils"
> -PR = "r3"
> +PR = "r4"
>
>   SRC_URI = "${GNU_MIRROR}/sed/sed-${PV}.tar.gz"
>
> @@ -22,9 +22,9 @@
>   do_install () {
>   	rmdir ${D}${bindir}/
>   }
>
> -ALTERNATIVE_NAME = "sed"
> -ALTERNATIVE_PATH = "sed.${BPN}"
> -ALTERNATIVE_LINK = "${base_bindir}/sed"
> +ALTERNATIVE_${PN} = "sed"
> +ALTERNATIVE_TARGET[sed] = "${base_bindir}/sed.${BPN}"
> +ALTERNATIVE_LINK_NAME[sed] = "${base_bindir}/sed"
>   ALTERNATIVE_PRIORITY = "100"
>
>   BBCLASSEXTEND = "native"
>

See previous emails.. the ${BPN} still isn't needed.

--Mark



  reply	other threads:[~2012-08-01 15:27 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 14:12 This is a series of patches to update recipes that display warnings about the Morgan Little
2012-08-01 14:12 ` [PATCH 01/19] tinylogin: use new update-alternatives Morgan Little
2012-08-01 15:12   ` Mark Hatle
2012-08-01 14:12 ` [PATCH 02/19] patch: " Morgan Little
2012-08-01 15:13   ` Mark Hatle
2012-08-01 14:12 ` [PATCH 03/19] ubootchart_svn: " Morgan Little
2012-08-01 14:12 ` [PATCH 04/19] gawk: " Morgan Little
2012-08-01 14:12 ` [PATCH 05/19] less: " Morgan Little
2012-08-01 15:14   ` Mark Hatle
2012-08-01 14:12 ` [PATCH 06/19] mingetty: " Morgan Little
2012-08-01 14:12 ` [PATCH 07/19] mktemp: " Morgan Little
2012-08-01 15:15   ` Mark Hatle
2012-08-01 14:12 ` [PATCH 08/19] msmtp: " Morgan Little
2012-08-01 14:12 ` [PATCH 09/19] sed: " Morgan Little
2012-08-01 15:16   ` Mark Hatle [this message]
2012-08-01 14:12 ` [PATCH 10/19] time: " Morgan Little
2012-08-01 15:16   ` Mark Hatle
2012-08-01 14:12 ` [PATCH 11/19] wget: " Morgan Little
2012-08-01 15:16   ` Mark Hatle
2012-08-01 14:12 ` [PATCH 12/19] which: " Morgan Little
2012-08-01 15:17   ` Mark Hatle
2012-08-01 14:12 ` [PATCH 13/19] metacity: " Morgan Little
2012-08-01 14:12 ` [PATCH 14/19] matchbox-session: " Morgan Little
2012-08-01 14:12 ` [PATCH 15/19] matchbox-wm-2: " Morgan Little
2012-08-01 14:12 ` [PATCH 16/19] mini-x-session: " Morgan Little
2012-08-01 14:12 ` [PATCH 17/19] mutter: " Morgan Little
2012-08-01 14:12 ` [PATCH 18/19] powertop: " Morgan Little
2012-08-01 14:12 ` [PATCH 19/19] rxvt-unicode: " Morgan Little
2012-08-01 14:31 ` This is a series of patches to update recipes that display warnings about the Martin Jansa
2012-08-01 14:40   ` Little, Morgan

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=5019483B.30909@windriver.com \
    --to=mark.hatle@windriver.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