summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-09-04 04:42:29 -0400
committerKhem Raj <raj.khem@gmail.com>2019-09-04 08:56:30 -0700
commit1706197678cdb7de787e0dbd4b6c0f3ece15ffaa (patch)
treebd419593787d47b01614eb1fa7942f33861a1cb4 /meta-oe
parente3485d0cf555cd751cf738f51064c574f6a60e2a (diff)
downloadmeta-openembedded-1706197678cdb7de787e0dbd4b6c0f3ece15ffaa.tar.gz
lmbench: update script lmbench-run
Remove BINDIR in script lmbench-run which is useless and causes multilib file confliction: | Error: Transaction check error: | file /usr/bin/lmbench-run conflicts between attempted installs of lmbench-3.0+a9-r2.core2_64 and lib32-lmbench-3.0+a9-r2.core2_32 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run1
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb5
2 files changed, 2 insertions, 4 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run b/meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run
index e904c75e4..2716bf935 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench/lmbench-run
@@ -4,7 +4,6 @@
4# Javier Fernandez-Sanguino. 4# Javier Fernandez-Sanguino.
5# Distributed under the GPL 5# Distributed under the GPL
6SHAREDIR=/usr/share/lmbench/ 6SHAREDIR=/usr/share/lmbench/
7BINDIR=/usr/lib/lmbench/
8SCRIPTSDIR=$SHAREDIR/scripts 7SCRIPTSDIR=$SHAREDIR/scripts
9RESULTSDIR=$SHAREDIR/results 8RESULTSDIR=$SHAREDIR/results
10CONFIG=/var/lib/lmbench/config/`$SCRIPTSDIR/config` 9CONFIG=/var/lib/lmbench/config/`$SCRIPTSDIR/config`
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index 8e6e803a8..7e20b7da6 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -54,7 +54,7 @@ do_compile () {
54 54
55do_install () { 55do_install () {
56 install -d ${D}${sysconfdir}/default/volatiles \ 56 install -d ${D}${sysconfdir}/default/volatiles \
57 ${D}${bindir} ${D}${mandir} ${D}${libdir}/lmbench \ 57 ${D}${bindir} ${D}${mandir} \
58 ${D}${datadir}/lmbench/scripts 58 ${D}${datadir}/lmbench/scripts
59 59
60 echo "d root root 0755 ${localstatedir}/run/${BPN} none" \ 60 echo "d root root 0755 ${localstatedir}/run/${BPN} none" \
@@ -71,7 +71,6 @@ do_install () {
71 mv ${D}${bindir}/line ${D}${bindir}/lm_line 71 mv ${D}${bindir}/line ${D}${bindir}/lm_line
72 install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ 72 install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
73 sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \ 73 sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
74 -e 's,^BINDIR=.*$,BINDIR=${libdir}/${BPN},;' \
75 -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \ 74 -e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
76 ${D}${bindir}/lmbench-run 75 ${D}${bindir}/lmbench-run
77 install -m 0755 ${S}/scripts/lmbench ${D}${bindir} 76 install -m 0755 ${S}/scripts/lmbench ${D}${bindir}
@@ -89,4 +88,4 @@ pkg_postinst_${PN} () {
89} 88}
90 89
91RDEPENDS_${PN} = "perl" 90RDEPENDS_${PN} = "perl"
92FILES_${PN} += "${datadir}/lmbench ${libdir}/lmbench" 91FILES_${PN} += "${datadir}/lmbench"