diff options
Diffstat (limited to 'meta/recipes-devtools/ubootchart/files')
3 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ubootchart/files/sysvinit.patch b/meta/recipes-devtools/ubootchart/files/sysvinit.patch new file mode 100644 index 0000000000..de9fb0b17d --- /dev/null +++ b/meta/recipes-devtools/ubootchart/files/sysvinit.patch | |||
| @@ -0,0 +1,12 @@ | |||
| 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/recipes-devtools/ubootchart/files/ubootchart-stop b/meta/recipes-devtools/ubootchart/files/ubootchart-stop new file mode 100644 index 0000000000..3444069c9a --- /dev/null +++ b/meta/recipes-devtools/ubootchart/files/ubootchart-stop | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | |||
| 3 | kill -USR1 $(pidof ubootchartd_bin) | ||
diff --git a/meta/recipes-devtools/ubootchart/files/ubootchart.desktop b/meta/recipes-devtools/ubootchart/files/ubootchart.desktop new file mode 100644 index 0000000000..5552b3bc6f --- /dev/null +++ b/meta/recipes-devtools/ubootchart/files/ubootchart.desktop | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Encoding=UTF-8 | ||
| 3 | Exec=/sbin/ubootchart-stop | ||
| 4 | Name=Stop Bootchart | ||
| 5 | Type=Application | ||
| 6 | Categories=Programming; | ||
