]> git.pld-linux.org Git - packages/bootchart.git/commitdiff
- use %banner when no grubby present
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 8 Dec 2006 12:04:13 +0000 (12:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bootchart.spec -> 1.8

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.077418 seconds and 4 git commands to generate.