summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/fbset/fbset_2.1.bb
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2013-04-03 20:11:13 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-08 14:12:24 +0200
commitb0fb477a11d24cc64a40f29dfd934b5e78f6cc7d (patch)
treec76afc6d10ed8dd6ba0829c08b00194d392b7da5 /meta-oe/recipes-support/fbset/fbset_2.1.bb
parentcbe69cab46335b48de85001f7dd07da765ba8b7b (diff)
downloadmeta-openembedded-b0fb477a11d24cc64a40f29dfd934b5e78f6cc7d.tar.gz
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. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/fbset/fbset_2.1.bb')
-rw-r--r--meta-oe/recipes-support/fbset/fbset_2.1.bb10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta-oe/recipes-support/fbset/fbset_2.1.bb b/meta-oe/recipes-support/fbset/fbset_2.1.bb
index 12c1c944e..9fe2728d2 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() {
27 install -m 0644 ${WORKDIR}/${P}/*.8 ${D}${datadir}/man/man8 27 install -m 0644 ${WORKDIR}/${P}/*.8 ${D}${datadir}/man/man8
28} 28}
29 29
30ALTERNATIVE_NAME = "fbset" 30ALTERNATIVE_fbset = "fbset"
31ALTERNATIVE_LINK = "${sbindir}/${ALTERNATIVE_NAME}" 31ALTERNATIVE_LINK_NAME[fbset] = "${sbindir}/fbset"
32ALTERNATIVE_PATH = "${sbindir}/fbset.real" 32ALTERNATIVE_TARGET[fbset] = "${sbindir}/fbset.real"
33ALTERNATIVE_PRIORITY = "55" 33ALTERNATIVE_PRIORITY[fbset] = "55"
34
35
36 34
37SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459" 35SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459"
38SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338" 36SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338"