All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] bonnie++: update to version 1.03e
@ 2014-04-11  1:50 jackie.huang
  2014-04-20  9:15 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: jackie.huang @ 2014-04-11  1:50 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

Changes:
* use BPN in the file name in SRC_URI.
* install binaries in bindir and sbindir instead of base_bindir and base_sbindir.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../{bonnie++_1.03c.bb => bonnie++_1.03e.bb}       |   22 +++++++++-----------
 1 file changed, 10 insertions(+), 12 deletions(-)
 rename meta-oe/recipes-benchmark/bonnie/{bonnie++_1.03c.bb => bonnie++_1.03e.bb} (48%)

diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb
similarity index 48%
rename from meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb
rename to meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb
index bff0d72..828d762 100644
--- a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb
+++ b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb
@@ -1,13 +1,14 @@
 SUMMARY = "Tests large file IO and creation/deletion of small files"
 HOMEPAGE = "http://www.coker.com.au/bonnie++/"
+SECTION = "benchmark/tests"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0"
 
-SRC_URI = "http://www.coker.com.au/bonnie++/bonnie++-${PV}.tgz \
+SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}-${PV}.tgz \
            file://gcc-4.3-fixes.patch \
 "
-SRC_URI[md5sum] = "77a1ba78f37bdd7f024b67e1e36ad151"
-SRC_URI[sha256sum] = "c674f1182f4c20f1e6d038feceb0a6617fc3e7658dfbbac89396043b49612a26"
+SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968"
+SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb"
 
 inherit autotools
 
@@ -17,16 +18,13 @@ EXES = "bonnie++ zcav"
 TARGET_CC_ARCH += "${LDFLAGS}"
 
 do_install () {
-    install -d ${D}/bin
-    install -d ${D}/sbin
-    install -m 0755 ${EXES} ${D}/sbin
-    install -m 0755 ${SCRIPTS} ${D}/bin
+    install -d ${D}/${bindir}
+    install -d ${D}/${sbindir}
+    install -m 0755 ${EXES} ${D}/${sbindir}
+    install -m 0755 ${SCRIPTS} ${D}/${bindir}
 }
 
 PACKAGES =+ "bonnie-scripts"
 
-FILES_${PN} = "${base_sbindir}"
-FILES_bonnie-scripts = "${base_bindir}"
-
-
-
+FILES_${PN} = "${sbindir}"
+FILES_bonnie-scripts = "${bindir}"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] bonnie++: update to version 1.03e
  2014-04-11  1:50 [PATCH v2] bonnie++: update to version 1.03e jackie.huang
@ 2014-04-20  9:15 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2014-04-20  9:15 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2745 bytes --]

On Fri, Apr 11, 2014 at 09:50:13AM +0800, jackie.huang@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>

Merged, thanks.
> 
> Changes:
> * use BPN in the file name in SRC_URI.
> * install binaries in bindir and sbindir instead of base_bindir and base_sbindir.
> 
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
>  .../{bonnie++_1.03c.bb => bonnie++_1.03e.bb}       |   22 +++++++++-----------
>  1 file changed, 10 insertions(+), 12 deletions(-)
>  rename meta-oe/recipes-benchmark/bonnie/{bonnie++_1.03c.bb => bonnie++_1.03e.bb} (48%)
> 
> diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb
> similarity index 48%
> rename from meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb
> rename to meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb
> index bff0d72..828d762 100644
> --- a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb
> +++ b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03e.bb
> @@ -1,13 +1,14 @@
>  SUMMARY = "Tests large file IO and creation/deletion of small files"
>  HOMEPAGE = "http://www.coker.com.au/bonnie++/"
> +SECTION = "benchmark/tests"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0"
>  
> -SRC_URI = "http://www.coker.com.au/bonnie++/bonnie++-${PV}.tgz \
> +SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}-${PV}.tgz \
>             file://gcc-4.3-fixes.patch \
>  "
> -SRC_URI[md5sum] = "77a1ba78f37bdd7f024b67e1e36ad151"
> -SRC_URI[sha256sum] = "c674f1182f4c20f1e6d038feceb0a6617fc3e7658dfbbac89396043b49612a26"
> +SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968"
> +SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb"
>  
>  inherit autotools
>  
> @@ -17,16 +18,13 @@ EXES = "bonnie++ zcav"
>  TARGET_CC_ARCH += "${LDFLAGS}"
>  
>  do_install () {
> -    install -d ${D}/bin
> -    install -d ${D}/sbin
> -    install -m 0755 ${EXES} ${D}/sbin
> -    install -m 0755 ${SCRIPTS} ${D}/bin
> +    install -d ${D}/${bindir}
> +    install -d ${D}/${sbindir}
> +    install -m 0755 ${EXES} ${D}/${sbindir}
> +    install -m 0755 ${SCRIPTS} ${D}/${bindir}
>  }
>  
>  PACKAGES =+ "bonnie-scripts"
>  
> -FILES_${PN} = "${base_sbindir}"
> -FILES_bonnie-scripts = "${base_bindir}"
> -
> -
> -
> +FILES_${PN} = "${sbindir}"
> +FILES_bonnie-scripts = "${bindir}"
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-20  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-11  1:50 [PATCH v2] bonnie++: update to version 1.03e jackie.huang
2014-04-20  9:15 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.