summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mingetty
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-11-28 18:35:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-30 15:38:30 +0000
commit3a70e773de07bd06ab65c6ce2035d68476d99d65 (patch)
treecb38af897aa2e3fd208e5f67f60126b72bcd86ed /meta/recipes-extended/mingetty
parent8a58832280086b4f688ee1283ff6c66e04a67bd0 (diff)
downloadpoky-3a70e773de07bd06ab65c6ce2035d68476d99d65.tar.gz
mingetty: use u-a to provide /sbin/getty (also provided by util-linux-agetty and tinylogin)
(From OE-Core rev: ad0d9fb794497fc747a1ad4c82cae44a47143932) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mingetty')
-rw-r--r--meta/recipes-extended/mingetty/mingetty_1.08.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-extended/mingetty/mingetty_1.08.bb b/meta/recipes-extended/mingetty/mingetty_1.08.bb
index ce4b3d4896..fed5dfdabb 100644
--- a/meta/recipes-extended/mingetty/mingetty_1.08.bb
+++ b/meta/recipes-extended/mingetty/mingetty_1.08.bb
@@ -2,7 +2,7 @@ DESCRIPTION = " A compact getty program for virtual consoles only"
2SECTION = "console/utils" 2SECTION = "console/utils"
3HOMEPAGE = "http://sourceforge.net/projects/mingetty/" 3HOMEPAGE = "http://sourceforge.net/projects/mingetty/"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5PR = "r0" 5PR = "r1"
6 6
7LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" 7LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e"
8SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz" 8SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz"
@@ -17,3 +17,10 @@ do_install(){
17 mkdir -p ${D}/sbin 17 mkdir -p ${D}/sbin
18 oe_runmake install DESTDIR=${D} 18 oe_runmake install DESTDIR=${D}
19} 19}
20
21inherit update-alternatives
22
23ALTERNATIVE_NAME = "getty"
24ALTERNATIVE_LINK = "${base_sbindir}/getty"
25ALTERNATIVE_PATH = "${base_sbindir}/mingetty"
26ALTERNATIVE_PRIORITY = "50"