[proaudio] [1342] rtirq-20071012 full stats use: /etc/init.d/rtirq fullstatus

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1342
Author:   evermind
Date:     2008-10-15 01:23:54 +0200 (Wed, 15 Oct 2008)

Log Message:
-----------
rtirq-20071012 full stats use: /etc/init.d/rtirq fullstatus

Modified Paths:
--------------
    trunk/overlays/proaudio/sys-process/rtirq/ChangeLog
    trunk/overlays/proaudio/sys-process/rtirq/Manifest
    trunk/overlays/proaudio/sys-process/rtirq/rtirq-20071012.ebuild


Modified: trunk/overlays/proaudio/sys-process/rtirq/ChangeLog
===================================================================
--- trunk/overlays/proaudio/sys-process/rtirq/ChangeLog	2008-10-14 23:21:41 UTC (rev 1341)
+++ trunk/overlays/proaudio/sys-process/rtirq/ChangeLog	2008-10-14 23:23:54 UTC (rev 1342)
@@ -2,6 +2,10 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  14 Oct 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx
+  rtirq-20071012.ebuild:
+  use fullstatus to see whats going on
+
   13 Oct 2008; Frieder Buerzele <evermind@xxxxxxxxxxxxx;
   rtirq-20050914-r2.ebuild, rtirq-20060218-r1.ebuild,
   rtirq-20060819-r1.ebuild, rtirq-20070101.ebuild, +rtirq-20071012.ebuild:

Modified: trunk/overlays/proaudio/sys-process/rtirq/Manifest
===================================================================
--- trunk/overlays/proaudio/sys-process/rtirq/Manifest	2008-10-14 23:21:41 UTC (rev 1341)
+++ trunk/overlays/proaudio/sys-process/rtirq/Manifest	2008-10-14 23:23:54 UTC (rev 1342)
@@ -11,6 +11,6 @@
 EBUILD rtirq-20060218-r1.ebuild 1359 RMD160 219d45ab43b5989a0b371114a1db0d48fe5a5256 SHA1 f1b16a5de793b431d39e5746413a4654e438fcf2 SHA256 af4a46d7329626c834999570e20d92ebd7af1501e9816a6774746d4450c2ecb6
 EBUILD rtirq-20060819-r1.ebuild 1569 RMD160 a0ca6633c274b70d2b880c7b0a7a88a13bb44c9f SHA1 8148d92c349da9f88021eeaaceef3c76f47da6ba SHA256 1aac1c363da0edec7e7bc40c3bd612c6a3a3d41d0654713ebd81b945bbb4b6f8
 EBUILD rtirq-20070101.ebuild 1415 RMD160 d2caedb1bb9edde8725edb0a64aca28afeab5633 SHA1 3c4b603596e32dfe7d1b0183c506640bb85fbb4b SHA256 97b43ae914069b06384461cb489f7a99dcfc4807cfd58e59edfa57b687f857f5
-EBUILD rtirq-20071012.ebuild 1587 RMD160 3c1477f768884d6ffd1657d41e1fd6d726257945 SHA1 7fec3d2305b2d008557ad0190c2ce11c151fb3c1 SHA256 a903f7954be49516d9cd16504fafe9cc445f70a363f2605c755de064064a7417
-MISC ChangeLog 484 RMD160 a2b81bdd7995292579d9d81d1cbaf79cc9dc3625 SHA1 ce179463ce9ad1a81d242b4c7affd30c4c15d636 SHA256 405c6c21f8a829616fdd4ff2b91cbd6c90b2ec105342b79b738110d4eca901b8
+EBUILD rtirq-20071012.ebuild 1803 RMD160 1bd62903dda67e51894a7c74652978913b67ed33 SHA1 38867c8794f8d10167e50b1f4e29fb24a67d8ea5 SHA256 847fc8848a4315751f5de7855d4878e680c86233df2a25cba967cfff165bac32
+MISC ChangeLog 605 RMD160 4f2547d5c6ebd352e1f144c1a0e5e3ca91225070 SHA1 8de8553293df984c15219aa10ddc16dfb1ac8c92 SHA256 367c6746724f9be51494ef7001526bd0b5020990db8fed5795315443ecc1dc01
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Modified: trunk/overlays/proaudio/sys-process/rtirq/rtirq-20071012.ebuild
===================================================================
--- trunk/overlays/proaudio/sys-process/rtirq/rtirq-20071012.ebuild	2008-10-14 23:21:41 UTC (rev 1341)
+++ trunk/overlays/proaudio/sys-process/rtirq/rtirq-20071012.ebuild	2008-10-14 23:23:54 UTC (rev 1342)
@@ -3,7 +3,7 @@
 # $Header: $
 
 RESTRICT="nomirror"
