diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-11-16 22:57:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-30 15:38:19 +0000 |
commit | f218573248168268c143bac7f6304cc76d8d709a (patch) | |
tree | 70c97b9e3dc8c90b9a59de25c1d1d7f8ee4979f2 | |
parent | 82414933a98b30f48507858e7fc22b349a4f8dab (diff) | |
download | openembedded-core-f218573248168268c143bac7f6304cc76d8d709a.tar.gz openembedded-core-f218573248168268c143bac7f6304cc76d8d709a.tar.bz2 openembedded-core-f218573248168268c143bac7f6304cc76d8d709a.zip |
tinylogin: use u-a for getty so we can provide /sbin/getty from util-linux-agetty too
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta/recipes-core/tinylogin/tinylogin_1.4.bb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-core/tinylogin/tinylogin_1.4.bb b/meta/recipes-core/tinylogin/tinylogin_1.4.bb index bad918c491..478f69b879 100644 --- a/meta/recipes-core/tinylogin/tinylogin_1.4.bb +++ b/meta/recipes-core/tinylogin/tinylogin_1.4.bb @@ -7,7 +7,9 @@ and groups on an embedded system." HOMEPAGE = "http://tinylogin.busybox.net/" LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269" -PR = "r7" +PR = "r8" + +inherit update-alternatives SRC_URI = "http://www.angstrom-distribution.org/unstable/sources/tinylogin-${PV}.tar.bz2 \ file://cvs-20040608.patch \ @@ -35,3 +37,12 @@ do_install () { ln -sf /bin/tinylogin ${D}$i done } + +do_install_append () { + mv ${D}${base_sbindir}/getty ${D}${base_sbindir}/getty.${PN} +} + +ALTERNATIVE_NAME = "getty" +ALTERNATIVE_LINK = "${base_sbindir}/getty" +ALTERNATIVE_PATH = "${base_sbindir}/getty.${PN}" +ALTERNATIVE_PRIORITY = "80" |