diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 17:17:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:18:41 +0100 |
commit | eb541c4eac5f87be6bf30f32096bc1adacb883af (patch) | |
tree | adeb591dc57a31bce90b2b1694a788b8d89a2058 | |
parent | 3c9361606e458ffe3fec1eef621998ab887894c2 (diff) | |
download | openembedded-core-eb541c4eac5f87be6bf30f32096bc1adacb883af.tar.gz openembedded-core-eb541c4eac5f87be6bf30f32096bc1adacb883af.tar.bz2 openembedded-core-eb541c4eac5f87be6bf30f32096bc1adacb883af.zip |
mingetty: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | meta/recipes-extended/mingetty/mingetty_1.08.bb | 9 |
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 EXTRA_OEMAKE = "CC='${CC}'" do_install(){ - mkdir -p ${D}${mandir}/man8 - mkdir -p ${D}${base_sbindir} + install -d ${D}${mandir}/man8 ${D}/${base_sbindir} oe_runmake install DESTDIR=${D} } inherit update-alternatives -ALTERNATIVE_NAME = "getty" -ALTERNATIVE_LINK = "${base_sbindir}/getty" -ALTERNATIVE_PATH = "${base_sbindir}/mingetty" +ALTERNATIVE_${PN} = "getty" +ALTERNATIVE_LINK_NAME[getty] = "${base_sbindir}/getty" +ALTERNATIVE_TARGET[getty] = "${base_sbindir}/mingetty" ALTERNATIVE_PRIORITY = "50" |