summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Gebhardt <hsggebhardt@googlemail.com>2012-04-02 17:22:22 +0200
committerHenry Gebhardt <hsggebhardt@googlemail.com>2012-04-02 17:22:22 +0200
commitf1fb3882b07a6212b2c3406f458c9ab0584f650b (patch)
treee2369e98b97f1195a4cd25adadaa1564f06f8816
parentsys-apps/systemd-units-9999: turn off ingnome3 use flag by default (diff)
downloadsystemd-f1fb3882b07a6212b2c3406f458c9ab0584f650b.tar.gz
systemd-f1fb3882b07a6212b2c3406f458c9ab0584f650b.tar.bz2
systemd-f1fb3882b07a6212b2c3406f458c9ab0584f650b.zip
app-benchmarks/bootchart2: Removed, in main tree
-rw-r--r--app-benchmarks/bootchart2/Manifest5
-rw-r--r--app-benchmarks/bootchart2/bootchart2-0.14.0.ebuild87
-rw-r--r--app-benchmarks/bootchart2/bootchart2-9999.ebuild84
-rw-r--r--app-benchmarks/bootchart2/files/0001-bootchartd-Look-for-bootchart_init-in-the-environmen.patch28
-rw-r--r--app-benchmarks/bootchart2/files/bootchart237
5 files changed, 0 insertions, 241 deletions
diff --git a/app-benchmarks/bootchart2/Manifest b/app-benchmarks/bootchart2/Manifest
deleted file mode 100644
index e7d9ae8..0000000
--- a/app-benchmarks/bootchart2/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX 0001-bootchartd-Look-for-bootchart_init-in-the-environmen.patch 970 RMD160 4b23ae6c9d13e752bd589965f7c45993c7531680 SHA1 e694ff7eeeddb9911daa1748becab1eb01a84b23 SHA256 acc3782a1e9fe87d907937a63b5e92c0b880f1a3c33522c7d8433b37c74e577d
-AUX bootchart2 928 RMD160 ddfb9486638f882997492aeb493349f15bfd3e77 SHA1 997e2efd184c134c140142a114190f95fecaa391 SHA256 8a57bb9a2827478467f5b7d183405af5c2b21ed6438551602dcb907e52e19370
-DIST bootchart2-0.14.0.tar.bz2 775453 RMD160 5647845f8fd386e5de240c4219d33e3465b39820 SHA1 fb8bede9c4dbc39c8540f1a683fd9ea2f37a104f SHA256 30366efd679568d6d2b12715b01cba6964b55d294da9e1399995d3e15f6e6828
-EBUILD bootchart2-0.14.0.ebuild 2413 RMD160 a3631a59f7c1f415f26d4e58026542f93aaa3ada SHA1 f9a6da047799be8fafe25d4ea354f1677c096358 SHA256 5eff10a861fa1f885a7ddc8cbc20c391ed6733258040156ae1824c0f2897988c
-EBUILD bootchart2-9999.ebuild 2256 RMD160 29bd016197bc98239052c371d6d1254911e227b1 SHA1 28f080f1011d1e89942e84364f5a8868e80526d7 SHA256 3e4d45f7f92816d7c03e149f8aaa67f7ebe6ae2cf06ac0de5e43aeb4fbf1a3b3
diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.0.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.0.ebuild
deleted file mode 100644
index d9765bb..0000000
--- a/app-benchmarks/bootchart2/bootchart2-0.14.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="3"
-
-inherit eutils linux-info python systemd
-
-DESCRIPTION="Performance analysis and visualization of the system boot process"
-HOMEPAGE="https://github.com/mmeeks/bootchart"
-
-if [[ "${PV}" = "9999" ]]; then
- SRC_URI=""
- KEYWORDS=""
- EGIT_REPO_URI="git://github.com/mmeeks/bootchart.git"
- inherit git
-else
- SRC_URI="https://github.com/downloads/mmeeks/bootchart/bootchart2-${PV}.tar.bz2"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="svg"
-
-CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT"
-
-RDEPEND="dev-lang/python
- !app-benchmarks/bootchart
- dev-python/pycairo[svg=]"
-DEPEND="${RDEPEND}"
-
-src_unpack() {
- if [[ "${PV}" = "9999" ]]; then
- git_src_unpack
- else
- unpack ${A}
- fi
-}
-
-src_prepare() {
- # properly check for bootchart_init=/path on the kernel command line
- epatch "${FILESDIR}"/0001-bootchartd-Look-for-bootchart_init-in-the-environmen.patch
-
- # correct the version
- if [[ "${PV}" = "9999" ]]; then
- sed -i Makefile -e "s:VER=$(cat Makefile | grep VER= | cut -d"=" -f2):VER=git-$(date +%Y%m%d):"
- fi
-}
-
-src_install() {
- # Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't
- # just change it. Since no libraries are installed, /lib is fine.
- emake \
- DESTDIR="${D}" \
- PY_LIBDIR="$(python_get_libdir)" \
- DOCDIR="/usr/share/doc/${PN}-${PVR}" \
- install || die "died running make install, $FUNCNAME"
-
- keepdir /lib/bootchart/tmpfs
-
- doinitd "${FILESDIR}/${PN}"
-
- # Install systemd units where and whether the eclass wants them:
- mv "${D}"/lib/systemd/system systemd-units || die
- systemd_dounit systemd-units/* || die
-
- prepalldocs
-
- dodoc README README.pybootchart AUTHORS MAINTAINERS NEWS TODO || die
-}
-
-pkg_postinst() {
- elog "To generate the chart, generate a ramdisk with bootchart support,"
- elog "append this to your kernel commandline"
- elog " initcall_debug printk.time=y quiet init=/sbin/bootchartd"
- elog "and reboot"
- elog
- elog "Note: genkernel users should replace init= with real_init= in the above"
- elog "see https://bugs.gentoo.org/show_bug.cgi?id=275251 for more info"
- elog
- elog "If you are not using an initrd, and you are not using /sbin/init as"
- elog "your init system, you must additionally specify something like this"
- elog "on your kernel command line"
- elog " bootchart_init=/bin/systemd"
- elog
-}
diff --git a/app-benchmarks/bootchart2/bootchart2-9999.ebuild b/app-benchmarks/bootchart2/bootchart2-9999.ebuild
deleted file mode 100644
index 767a093..0000000
--- a/app-benchmarks/bootchart2/bootchart2-9999.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="3"
-
-inherit eutils linux-info python systemd
-
-DESCRIPTION="Performance analysis and visualization of the system boot process"
-HOMEPAGE="https://github.com/mmeeks/bootchart"
-
-if [[ "${PV}" = "9999" ]]; then
- SRC_URI=""
- KEYWORDS=""
- EGIT_REPO_URI="git://github.com/mmeeks/bootchart.git"
- inherit git
-else
- SRC_URI="https://github.com/downloads/mmeeks/bootchart/bootchart2-${PV}.tar.bz2"
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="svg"
-
-CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT"
-
-RDEPEND="dev-lang/python
- !app-benchmarks/bootchart
- dev-python/pycairo[svg=]"
-DEPEND="${RDEPEND}"
-
-src_unpack() {
- if [[ "${PV}" = "9999" ]]; then
- git_src_unpack
- else
- unpack ${A}
- fi
-}
-
-src_prepare() {
- # correct the version
- if [[ "${PV}" = "9999" ]]; then
- sed -i Makefile -e "s:VER=$(cat Makefile | grep VER= | cut -d"=" -f2):VER=git-$(date +%Y%m%d):"
- fi
-}
-
-src_install() {
- # Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't
- # just change it. Since no libraries are installed, /lib is fine.
- emake \
- DESTDIR="${D}" \
- PY_LIBDIR="$(python_get_libdir)" \
- DOCDIR="/usr/share/doc/${PN}-${PVR}" \
- install || die "died running make install, $FUNCNAME"
-
- keepdir /lib/bootchart/tmpfs
-
- doinitd "${FILESDIR}/${PN}"
-
- # Install systemd units where and whether the eclass wants them:
- mv "${D}"/lib/systemd/system systemd-units || die
- systemd_dounit systemd-units/* || die
-
- prepalldocs
-
- dodoc README README.pybootchart AUTHORS MAINTAINERS NEWS TODO || die
-}
-
-pkg_postinst() {
- elog "To generate the chart, generate a ramdisk with bootchart support,"
- elog "append this to your kernel commandline"
- elog " initcall_debug printk.time=y quiet init=/sbin/bootchartd"
- elog "and reboot"
- elog
- elog "Note: genkernel users should replace init= with real_init= in the above"
- elog "see https://bugs.gentoo.org/show_bug.cgi?id=275251 for more info"
- elog
- elog "If you are not using an initrd, and you are not using /sbin/init as"
- elog "your init system, you must additionally specify something like this"
- elog "on your kernel command line"
- elog " bootchart_init=/bin/systemd"
- elog
-}
diff --git a/app-benchmarks/bootchart2/files/0001-bootchartd-Look-for-bootchart_init-in-the-environmen.patch b/app-benchmarks/bootchart2/files/0001-bootchartd-Look-for-bootchart_init-in-the-environmen.patch
deleted file mode 100644
index eade756..0000000
--- a/app-benchmarks/bootchart2/files/0001-bootchartd-Look-for-bootchart_init-in-the-environmen.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 5ed1882fe71cc3b808a0c5222c0ee9cc716719b8 Mon Sep 17 00:00:00 2001
-From: Henry Gebhardt <hsggebhardt@googlemail.com>
-Date: Sat, 28 May 2011 01:10:57 +0200
-Subject: [PATCH] bootchartd: Look for bootchart_init in the environment
-
-According to bootparam(7) kernel parameters of the form "foo=bar" are
-passed as environment variables, which is also what I observe on Linux
-2.6.39. This patch fixes bootchartd to look for bootchart_init there,
-too.
----
- bootchartd.in | 1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/bootchartd.in b/bootchartd.in
-index ebe9d8b..173b473 100755
---- a/bootchartd.in
-+++ b/bootchartd.in
-@@ -172,6 +172,7 @@ if [ $$ -eq 1 ]; then
-
- # Optionally, an alternative init(1) process may be specified using
- # the kernel command line (e.g. "bootchart_init=/sbin/initng")
-+ [ -n "$bootchart_init" ] && init="$bootchart_init"
- for i in $@; do
- if [ "${i%%=*}" = "bootchart_init" ]; then
- init="${i#*=}"
---
-1.7.5.rc3
-
diff --git a/app-benchmarks/bootchart2/files/bootchart2 b/app-benchmarks/bootchart2/files/bootchart2
deleted file mode 100644
index a08dcff..0000000
--- a/app-benchmarks/bootchart2/files/bootchart2
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/runscript
-
-depend()
-{
- # Mostly to get a somewhat sane env and not break dependecy chains
- after localmount
-}
-
-start()
-{
- # Only do anything if bootchart was started in ramdisk
- if /bin/grep -q "rdinit=/sbin/bootchartd" /proc/cmdline
- then
- ebegin "Scheduling termination of Bootchart"
- if /bin/pidof bootchart-collector > /dev/null 2>&1
- then
- # We want the script to keep running in background
- # while the init script ends to not block baselayout
- (
- /sbin/bootchartd wait
- /sbin/bootchartd stop
- ) &
- eend 0
- else
- eerror "No bootchart process found, no bootchart in ramdisk?"
- eend 1
- fi
- else
- ewarn "No bootchart process found!"
- eindent
- ewarn "This script does not start bootchart, but only schedules its termination."
- ewarn "Bootchart should be started from the kernel command line out of the ramdisk."
- ewarn "Please check the README on how to do that."
- eoutdent
- eend 0
- fi
-}