]> git.pld-linux.org Git - packages/bootchart.git/blobdiff - bootchart.spec
- use %banner when no grubby present
[packages/bootchart.git] / bootchart.spec
index 970166628c79d14eb59f51dfbd0849d7c151cd5d..34c8be9f520b700ff749e56e98953606257ca1fc 100644 (file)
@@ -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
This page took 0.053613 seconds and 4 git commands to generate.