diff options
Diffstat (limited to 'meta/packages/ubootchart')
| -rw-r--r-- | meta/packages/ubootchart/files/sysvinit.patch | 12 | ||||
| -rw-r--r-- | meta/packages/ubootchart/files/ubootchart-stop | 3 | ||||
| -rw-r--r-- | meta/packages/ubootchart/files/ubootchart.desktop | 6 | ||||
| -rw-r--r-- | meta/packages/ubootchart/ubootchart_svn.bb | 37 |
4 files changed, 0 insertions, 58 deletions
diff --git a/meta/packages/ubootchart/files/sysvinit.patch b/meta/packages/ubootchart/files/sysvinit.patch deleted file mode 100644 index de9fb0b17d..0000000000 --- a/meta/packages/ubootchart/files/sysvinit.patch +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | Index: ubootchart.conf | ||
| 2 | =================================================================== | ||
| 3 | --- ubootchart.conf (revision 9) | ||
| 4 | +++ ubootchart.conf (working copy) | ||
| 5 | @@ -1,6 +1,6 @@ | ||
| 6 | |||
| 7 | # If you want to chain on and run somthing other than /sbin/init... | ||
| 8 | -export init_prog=/sbin/init | ||
| 9 | +export init_prog=/sbin/init.sysvinit | ||
| 10 | |||
| 11 | # On startup ubootchart will mount a tmpfs filesystem at this | ||
| 12 | # location and chdir here. This is only used for the logging of | ||
diff --git a/meta/packages/ubootchart/files/ubootchart-stop b/meta/packages/ubootchart/files/ubootchart-stop deleted file mode 100644 index 3444069c9a..0000000000 --- a/meta/packages/ubootchart/files/ubootchart-stop +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | |||
| 3 | kill -USR1 $(pidof ubootchartd_bin) | ||
diff --git a/meta/packages/ubootchart/files/ubootchart.desktop b/meta/packages/ubootchart/files/ubootchart.desktop deleted file mode 100644 index 5552b3bc6f..0000000000 --- a/meta/packages/ubootchart/files/ubootchart.desktop +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Encoding=UTF-8 | ||
| 3 | Exec=/sbin/ubootchart-stop | ||
| 4 | Name=Stop Bootchart | ||
| 5 | Type=Application | ||
| 6 | Categories=Programming; | ||
diff --git a/meta/packages/ubootchart/ubootchart_svn.bb b/meta/packages/ubootchart/ubootchart_svn.bb deleted file mode 100644 index cd292b6943..0000000000 --- a/meta/packages/ubootchart/ubootchart_svn.bb +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | DESCRIPTION = "A boot profiling tool" | ||
| 2 | HOMEPAGE = "http://code.google.com/p/ubootchart/" | ||
| 3 | LICENSE = "GPLv3" | ||
| 4 | PV = "0.0+r${SRCREV}" | ||
| 5 | PR = "r4" | ||
| 6 | |||
| 7 | #RRECOMMENDS = "acct" | ||
| 8 | |||
| 9 | SRC_URI = "svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk \ | ||
| 10 | file://sysvinit.patch;patch=1;pnum=0 \ | ||
| 11 | file://ubootchart-stop \ | ||
| 12 | file://ubootchart.desktop" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/trunk" | ||
| 15 | |||
| 16 | inherit update-alternatives | ||
| 17 | |||
| 18 | ALTERNATIVE_NAME = "init" | ||
| 19 | ALTERNATIVE_LINK = "${base_sbindir}/init" | ||
| 20 | ALTERNATIVE_PATH = "${base_sbindir}/ubootchartd" | ||
| 21 | ALTERNATIVE_PRIORITY = "70" | ||
| 22 | |||
| 23 | do_compile() { | ||
| 24 | ${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${INCLUDES} ${S}/ubootchartd_bin.c -o ubootchartd_bin | ||
| 25 | } | ||
| 26 | |||
| 27 | do_install() { | ||
| 28 | install -m 0755 -d ${D}/sbin ${D}/etc/ubootchart ${D}/usr/share/applications | ||
| 29 | install -m 0755 ${S}/ubootchartd_bin ${D}/sbin | ||
| 30 | install -m 0755 ${S}/ubootchartd ${D}/sbin | ||
| 31 | install -m 0644 ${S}/ubootchart.conf ${D}/etc/ubootchart | ||
| 32 | install -m 0755 ${S}/start.sh ${D}/etc/ubootchart | ||
| 33 | install -m 0755 ${S}/finish.sh ${D}/etc/ubootchart | ||
| 34 | |||
| 35 | install -m 0755 ${WORKDIR}/ubootchart-stop ${D}/sbin | ||
| 36 | install -m 0644 ${WORKDIR}/ubootchart.desktop ${D}/usr/share/applications | ||
| 37 | } | ||
