summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 17:17:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:34 +0100
commita26ab59eeef89cd57fa99b3f5827b519ed8c5c16 (patch)
tree9439fe15e6706957cc60df2c50b4df51e7b448ae
parent9ed6b34541d904b9a297316790783c2c53997a44 (diff)
downloadpoky-a26ab59eeef89cd57fa99b3f5827b519ed8c5c16.tar.gz
mingetty: cleanup update-alternatives deprecated code
(From OE-Core rev: eb541c4eac5f87be6bf30f32096bc1adacb883af) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/mingetty/mingetty_1.08.bb9
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-extended/mingetty/mingetty_1.08.bb b/meta/recipes-extended/mingetty/mingetty_1.08.bb
index a1f9eb287b..235a3be62c 100644
--- a/meta/recipes-extended/mingetty/mingetty_1.08.bb
+++ b/meta/recipes-extended/mingetty/mingetty_1.08.bb
@@ -13,14 +13,13 @@ SRC_URI[sha256sum] = "0f55c90ba4faa913d91ef99cbf5cb2eb4dbe2780314c3bb17953f849c8
13EXTRA_OEMAKE = "CC='${CC}'" 13EXTRA_OEMAKE = "CC='${CC}'"
14 14
15do_install(){ 15do_install(){
16 mkdir -p ${D}${mandir}/man8 16 install -d ${D}${mandir}/man8 ${D}/${base_sbindir}
17 mkdir -p ${D}${base_sbindir}
18 oe_runmake install DESTDIR=${D} 17 oe_runmake install DESTDIR=${D}
19} 18}
20 19
21inherit update-alternatives 20inherit update-alternatives
22 21
23ALTERNATIVE_NAME = "getty" 22ALTERNATIVE_${PN} = "getty"
24ALTERNATIVE_LINK = "${base_sbindir}/getty" 23ALTERNATIVE_LINK_NAME[getty] = "${base_sbindir}/getty"
25ALTERNATIVE_PATH = "${base_sbindir}/mingetty" 24ALTERNATIVE_TARGET[getty] = "${base_sbindir}/mingetty"
26ALTERNATIVE_PRIORITY = "50" 25ALTERNATIVE_PRIORITY = "50"