summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:10:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:39 +0100
commit744fb15df985e74adbb2b03e4543c2fd66adee86 (patch)
tree91a018384b569159b2631819ab253425a9aaa4d8 /meta/recipes-devtools
parent6a76ad8a45b4e099703c051d759f687904442713 (diff)
downloadopenembedded-core-744fb15df985e74adbb2b03e4543c2fd66adee86.tar.gz
openembedded-core-744fb15df985e74adbb2b03e4543c2fd66adee86.tar.bz2
openembedded-core-744fb15df985e74adbb2b03e4543c2fd66adee86.zip
ubootchart: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/ubootchart/ubootchart_svn.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/ubootchart/ubootchart_svn.bb b/meta/recipes-devtools/ubootchart/ubootchart_svn.bb
index 843024cfb0..8cdedf9005 100644
--- a/meta/recipes-devtools/ubootchart/ubootchart_svn.bb
+++ b/meta/recipes-devtools/ubootchart/ubootchart_svn.bb
@@ -17,9 +17,9 @@ S = "${WORKDIR}/trunk"
inherit update-alternatives
-ALTERNATIVE_NAME = "init"
-ALTERNATIVE_LINK = "${base_sbindir}/init"
-ALTERNATIVE_PATH = "${base_sbindir}/ubootchartd"
+ALTERNATIVE_${PN} = "init"
+ALTERNATIVE_TARGET[init] = "${base_sbindir}/ubootchartd"
+ALTERNATIVE_LINK_NAME[init] = "${base_sbindir}/init"
ALTERNATIVE_PRIORITY = "70"
do_compile() {