M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions
@@ -0,0 +1,14 @@
Upstream-Status: Inappropriate [distribution]
Index: ubootchart.conf
===================================================================
--- ubootchart.conf (revision 9)
+++ ubootchart.conf (working copy)
@@ -1,6 +1,6 @@
# If you want to chain on and run somthing other than /sbin/init...
-export init_prog=/sbin/init
+export init_prog=/sbin/init.sysvinit
# On startup ubootchart will mount a tmpfs filesystem at this
# location and chdir here. This is only used for the logging of
@@ -0,0 +1,3 @@
#! /bin/sh
kill -USR1 $(pidof ubootchartd_bin)
@@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Exec=/sbin/ubootchart-stop
Name=Stop Bootchart
Type=Application
Categories=Programming;
@@ -0,0 +1,39 @@
DESCRIPTION = "A boot profiling tool"
HOMEPAGE = "http://code.google.com/p/ubootchart/"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
SRCREV = "12"
PV = "0.0+r${SRCPV}"
PR = "r5"
#RRECOMMENDS_${PN} = "acct"
SRC_URI = "svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk \
file://sysvinit.patch;striplevel=0 \
file://ubootchart-stop \
file://ubootchart.desktop"
S = "${WORKDIR}/trunk"
inherit update-alternatives
ALTERNATIVE_NAME = "init"
ALTERNATIVE_LINK = "${base_sbindir}/init"
ALTERNATIVE_PATH = "${base_sbindir}/ubootchartd"
ALTERNATIVE_PRIORITY = "70"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} ${LIBS} ${INCLUDES} ${S}/ubootchartd_bin.c -o ubootchartd_bin
}
do_install() {
install -m 0755 -d ${D}/sbin ${D}/etc/ubootchart ${D}/usr/share/applications
install -m 0755 ${S}/ubootchartd_bin ${D}/sbin
install -m 0755 ${S}/ubootchartd ${D}/sbin
install -m 0644 ${S}/ubootchart.conf ${D}/etc/ubootchart
install -m 0755 ${S}/start.sh ${D}/etc/ubootchart
install -m 0755 ${S}/finish.sh ${D}/etc/ubootchart
install -m 0755 ${WORKDIR}/ubootchart-stop ${D}/sbin
install -m 0644 ${WORKDIR}/ubootchart.desktop ${D}/usr/share/applications
}