diff options
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofileui-server_git.bb')
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofileui-server_git.bb | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb deleted file mode 100644 index cc3477bc7b..0000000000 --- a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | require oprofileui.inc | ||
2 | |||
3 | SRCREV = "389e1875af4721d52c7e65cf9cfffb69b0ed6a59" | ||
4 | PV = "0.0+git${SRCPV}" | ||
5 | |||
6 | S = "${WORKDIR}/git" | ||
7 | |||
8 | SRC_URI = "git://git.yoctoproject.org/oprofileui \ | ||
9 | file://init \ | ||
10 | file://oprofileui-server.service " | ||
11 | |||
12 | DEPENDS += "intltool-native gettext-native" | ||
13 | |||
14 | EXTRA_OECONF += "--disable-client --enable-server" | ||
15 | |||
16 | RDEPENDS_${PN} = "oprofile avahi-daemon" | ||
17 | |||
18 | do_install_append() { | ||
19 | install -d ${D}${sysconfdir}/init.d | ||
20 | install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/oprofileui-server | ||
21 | |||
22 | install -d ${D}${systemd_unitdir}/system | ||
23 | install -m 0644 ${WORKDIR}/oprofileui-server.service ${D}${systemd_unitdir}/system/ | ||
24 | sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \ | ||
25 | -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/oprofileui-server.service | ||
26 | } | ||
27 | |||
28 | inherit update-rc.d systemd | ||
29 | |||
30 | INITSCRIPT_NAME = "oprofileui-server" | ||
31 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." | ||
32 | |||
33 | SYSTEMD_SERVICE_${PN} = "oprofileui-server.service" | ||
34 | SYSTEMD_AUTO_ENABLE = "disable" | ||