From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pb0-f45.google.com ([209.85.160.45]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UQIUu-0001pF-2U for openembedded-devel@lists.openembedded.org; Thu, 11 Apr 2013 16:29:11 +0200 Received: by mail-pb0-f45.google.com with SMTP id ro12so876650pbb.32 for ; Thu, 11 Apr 2013 07:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=2FKmvdQh2KfZwkEAN98egUV382tKO0XD9LAAwEIO/Oo=; b=uUb7S0bDnSiDHIxATt8+8QvS/tye4QdvQZJe5xDmyV4Lg87mxfBWrcbMqvMJlMLsbw B+7d6CLW/R9rUD/lX+O0Z9F0xtPrD8on9/zVv2QSIBUkv02J4RKIfS6K4EPm23fP5+To yL9VhtzH0hEmAf+4nCAiFlaVqfiNgVJe8j3ylUOcV13sV9xyPdxwvhS3oQ7aEwnxHfGS H2X3MDf10KzXpPuJkwaaNpi1PpMVxX8G68C4sGJm/WX1mIxDgojKMhdLs8weA75mkUDt j8c0E2IeLYM6fJqtWKtFPZFb28amDcdP89vNrq/bFlJsABrRgJ9P5tYOPWXFPzSWIHMw d+ug== X-Received: by 10.66.82.132 with SMTP id i4mr9714291pay.172.1365689504346; Thu, 11 Apr 2013 07:11:44 -0700 (PDT) Received: from localhost (ip-62-24-80-7.net.upcbroadband.cz. [62.24.80.7]) by mx.google.com with ESMTPS id ao5sm2288287pbc.25.2013.04.11.07.11.41 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Apr 2013 07:11:43 -0700 (PDT) Date: Thu, 11 Apr 2013 16:11:36 +0200 From: Martin Jansa To: openembedded-devel@lists.openembedded.org Message-ID: <20130411141136.GG2477@jama> References: <1365019873-30178-1-git-send-email-paul@paulbarker.me.uk> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [meta-oe][PATCH] fbset: Replace deprecated update-alternatives syntax X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2013 14:29:11 -0000 X-Groupsio-MsgNum: 44074 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zGQnqpIoxlsbsOfg" Content-Disposition: inline --zGQnqpIoxlsbsOfg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 11, 2013 at 03:02:44PM +0100, Paul Barker wrote: > Is this patch useful? Yes and already applied, thanks! http://git.openembedded.org/meta-openembedded/commit/?id=3Db0fb477a11d24cc6= 4a40f29dfd934b5e78f6cc7d >=20 > On 3 April 2013 21:11, Paul Barker wrote: > > Building fbset gave the following warning: > > > > WARNING: fbset: Use of ALTERNATIVE_NAME is deprecated, see > > update-alternatives.bbclass for more info. > > > > update-alternatives.bbclass states that this warning will eventually be= come an > > error so this is worth fixing. > > > > The use of deprecated syntax is replaced with current syntax to do the = same > > thing. To test that this works, a .deb package was created and the post= -install > > script was checked to ensure that update-alternatives would be called w= ith the > > exact same arguments as it was by the script generated by the old recip= e. > > > > Signed-off-by: Paul Barker > > --- > > meta-oe/recipes-support/fbset/fbset_2.1.bb | 10 ++++------ > > 1 file changed, 4 insertions(+), 6 deletions(-) > > > > diff --git a/meta-oe/recipes-support/fbset/fbset_2.1.bb b/meta-oe/recip= es-support/fbset/fbset_2.1.bb > > index 12c1c94..9fe2728 100644 > > --- a/meta-oe/recipes-support/fbset/fbset_2.1.bb > > +++ b/meta-oe/recipes-support/fbset/fbset_2.1.bb > > @@ -27,12 +27,10 @@ do_install() { > > install -m 0644 ${WORKDIR}/${P}/*.8 ${D}${datadir}/man/man8 > > } > > > > -ALTERNATIVE_NAME =3D "fbset" > > -ALTERNATIVE_LINK =3D "${sbindir}/${ALTERNATIVE_NAME}" > > -ALTERNATIVE_PATH =3D "${sbindir}/fbset.real" > > -ALTERNATIVE_PRIORITY =3D "55" > > - > > - > > +ALTERNATIVE_fbset =3D "fbset" > > +ALTERNATIVE_LINK_NAME[fbset] =3D "${sbindir}/fbset" > > +ALTERNATIVE_TARGET[fbset] =3D "${sbindir}/fbset.real" > > +ALTERNATIVE_PRIORITY[fbset] =3D "55" > > > > SRC_URI[md5sum] =3D "40ed9608f46d787bfb65fd1269f7f459" > > SRC_URI[sha256sum] =3D "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0= c899e34490bbea9338" > > -- > > 1.7.10.4 > > >=20 >=20 >=20 > -- > Paul Barker >=20 > Email: paul@paulbarker.me.uk > http://www.paulbarker.me.uk >=20 > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel --=20 Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com --zGQnqpIoxlsbsOfg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFmxJgACgkQN1Ujt2V2gBw6tACgk8ITR0exRuA2JuvB5epGFmDO togAn1X+Pu2PMQ7NNbZ5qcAAtDidb/4A =HSGS -----END PGP SIGNATURE----- --zGQnqpIoxlsbsOfg--