summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/time
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2011-11-11 13:23:05 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-15 12:05:28 +0000
commit4cedec6e16a6a25c4e0715489af418ba944c1f86 (patch)
tree109c2849f793eab657d352cb85b0132ce962b036 /meta/recipes-extended/time
parentf7388d20c2d6ed282a1503760109b56ff5849065 (diff)
downloadast2050-yocto-poky-4cedec6e16a6a25c4e0715489af418ba944c1f86.zip
ast2050-yocto-poky-4cedec6e16a6a25c4e0715489af418ba944c1f86.tar.gz
time: use u-a for time, conflicts with busybox
* it was reported here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009409.html (From OE-Core rev: 4ed8241b58ad3180311fc20cb6ef26acf44058b4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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.inc10
-rw-r--r--meta/recipes-extended/time/time_1.7.bb2
2 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-extended/time/time.inc b/meta/recipes-extended/time/time.inc
index 2d9dab8..401288b 100644
--- a/meta/recipes-extended/time/time.inc
+++ b/meta/recipes-extended/time/time.inc
@@ -6,3 +6,13 @@ SECTION = "utils"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
+inherit update-alternatives
+
+do_install_append () {
+ mv ${D}${bindir}/time ${D}${bindir}/time.${PN}
+}
+
+ALTERNATIVE_NAME = "time"
+ALTERNATIVE_LINK = "${bindir}/time"
+ALTERNATIVE_PATH = "${bindir}/time.${PN}"
+ALTERNATIVE_PRIORITY = "100"
diff --git a/meta/recipes-extended/time/time_1.7.bb b/meta/recipes-extended/time/time_1.7.bb
index 35afb1e..c38608f 100644
--- a/meta/recipes-extended/time/time_1.7.bb
+++ b/meta/recipes-extended/time/time_1.7.bb
@@ -1,5 +1,7 @@
require time.inc
+PR = "r1"
+
SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \
file://debian.patch"
OpenPOWER on IntegriCloud