From 686bcec454cf80cfc63440370fdb770a030ac7fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 8 Dec 2006 12:04:13 +0000 Subject: [PATCH] - use %banner when no grubby present Changed files: bootchart.spec -> 1.8 --- bootchart.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bootchart.spec b/bootchart.spec index 9701666..34c8be9 100644 --- a/bootchart.spec +++ b/bootchart.spec @@ -2,7 +2,7 @@ Summary: Boot Process Performance Visualization 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 @@ -120,6 +120,11 @@ if [ -x /sbin/grubby ]; then [ -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 -- 2.44.0