summaryrefslogtreecommitdiffstats
path: root/meta/packages/oh/qemu-config.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-23 17:00:31 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-23 17:00:31 +0000
commit21441368996e0724d7488307254e3029d8b07b8a (patch)
treeea62d15e1ae746f7ff2097ab77f8fa034e66af35 /meta/packages/oh/qemu-config.bb
parenta9a84bfd3747ee00700ce5393c345dbaa76aca19 (diff)
downloadpoky-21441368996e0724d7488307254e3029d8b07b8a.tar.gz
qemu-config: Autostart oprofile-server in qemu images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3575 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/oh/qemu-config.bb')
-rw-r--r--meta/packages/oh/qemu-config.bb17
1 files changed, 13 insertions, 4 deletions
diff --git a/meta/packages/oh/qemu-config.bb b/meta/packages/oh/qemu-config.bb
index d7c401eb2e..f50d367c96 100644
--- a/meta/packages/oh/qemu-config.bb
+++ b/meta/packages/oh/qemu-config.bb
@@ -1,13 +1,14 @@
1DESCRIPTION = "Adds scripts to use distcc on the host system under qemu" 1DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
2LICENSE = "GPL" 2LICENSE = "GPL"
3RDEPENDS = "distcc task-poky-nfs-server fakeroot" 3RDEPENDS = "distcc task-poky-nfs-server fakeroot oprofileui-server"
4PR = "r6" 4PR = "r9"
5 5
6SRC_URI = "file://distcc.sh \ 6SRC_URI = "file://distcc.sh \
7 file://anjuta-remote-run \ 7 file://anjuta-remote-run \
8 file://exports \ 8 file://exports \
9 file://shutdown.desktop \ 9 file://shutdown.desktop \
10 file://shutdown.png" 10 file://shutdown.png \
11 file://qemu-autostart"
11 12
12S = "${WORKDIR}" 13S = "${WORKDIR}"
13 14
@@ -28,4 +29,12 @@ do_install() {
28 29
29 install -d ${D}${datadir}/pixmaps 30 install -d ${D}${datadir}/pixmaps
30 install -m 0644 shutdown.png ${D}${datadir}/pixmaps/ 31 install -m 0644 shutdown.png ${D}${datadir}/pixmaps/
31} 32
33 install -d ${D}/etc/init.d
34 install qemu-autostart ${D}/etc/init.d
35}
36
37inherit update-rc.d
38
39INITSCRIPT_NAME = "qemu-autostart"
40INITSCRIPT_PARAMS = "start 999 5 2 . stop 20 0 1 6 ."