SPECS: bootchart.spec - use %banner when no grubby present

glen glen at pld-linux.org
Fri Dec 8 13:04:18 CET 2006


Author: glen                         Date: Fri Dec  8 12:04:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use %banner when no grubby present

---- Files affected:
SPECS:
   bootchart.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/bootchart.spec
diff -u SPECS/bootchart.spec:1.7 SPECS/bootchart.spec:1.8
--- SPECS/bootchart.spec:1.7	Fri Dec  8 12:42:41 2006
+++ SPECS/bootchart.spec	Fri Dec  8 13:04:13 2006
@@ -3,7 +3,7 @@
 Summary(pl):	Wizualizacja wydajności procesu startu systemu
 Name:		bootchart
 Version:	0.9
-Release:	1.8
+Release:	1.9
 Epoch:		0
 License:	GPL
 Group:		Base
@@ -121,6 +121,11 @@
 	[ -n "$init" ] && init="bootchart_init=$init"
 	/sbin/grubby --remove-kernel TITLE=%{boottitle}
 	/sbin/grubby --copy-default --add-kernel=$kernel $initrd --args="init=/sbin/bootchartd $init" --title=%{boottitle} || :
+else
+	%banner -e %{name}-logger <<-EOF
+You should adjust your bootloader to boot with
+ init=/sbin/bootchartd
+EOF
 fi
 
 %preun logger
@@ -154,6 +159,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/12/08 12:04:13  glen
+- use %banner when no grubby present
+
 Revision 1.7  2006/12/08 11:42:41  glen
 - R: jpackage-utils for -javadoc
 - patch /sbin/bootchartd for bootchart_init= parameter, pldize
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bootchart.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list