From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Swapz-0001N4-M1 for openembedded-core@lists.openembedded.org; Wed, 01 Aug 2012 17:27:52 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id q71FGCLF019815 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 1 Aug 2012 08:16:12 -0700 (PDT) Received: from Marks-MacBook-Pro.local (172.25.34.39) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.309.2; Wed, 1 Aug 2012 08:16:11 -0700 Message-ID: <5019483B.30909@windriver.com> Date: Wed, 1 Aug 2012 10:16:11 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: References: <1343830340-25351-1-git-send-email-morgan.little@windriver.com> <1343830340-25351-10-git-send-email-morgan.little@windriver.com> In-Reply-To: <1343830340-25351-10-git-send-email-morgan.little@windriver.com> Subject: Re: [PATCH 09/19] sed: use new update-alternatives X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2012 15:27:52 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 8/1/12 9:12 AM, Morgan Little wrote: > > Signed-off-by: Morgan Little > --- > 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