Skip to contentSkip to conversation

lmbench: update config script

PATCH In review Chunrong Guo 2 participants 3 messages Mar 1, 2013 – Mar 13, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lmbench: update config script

From: Chunrong Guo <[email protected]>

*fix bug that can not find CONFIG file
|error: run ./results|./results: line 15: .: CONFIG.p2041rdb: file not found
* update CONFIG file path

---
 .../lmbench-3.0-a9/update-config-script.patch      |   12 ++++++++++++
 .../recipes-benchmark/lmbench/lmbench_3.0-a9.bb    |    5 +++--
 2 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch
meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch new file +12 -0
new file mode 100644
index 0000000..b46e09a
@@ -0,0 +1,12 @@
+Upstream-Status: Pending
+Index: lmbench-3.0-a9/scripts/config
+===================================================================
+--- lmbench-3.0-a9/scripts/config	2000-01-31 18:29:31.000000000 -0600
++++ lmbench-3.0-a9/scripts/config	2013-03-01 00:19:41.032984315 -0600
+@@ -3,5 +3,5 @@
+ UNAME=`uname -n 2>/dev/null`
+ if [ X$UNAME = X ]
+ then	echo CONFIG
+-else	echo CONFIG.$UNAME
++else	echo ../scripts/CONFIG.$UNAME
+ fi
meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +3 -2
index 611013e..026b067 100644
@@ -7,14 +7,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
 
 inherit autotools
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
 	   file://lmbench-run \
 	   file://rename-line-binary.patch \
 	   file://update-results-script.patch \
 	   file://obey-ranlib.patch \
-	   "
+	   file://update-config-script.patch \ 
+	  "
 SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
 SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
 
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 40 lines · Chunrong Guo

From: Chunrong Guo <[email protected]>

*fix bug that can not find CONFIG file
|error: run ./results|./results: line 15: .: CONFIG.p2041rdb: file not found
* update CONFIG file path

---
 .../lmbench-3.0-a9/update-config-script.patch      |   12 ++++++++++++
 .../recipes-benchmark/lmbench/lmbench_3.0-a9.bb    |    5 +++--
 2 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch
meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch new file +12 -0
new file mode 100644
index 0000000..b46e09a
@@ -0,0 +1,12 @@
+Upstream-Status: Pending
+Index: lmbench-3.0-a9/scripts/config
+===================================================================
+--- lmbench-3.0-a9/scripts/config	2000-01-31 18:29:31.000000000 -0600
++++ lmbench-3.0-a9/scripts/config	2013-03-01 00:19:41.032984315 -0600
+@@ -3,5 +3,5 @@
+ UNAME=`uname -n 2>/dev/null`
+ if [ X$UNAME = X ]
+ then	echo CONFIG
+-else	echo CONFIG.$UNAME
++else	echo ../scripts/CONFIG.$UNAME
+ fi
meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +0 -1
index 611013e..026b067 100644
@@ -7,14 +7,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
 
 inherit autotools
 
-PR = "r1"

meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ · line 18

Quoted 10 lines
meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +3 -1
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
 	   file://lmbench-run \
 	   file://rename-line-binary.patch \
 	   file://update-results-script.patch \
 	   file://obey-ranlib.patch \
-	   "
+	   file://update-config-script.patch \ 
+	  "

Please don't mix tabs and spaces. I know it was there before.

Quoted 12 lines
meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +0 -0
 SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
 SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
 
Signature · 8 lines
1.7.5.4



_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
Quoted 43 lines · Martin Jansa
Quoted 42 lines · Chunrong Guo

From: Chunrong Guo <[email protected]>

*fix bug that can not find CONFIG file
|error: run ./results|./results: line 15: .: CONFIG.p2041rdb: file not found
* update CONFIG file path

---
 .../lmbench-3.0-a9/update-config-script.patch      |   12 ++++++++++++
 .../recipes-benchmark/lmbench/lmbench_3.0-a9.bb    |    5 +++--
 2 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch
meta-oe/recipes-benchmark/lmbench/lmbench-3.0-a9/update-config-script.patch new file +12 -0
new file mode 100644
index 0000000..b46e09a
@@ -0,0 +1,12 @@
+Upstream-Status: Pending
+Index: lmbench-3.0-a9/scripts/config
+===================================================================
+--- lmbench-3.0-a9/scripts/config	2000-01-31 18:29:31.000000000 -0600
++++ lmbench-3.0-a9/scripts/config	2013-03-01 00:19:41.032984315 -0600
+@@ -3,5 +3,5 @@
+ UNAME=`uname -n 2>/dev/null`
+ if [ X$UNAME = X ]
+ then	echo CONFIG
+-else	echo CONFIG.$UNAME
++else	echo ../scripts/CONFIG.$UNAME
+ fi
meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +1 -1
index 611013e..026b067 100644
@@ -7,14 +7,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
 
 inherit autotools
 
-PR = "r1"
+PR = "r2"
 
Quoted 10 lines

meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ · line 18

Quoted 8 lines
meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +2 -1
 SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
 	   file://lmbench-run \
 	   file://rename-line-binary.patch \
 	   file://update-results-script.patch \
 	   file://obey-ranlib.patch \
-	   "
+	   file://update-config-script.patch \ 
+	  "

Please don't mix tabs and spaces. I know it was there before.

Fixed and applied

Quoted 16 lines
Quoted 13 lines
meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +0 -0
 SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
 SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
 
Signature · 8 lines
1.7.5.4



_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]