From 744fb15df985e74adbb2b03e4543c2fd66adee86 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 26 Jul 2012 16:10:04 -0700 Subject: ubootchart: cleanup update-alternatives deprecated code Signed-off-by: Saul Wold --- meta/recipes-devtools/ubootchart/ubootchart_svn.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-devtools/ubootchart') 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() { -- cgit v1.2.3