summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-11-16 22:57:18 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-30 15:38:29 +0000
commitc91fdcf3a05e55f5e800205557906c8627218665 (patch)
tree9baef44a9d3336b21a1819ad815c7a822f41a756 /meta/recipes-core
parent4217c91abae53791c27f8236e991bff2f1557784 (diff)
downloadpoky-c91fdcf3a05e55f5e800205557906c8627218665.tar.gz
tinylogin: use u-a for getty so we can provide /sbin/getty from util-linux-agetty too
(From OE-Core rev: f218573248168268c143bac7f6304cc76d8d709a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/tinylogin/tinylogin_1.4.bb13
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."
7HOMEPAGE = "http://tinylogin.busybox.net/" 7HOMEPAGE = "http://tinylogin.busybox.net/"
8LICENSE = "GPLv2" 8LICENSE = "GPLv2"
9LIC_FILES_CHKSUM="file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269" 9LIC_FILES_CHKSUM="file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269"
10PR = "r7" 10PR = "r8"
11
12inherit update-alternatives
11 13
12SRC_URI = "http://www.angstrom-distribution.org/unstable/sources/tinylogin-${PV}.tar.bz2 \ 14SRC_URI = "http://www.angstrom-distribution.org/unstable/sources/tinylogin-${PV}.tar.bz2 \
13 file://cvs-20040608.patch \ 15 file://cvs-20040608.patch \
@@ -35,3 +37,12 @@ do_install () {
35 ln -sf /bin/tinylogin ${D}$i 37 ln -sf /bin/tinylogin ${D}$i
36 done 38 done
37} 39}
40
41do_install_append () {
42 mv ${D}${base_sbindir}/getty ${D}${base_sbindir}/getty.${PN}
43}
44
45ALTERNATIVE_NAME = "getty"
46ALTERNATIVE_LINK = "${base_sbindir}/getty"
47ALTERNATIVE_PATH = "${base_sbindir}/getty.${PN}"
48ALTERNATIVE_PRIORITY = "80"