fbset: Replace deprecated update-alternatives syntax
authorPaul Barker <paul@paulbarker.me.uk>
Wed, 3 Apr 2013 20:11:13 +0000 (20:11 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:28:46 +0000 (08:28 -0800)
commit34cab486f0fad6915f69dc88bdd0495e5b574369
tree9dee07ed0aaa0fd4121b98c8aafb1ef00ddba0ee
parent53cdaa1ed84c88033389a55610b212971f61603d
fbset: Replace deprecated update-alternatives syntax

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 become 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 with the
exact same arguments as it was by the script generated by the old recipe.

(From meta-openembedded rev: b0fb477a11d24cc64a40f29dfd934b5e78f6cc7d)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/fbset/fbset_2.1.bb