diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-08-27 08:57:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-28 15:12:44 +0100 |
commit | bdf14c7dc06054efdf626ad425bda24388e6019e (patch) | |
tree | fe912b9d7bbb7e6837b9e9b4d01dc464e53dbd6e | |
parent | b2dab1f6b0a0936c9a8136896544a684fedcbb25 (diff) | |
download | poky-bdf14c7dc06054efdf626ad425bda24388e6019e.tar.gz |
bootchart2: no bashism in bootchartd.in
So use /bin/sh
(From OE-Core rev: bd96d929345e90d121f7a5d40fde382a4f83796b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch | 27 | ||||
-rw-r--r-- | meta/recipes-devtools/bootchart2/bootchart2_git.bb | 6 |
2 files changed, 31 insertions, 2 deletions
diff --git a/meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch b/meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch new file mode 100644 index 0000000000..b013995a0d --- /dev/null +++ b/meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From ffb5bae5d588aaea6325623462a8070a04767196 Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Thu, 14 Aug 2014 08:33:28 -0700 | ||
4 | Subject: [PATCH] bootchartd.in: no bashism | ||
5 | |||
6 | No bashism in bootchartd.in, so use /bin/sh. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
11 | --- | ||
12 | bootchartd.in | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/bootchartd.in b/bootchartd.in | ||
16 | index a408bab..064f6a4 100755 | ||
17 | --- a/bootchartd.in | ||
18 | +++ b/bootchartd.in | ||
19 | @@ -1,4 +1,4 @@ | ||
20 | -#!/bin/bash | ||
21 | +#!/bin/sh | ||
22 | # | ||
23 | # Bootchart logger script | ||
24 | # Ziga Mahkovec <ziga.mahkovec@klika.si> | ||
25 | -- | ||
26 | 1.7.9.5 | ||
27 | |||
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_git.bb index 411630491f..04fb901b68 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_git.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_git.bb | |||
@@ -91,8 +91,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=44ac4678311254db62edf8fd39cb8124" | |||
91 | # one commit beyond 1.14.6 for a systemd-related bugfix | 91 | # one commit beyond 1.14.6 for a systemd-related bugfix |
92 | PV = "0.14.6+git${SRCPV}" | 92 | PV = "0.14.6+git${SRCPV}" |
93 | 93 | ||
94 | SRC_URI = "git://github.com/mmeeks/bootchart.git" | 94 | SRC_URI = "git://github.com/mmeeks/bootchart.git \ |
95 | SRC_URI += "file://bootchartd_stop.sh" | 95 | file://bootchartd_stop.sh \ |
96 | file://bootchartd-no-bashism.patch \ | ||
97 | " | ||
96 | 98 | ||
97 | SRCREV = "b65ed43b0ae832080fb728245de9ef1a4b48d8b5" | 99 | SRCREV = "b65ed43b0ae832080fb728245de9ef1a4b48d8b5" |
98 | 100 | ||