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:29 +0000 |
commit | c91fdcf3a05e55f5e800205557906c8627218665 (patch) | |
tree | 9baef44a9d3336b21a1819ad815c7a822f41a756 /meta/recipes-core | |
parent | 4217c91abae53791c27f8236e991bff2f1557784 (diff) | |
download | poky-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.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" | ||