diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 16:08:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:18:38 +0100 |
commit | fc408785ed2b9be00b25a725e666f6428292a418 (patch) | |
tree | e0547ba8b541ae8a47c5e03d2f1759bbdbf0c222 /meta | |
parent | 8240556c40a499aff5a405de3e28e1ed749e8ef5 (diff) | |
download | openembedded-core-fc408785ed2b9be00b25a725e666f6428292a418.tar.gz openembedded-core-fc408785ed2b9be00b25a725e666f6428292a418.tar.bz2 openembedded-core-fc408785ed2b9be00b25a725e666f6428292a418.zip |
tinylogin: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/tinylogin/tinylogin_1.4.bb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/meta/recipes-core/tinylogin/tinylogin_1.4.bb b/meta/recipes-core/tinylogin/tinylogin_1.4.bb index 195f0c7212..aaed92aad2 100644 --- a/meta/recipes-core/tinylogin/tinylogin_1.4.bb +++ b/meta/recipes-core/tinylogin/tinylogin_1.4.bb @@ -7,7 +7,7 @@ and groups on an embedded system." HOMEPAGE = "http://tinylogin.busybox.net/" LICENSE = "GPLv2" LIC_FILES_CHKSUM="file://LICENSE;md5=f1060fa3a366f098b5b1d8c2077ba269" -PR = "r8" +PR = "r9" inherit update-alternatives @@ -38,11 +38,6 @@ do_install () { done } -do_install_append () { - mv ${D}${base_sbindir}/getty ${D}${base_sbindir}/getty.${BPN} -} - -ALTERNATIVE_NAME = "getty" -ALTERNATIVE_LINK = "${base_sbindir}/getty" -ALTERNATIVE_PATH = "${base_sbindir}/getty.${BPN}" +ALTERNATIVE_${PN} = "getty" +ALTERNATIVE_LINK_NAME[getty] = "${base_sbindir}/getty" ALTERNATIVE_PRIORITY = "80" |