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:26:35 +0100 |
commit | 81a9c1313deb6904728edb53288a623809321038 (patch) | |
tree | e35f11303ace8c7de762998f9b73fc8e0d23086b /meta/recipes-extended/time | |
parent | 03c4940ec974b03baa5b0cd6d3513477ba2f40cb (diff) | |
download | poky-81a9c1313deb6904728edb53288a623809321038.tar.gz |
time: cleanup update-alternatives deprecated code
(From OE-Core rev: 75a086630fdf118db3bd2bda12532370d3175081)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/time')
-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" | |||
8 | 8 | ||
9 | inherit update-alternatives | 9 | inherit update-alternatives |
10 | 10 | ||
11 | do_install_append () { | 11 | ALTERNATIVE_${PN} = "time" |
12 | mv ${D}${bindir}/time ${D}${bindir}/time.${BPN} | ||
13 | } | ||
14 | |||
15 | ALTERNATIVE_NAME = "time" | ||
16 | ALTERNATIVE_LINK = "${bindir}/time" | ||
17 | ALTERNATIVE_PATH = "${bindir}/time.${BPN}" | ||
18 | ALTERNATIVE_PRIORITY = "100" | 12 | 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 @@ | |||
1 | require time.inc | 1 | require time.inc |
2 | 2 | ||
3 | PR = "r1" | 3 | PR = "r2" |
4 | 4 | ||
5 | SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \ | 5 | SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \ |
6 | file://debian.patch" | 6 | file://debian.patch" |