diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 17:26:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:18:41 +0100 |
commit | 75a086630fdf118db3bd2bda12532370d3175081 (patch) | |
tree | 069fc6c1c180861eca60bdd0c6db62c8905f8b31 | |
parent | 04c412803b7faf7ac87621be2c03b1f17a1f6c8c (diff) | |
download | openembedded-core-75a086630fdf118db3bd2bda12532370d3175081.tar.gz openembedded-core-75a086630fdf118db3bd2bda12532370d3175081.tar.bz2 openembedded-core-75a086630fdf118db3bd2bda12532370d3175081.zip |
time: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r-- | meta/recipes-extended/time/time.inc | 8 | ||||
-rw-r--r-- | meta/recipes-extended/time/time_1.7.bb | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/meta/recipes-extended/time/time.inc b/meta/recipes-extended/time/time.inc index 8e35843a67..028da7cd02 100644 --- a/meta/recipes-extended/time/time.inc +++ b/meta/recipes-extended/time/time.inc @@ -8,11 +8,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" inherit update-alternatives -do_install_append () { - mv ${D}${bindir}/time ${D}${bindir}/time.${BPN} -} - -ALTERNATIVE_NAME = "time" -ALTERNATIVE_LINK = "${bindir}/time" -ALTERNATIVE_PATH = "${bindir}/time.${BPN}" +ALTERNATIVE_${PN} = "time" ALTERNATIVE_PRIORITY = "100" diff --git a/meta/recipes-extended/time/time_1.7.bb b/meta/recipes-extended/time/time_1.7.bb index c38608fd9e..92c5353d09 100644 --- a/meta/recipes-extended/time/time_1.7.bb +++ b/meta/recipes-extended/time/time_1.7.bb @@ -1,6 +1,6 @@ require time.inc -PR = "r1" +PR = "r2" SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \ file://debian.patch" |