summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/bootchart2/bootchart2
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/bootchart2/bootchart2')
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/bootchartd-no-bashism.patch27
-rw-r--r--meta/recipes-devtools/bootchart2/bootchart2/bootchartd_stop.sh18
2 files changed, 45 insertions, 0 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 @@
1From ffb5bae5d588aaea6325623462a8070a04767196 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 14 Aug 2014 08:33:28 -0700
4Subject: [PATCH] bootchartd.in: no bashism
5
6No bashism in bootchartd.in, so use /bin/sh.
7
8Upstream-Status: Pending
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11---
12 bootchartd.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/bootchartd.in b/bootchartd.in
16index 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--
261.7.9.5
27
diff --git a/meta/recipes-devtools/bootchart2/bootchart2/bootchartd_stop.sh b/meta/recipes-devtools/bootchart2/bootchart2/bootchartd_stop.sh
new file mode 100644
index 0000000000..21a78877a2
--- /dev/null
+++ b/meta/recipes-devtools/bootchart2/bootchart2/bootchartd_stop.sh
@@ -0,0 +1,18 @@
1#!/bin/sh
2### BEGIN INIT INFO
3# Provides: bootchartd_stop
4# Required-Start: $remote_fs $all
5# Required-Stop:
6# Default-Start: 2 3 4 5
7# Default-Stop:
8# Short-Description: Stop bootchartd collection
9# Description: This script accompanies bootchartd from bootchart2.
10# bootchartd should stop detect the end of the boot process
11# automatically if a window manager is launched, but for
12# command-line only operating systems, this script should be
13# used instead.
14### END INIT INFO
15
16/sbin/bootchartd stop
17
18: exit 0