Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 262089 Details for
Bug 345695
app-benchmarks/bootchart2-0.12.4.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
adds CUSTOM_POST_CMD which is executed after data collection and rendering
bootchart2-20110210_custom-post-cmd.diff (text/plain), 1.53 KB, created by
Lucian Muresan
on 2011-02-10 21:34:50 UTC
(
hide
)
Description:
adds CUSTOM_POST_CMD which is executed after data collection and rendering
Filename:
MIME Type:
Creator:
Lucian Muresan
Created:
2011-02-10 21:34:50 UTC
Size:
1.53 KB
patch
obsolete
>diff -Naur bootchart2_orig/bootchartd.conf bootchart2/bootchartd.conf >--- bootchart2_orig/bootchartd.conf 2011-02-10 20:20:32.000000000 +0100 >+++ bootchart2/bootchartd.conf 2011-02-10 20:29:03.714848002 +0100 >@@ -20,6 +20,15 @@ > # Output directory for auto-generated boot charts > AUTO_RENDER_DIR="/var/log" > >+# Optional: full path to a script to run after collecting data and auto-rendering >+# if enabled (else you could render yourself there, or just rename the rendered >+# output after date and time and archive it in a certain directory for >+# later reference). Hint: in the script, you may source /etc/bootchartd.conf for >+# being able to use the variables defined there in a flexible way, check the >+# command-line options of pybootchargui and the bootchartd script itself as a >+# source of inspiration; >+CUSTOM_POST_CMD="" >+ > # The processes we have to wait for > EXIT_PROC="kdm_greet xterm konsole gnome-terminal metacity mutter compiz ldm icewm-session enlightenment" > >diff -Naur bootchart2_orig/bootchartd.in bootchart2/bootchartd.in >--- bootchart2_orig/bootchartd.in 2011-02-10 20:20:32.000000000 +0100 >+++ bootchart2/bootchartd.in 2011-02-10 20:29:03.714848002 +0100 >@@ -132,6 +132,11 @@ > cd $AUTO_RENDER_DIR > /usr/bin/pybootchartgui -o "$AUTO_RENDER_DIR"/bootchart.$AUTO_RENDER_FORMAT -f $AUTO_RENDER_FORMAT "$BOOTLOG_DEST" > fi >+ >+ # execute custom post-collect (and possibly post-render) command (which could get params from the conf file by itself if needed) >+ if [ -x "$CUSTOM_POST_CMD" ]; then >+ "$CUSTOM_POST_CMD" >+ fi > } > > if [ $$ -eq 1 ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 345695
:
254457
|
255851
|
261388
|
261647
|
261648
|
262087
|
262089
|
264331
|
264333
|
264335
|
264337
|
264341
|
264345
|
264347
|
275053
|
275055