diff options
-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." | |||
7 | HOMEPAGE = "http://tinylogin.busybox.net/" | 7 | HOMEPAGE = "http://tinylogin.busybox.net/" |
8 | LICENSE = "GPLv2" | 8 | LICENSE = "GPLv2" |
9 | LIC_FILES_CHKSUM="file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269" | 9 | LIC_FILES_CHKSUM="file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269" |
10 | PR = "r7" | 10 | PR = "r8" |
11 | |||
12 | inherit update-alternatives | ||
11 | 13 | ||
12 | SRC_URI = "http://www.angstrom-distribution.org/unstable/sources/tinylogin-${PV}.tar.bz2 \ | 14 | SRC_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 | |||
41 | do_install_append () { | ||
42 | mv ${D}${base_sbindir}/getty ${D}${base_sbindir}/getty.${PN} | ||
43 | } | ||
44 | |||
45 | ALTERNATIVE_NAME = "getty" | ||
46 | ALTERNATIVE_LINK = "${base_sbindir}/getty" | ||
47 | ALTERNATIVE_PATH = "${base_sbindir}/getty.${PN}" | ||
48 | ALTERNATIVE_PRIORITY = "80" | ||