-inherit eutils
+inherit exteutils
 DESCRIPTION="Change the realtime scheduling policy and priority of relevant system driver IRQ handlers"
 HOMEPAGE="http://www.rncbc.org/jack/";
 
@@ -21,13 +21,19 @@
 	unpack ${A}
 	cd "${S}"
 	gzip -cdf "${FILESDIR}/rt-initscript.gz" >  rtirq
-	sed -ie "s:^\(RTIRQ_CONFIG\=\)\(.*\):\1/etc/conf.d/rtirq:" rtirq.sh || die "patching failed"
-	sed -ie "s/:-\"softirq-timer\"//" rtirq.sh || die "patching failed"
-	sed -ie "s:/etc/sysconfig/rtirq:/etc/conf.d/rtirq:" rtirq.conf
+	# use fullstatus to show the status of rtirq.sh
+	esed_check  -i -e '/depend(/'i"opts=\"fullstatus\"\n" \
+		-e 's@\(^status(.*\)@full\1@g' rtirq
 
+	# set path for cfg file
+	esed_check -ie "s:^\(RTIRQ_CONFIG\=\)\(.*\):\1/etc/conf.d/rtirq:" rtirq.sh
+
+	# cfg path
+	esed_check -i -e "s:/etc/sysconfig/rtirq:/etc/conf.d/rtirq:" rtirq.conf
+
 	# fixup to work with different kernels
 	# see http://article.gmane.org/gmane.linux.gentoo.proaudio/2497
-	sed -i -e 's@\(egrep.*\)softirq\(.*\)@\1s(oft)?irq\2@g' rtirq.sh
+	esed_check -i -e 's@\(egrep.*\)softirq\(.*\)@\1s(oft)?irq\2@g' rtirq.sh
 }
 
 src_install(){
@@ -38,13 +44,16 @@
 }
 
 pkg_postinst(){
-	einfo "now add the script to your runlevel"
-	einfo "e.g. rc-update add rtirq default"
-	einfo "config-file: /etc/conf.d/rtirq"
-
-	einfo "You need an realtime-kernel to use this init-script:"
-	einfo "kernel-patch: redhat.com/~mingo/realtime-preempt"
-	einfo "select: (X) Complete Preemption (Real-Time) in kernel-config."
-	einfo "Easy way to get an realtime kernel try:"
-	einfo "emerge rt-sources from the proaudio overlay"
+	elog "now add the script to your runlevel"
+	elog "e.g. rc-update add rtirq default"
+	elog "config-file: /etc/conf.d/rtirq"
+	elog
+	elog "You need an realtime-kernel to use this init-script:"
+	elog "kernel-patch: redhat.com/~mingo/realtime-preempt"
+	elog "select: (X) Complete Preemption (Real-Time) in kernel-config."
+	elog "Easy way to get an realtime kernel try:"
+	elog "emerge rt-sources from the proaudio overlay"
+	elog
+	elog "To display the full status of the rtirq script use:"
+	elog "/etc/init.d/rtirq fullstatus"
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/