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:26:34 +0100 |
| commit | a26ab59eeef89cd57fa99b3f5827b519ed8c5c16 (patch) | |
| tree | 9439fe15e6706957cc60df2c50b4df51e7b448ae | |
| parent | 9ed6b34541d904b9a297316790783c2c53997a44 (diff) | |
| download | poky-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.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 | |||
| 13 | EXTRA_OEMAKE = "CC='${CC}'" | 13 | EXTRA_OEMAKE = "CC='${CC}'" |
| 14 | 14 | ||
| 15 | do_install(){ | 15 | do_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 | ||
| 21 | inherit update-alternatives | 20 | inherit update-alternatives |
| 22 | 21 | ||
| 23 | ALTERNATIVE_NAME = "getty" | 22 | ALTERNATIVE_${PN} = "getty" |
| 24 | ALTERNATIVE_LINK = "${base_sbindir}/getty" | 23 | ALTERNATIVE_LINK_NAME[getty] = "${base_sbindir}/getty" |
| 25 | ALTERNATIVE_PATH = "${base_sbindir}/mingetty" | 24 | ALTERNATIVE_TARGET[getty] = "${base_sbindir}/mingetty" |
| 26 | ALTERNATIVE_PRIORITY = "50" | 25 | ALTERNATIVE_PRIORITY = "50" |
