diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-11-28 18:35:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-30 15:38:30 +0000 |
commit | 3a70e773de07bd06ab65c6ce2035d68476d99d65 (patch) | |
tree | cb38af897aa2e3fd208e5f67f60126b72bcd86ed /meta | |
parent | 8a58832280086b4f688ee1283ff6c66e04a67bd0 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-extended/mingetty/mingetty_1.08.bb | 9 |
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" | |||
2 | SECTION = "console/utils" | 2 | SECTION = "console/utils" |
3 | HOMEPAGE = "http://sourceforge.net/projects/mingetty/" | 3 | HOMEPAGE = "http://sourceforge.net/projects/mingetty/" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | PR = "r0" | 5 | PR = "r1" |
6 | 6 | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" |
8 | SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz" | 8 | SRC_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 | |||
21 | inherit update-alternatives | ||
22 | |||
23 | ALTERNATIVE_NAME = "getty" | ||
24 | ALTERNATIVE_LINK = "${base_sbindir}/getty" | ||
25 | ALTERNATIVE_PATH = "${base_sbindir}/mingetty" | ||
26 | ALTERNATIVE_PRIORITY = "50" | ||