From 425a10c7e27dfe1ca61204ddcb81b5f4a1f32324 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 8 Feb 2010 21:22:22 +0100 Subject: [PATCH] new package: - add package bootchart (not working at the moment) --- packages/debug/bootchart/build | 7 +++++++ packages/debug/bootchart/install | 6 ++++++ packages/debug/bootchart/url | 1 + packages/debug/install | 1 + packages/sysutils/busybox/scripts/init | 3 +++ 5 files changed, 18 insertions(+) create mode 100755 packages/debug/bootchart/build create mode 100755 packages/debug/bootchart/install create mode 100644 packages/debug/bootchart/url diff --git a/packages/debug/bootchart/build b/packages/debug/bootchart/build new file mode 100755 index 0000000000..0b1e03fbdf --- /dev/null +++ b/packages/debug/bootchart/build @@ -0,0 +1,7 @@ +#!/bin/sh + +. config/options + +cd $PKG_BUILD + +make CC=$TARGET_CC diff --git a/packages/debug/bootchart/install b/packages/debug/bootchart/install new file mode 100755 index 0000000000..d0afc1c542 --- /dev/null +++ b/packages/debug/bootchart/install @@ -0,0 +1,6 @@ +#!/bin/sh + +. config/options + +mkdir -p $INSTALL/sbin + cp -PR $PKG_BUILD/bootchartd $INSTALL/sbin diff --git a/packages/debug/bootchart/url b/packages/debug/bootchart/url new file mode 100644 index 0000000000..1e4795cfa5 --- /dev/null +++ b/packages/debug/bootchart/url @@ -0,0 +1 @@ +http://sources.openelec.tv/svn/bootchart-1.2.tar.gz diff --git a/packages/debug/install b/packages/debug/install index 06e5ebea75..8a476775a2 100755 --- a/packages/debug/install +++ b/packages/debug/install @@ -4,3 +4,4 @@ $SCRIPTS/install strace $SCRIPTS/install gdb +$SCRIPTS/install bootchart diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index c4abaa4afb..bcf910ef75 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -1,5 +1,8 @@ #!/bin/sh +# start bootchartd if avaible + [ -f /sbin/bootchartd ] && /sbin/bootchartd -o /storage + # read config . /etc/sysconfig