diff options
Diffstat (limited to 'meta')
-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 bad918c49..478f69b87 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" |