summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"