summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/aoetools
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-08-31 22:33:46 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2014-09-26 05:41:50 +0200
commit7d6091297f3fa1d6131dd60360f2b0103987a80f (patch)
tree4068c082b1742512bd5a18a2de17893db5b18ee5 /meta-networking/recipes-support/aoetools
parente997f028f7076fbac9c741ec77bfda0b65257d10 (diff)
downloadmeta-openembedded-7d6091297f3fa1d6131dd60360f2b0103987a80f.tar.gz
aoetools: no bashism in aoe-stat
So use /bin/sh. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta-networking/recipes-support/aoetools')
-rw-r--r--meta-networking/recipes-support/aoetools/aoetools/aoe-stat-no-bashism.patch27
-rw-r--r--meta-networking/recipes-support/aoetools/aoetools_36.bb4
2 files changed, 30 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/aoetools/aoetools/aoe-stat-no-bashism.patch b/meta-networking/recipes-support/aoetools/aoetools/aoe-stat-no-bashism.patch
new file mode 100644
index 000000000..ec89b7a53
--- /dev/null
+++ b/meta-networking/recipes-support/aoetools/aoetools/aoe-stat-no-bashism.patch
@@ -0,0 +1,27 @@
1From 38c97e590fde19213f6ba31e72d1c227db869427 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Sun, 31 Aug 2014 22:28:38 -0700
4Subject: [PATCH] aoe-stat.in: no bashism
5
6The checkbashisms shows there is no bashism, so use /bin/sh.
7
8Upstream-Status: Pending
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11---
12 aoe-stat.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/aoe-stat.in b/aoe-stat.in
16index 50e6ac6..0c1d6f5 100755
17--- a/aoe-stat.in
18+++ b/aoe-stat.in
19@@ -1,4 +1,4 @@
20-#! /bin/bash
21+#! /bin/sh
22 # aoe-stat - collate and present information about AoE storage
23 # Copyright 2012, CORAID, Inc., and licensed under GPL v.2.
24
25--
261.7.9.5
27
diff --git a/meta-networking/recipes-support/aoetools/aoetools_36.bb b/meta-networking/recipes-support/aoetools/aoetools_36.bb
index 5bb486ffb..2b80ae74f 100644
--- a/meta-networking/recipes-support/aoetools/aoetools_36.bb
+++ b/meta-networking/recipes-support/aoetools/aoetools_36.bb
@@ -10,7 +10,9 @@ LICENSE = "GPLv2"
10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
11RRECOMMENDS_${PN} = "kernel-module-aoe" 11RRECOMMENDS_${PN} = "kernel-module-aoe"
12 12
13SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}/${BPN}-${PV}.tar.gz" 13SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}/${BPN}-${PV}.tar.gz \
14 file://aoe-stat-no-bashism.patch \
15 "
14SRC_URI[md5sum] = "bff30daa988a65f69d4448ce4726a6db" 16SRC_URI[md5sum] = "bff30daa988a65f69d4448ce4726a6db"
15SRC_URI[sha256sum] = "fb5e2cd0de7644cc1ec04ee3aeb43211cf7445a0c19e13d6b3ed5a8fbdf215ff" 17SRC_URI[sha256sum] = "fb5e2cd0de7644cc1ec04ee3aeb43211cf7445a0c19e13d6b3ed5a8fbdf215ff"
16 18