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:19 +0000 |
commit | ad0d9fb794497fc747a1ad4c82cae44a47143932 (patch) | |
tree | 9de041954cabe4b93eb8a2384dc7819361ad5d7e /meta/recipes-extended/mingetty | |
parent | 9e5c69860e6b687b93e653510ceba8e1f9c6d0f5 (diff) | |
download | openembedded-core-ad0d9fb794497fc747a1ad4c82cae44a47143932.tar.gz openembedded-core-ad0d9fb794497fc747a1ad4c82cae44a47143932.tar.bz2 openembedded-core-ad0d9fb794497fc747a1ad4c82cae44a47143932.zip |
mingetty: use u-a to provide /sbin/getty (also provided by util-linux-agetty and tinylogin)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta/recipes-extended/mingetty')
-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" SECTION = "console/utils" HOMEPAGE = "http://sourceforge.net/projects/mingetty/" LICENSE = "GPLv2" -PR = "r0" +PR = "r1" LIC_FILES_CHKSUM = "file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e" SRC_URI = "http://cdnetworks-kr-1.dl.sourceforge.net/project/mingetty/mingetty/${PV}/mingetty-${PV}.tar.gz" @@ -17,3 +17,10 @@ do_install(){ mkdir -p ${D}/sbin oe_runmake install DESTDIR=${D} } + +inherit update-alternatives + +ALTERNATIVE_NAME = "getty" +ALTERNATIVE_LINK = "${base_sbindir}/getty" +ALTERNATIVE_PATH = "${base_sbindir}/mingetty" +ALTERNATIVE_PRIORITY = "50" |