summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-09-03 14:45:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-04 12:53:07 +0100
commitc2e68c6fb9be169f274453412565cb6376770b2b (patch)
treef694c8089f59ee9b551794adf74d1e8559ebad71 /meta/recipes-kernel/oprofile/oprofileui-server_git.bb
parent125650776991e40168dcab1dca372cc3ebe1d490 (diff)
downloadpoky-c2e68c6fb9be169f274453412565cb6376770b2b.tar.gz
oprofileui-server: move initscript from qemu-config
The qemu-config initscript was only starting oprofile-server, so move it to the oprofileui-server recipe. (From OE-Core rev: 3063126e2c8ec72e900a48f7048aaf9662606792) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofileui-server_git.bb')
-rw-r--r--meta/recipes-kernel/oprofile/oprofileui-server_git.bb13
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
index b9f6a811e5..e75923f2a3 100644
--- a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb
@@ -6,8 +6,19 @@ PR = "r0"
6 6
7S = "${WORKDIR}/git" 7S = "${WORKDIR}/git"
8 8
9SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git" 9SRC_URI = "git://git.yoctoproject.org/oprofileui;protocol=git \
10 file://init"
10 11
11EXTRA_OECONF += "--disable-client --enable-server" 12EXTRA_OECONF += "--disable-client --enable-server"
12 13
13RDEPENDS_${PN} = "oprofile" 14RDEPENDS_${PN} = "oprofile"
15
16do_install_append() {
17 install -d ${D}${sysconfdir}/init.d
18 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/oprofileui-server
19}
20
21INITSCRIPT_NAME = "oprofileui-server"
22INITSCRIPT_PARAMS = "start 999 5 2 . stop 20 0 1 6 ."
23
24inherit update-rc.d