diff options
Diffstat (limited to 'meta-networking/recipes-support/aoetools')
-rw-r--r-- | meta-networking/recipes-support/aoetools/aoetools/aoe-stat-no-bashism.patch | 27 | ||||
-rw-r--r-- | meta-networking/recipes-support/aoetools/aoetools_36.bb | 25 |
2 files changed, 52 insertions, 0 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 @@ | |||
1 | From 38c97e590fde19213f6ba31e72d1c227db869427 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Sun, 31 Aug 2014 22:28:38 -0700 | ||
4 | Subject: [PATCH] aoe-stat.in: no bashism | ||
5 | |||
6 | The checkbashisms shows there is no bashism, so use /bin/sh. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
11 | --- | ||
12 | aoe-stat.in | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/aoe-stat.in b/aoe-stat.in | ||
16 | index 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 | -- | ||
26 | 1.7.9.5 | ||
27 | |||
diff --git a/meta-networking/recipes-support/aoetools/aoetools_36.bb b/meta-networking/recipes-support/aoetools/aoetools_36.bb new file mode 100644 index 000000000..2b80ae74f --- /dev/null +++ b/meta-networking/recipes-support/aoetools/aoetools_36.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | SUMMARY = "ATA over Ethernet Tools" | ||
2 | DESCRIPTION = " \ | ||
3 | The aoetools are programs for users of the ATA over Ethernet (AoE)network \ | ||
4 | storage protocol, a simple protocol for using storage over anethernet LAN. \ | ||
5 | The vblade program (storage target) exports a blockdevice using AoE. \ | ||
6 | " | ||
7 | HOMEPAGE = "http://sourceforge.net/projects/${BPN}" | ||
8 | SECTION = "console/network" | ||
9 | LICENSE = "GPLv2" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
11 | RRECOMMENDS_${PN} = "kernel-module-aoe" | ||
12 | |||
13 | SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}/${BPN}-${PV}.tar.gz \ | ||
14 | file://aoe-stat-no-bashism.patch \ | ||
15 | " | ||
16 | SRC_URI[md5sum] = "bff30daa988a65f69d4448ce4726a6db" | ||
17 | SRC_URI[sha256sum] = "fb5e2cd0de7644cc1ec04ee3aeb43211cf7445a0c19e13d6b3ed5a8fbdf215ff" | ||
18 | |||
19 | # EXTRA_OEMAKE is typically: -e MAKEFLAGS= | ||
20 | # the -e causes problems as CFLAGS is modified in the Makefile. | ||
21 | EXTRA_OEMAKE = "" | ||
22 | |||
23 | do_install() { | ||
24 | oe_runmake DESTDIR=${D} install | ||
25 | } | ||