From be190b4ec14eb49e60af78e730ec1c9d8410c939 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Tue, 31 May 2011 03:44:58 +0200 Subject: [PATCH] Output warning in warning color --- ChangeLog | 3 +++ genkernel | 18 +++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index af5d371..6c402d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ # Distributed under the GPL v2 # $Id$ + 31 May 2011; Sebastian Pipping genkernel: + Output warning in warning color + 31 May 2011; Sebastian Pipping doc/genkernel.8.txt, genkernel: Document boot parameter domdadm (bug #369415) diff --git a/genkernel b/genkernel index c74ef60..ec386bd 100755 --- a/genkernel +++ b/genkernel @@ -344,15 +344,15 @@ fi if [ "${BUILD_RAMDISK}" = '1' ] then echo - print_info 1 'WARNING... WARNING... WARNING...' - print_info 1 'Additional kernel cmdline arguments that *may* be required to boot properly...' - [ "${SPLASH}" = '1' ] && print_info 1 "add \"vga=791 splash=silent,theme:${SPLASH_THEME} console=tty1 quiet\" if you use a splash framebuffer ]" - [ "${LVM}" = '1' ] && print_info 1 'add "dolvm" for lvm support' - [ "${EVMS}" = '1' ] && print_info 1 'add "doevms" for evms support' - [ "${DMRAID}" = '1' ] && print_info 1 'add "dodmraid" for dmraid support' - [ "${MDADM}" = '1' ] && print_info 1 'add "domdadm" for RAID support' - [ "${DMRAID}" = '1' ] && print_info 1 ' or "dodmraid="' - [ "${ISCSI}" = '1' ] && print_info 1 'add at least "iscsi_initiatorname= iscsi_target= and iscsi_address=" for iscsi support' + print_warning 1 'WARNING... WARNING... WARNING...' + print_warning 1 'Additional kernel cmdline arguments that *may* be required to boot properly...' + [ "${SPLASH}" = '1' ] && print_warning 1 "add \"vga=791 splash=silent,theme:${SPLASH_THEME} console=tty1 quiet\" if you use a splash framebuffer ]" + [ "${LVM}" = '1' ] && print_warning 1 'add "dolvm" for lvm support' + [ "${EVMS}" = '1' ] && print_warning 1 'add "doevms" for evms support' + [ "${DMRAID}" = '1' ] && print_warning 1 'add "dodmraid" for dmraid support' + [ "${MDADM}" = '1' ] && print_warning 1 'add "domdadm" for RAID support' + [ "${DMRAID}" = '1' ] && print_warning 1 ' or "dodmraid="' + [ "${ISCSI}" = '1' ] && print_warning 1 'add at least "iscsi_initiatorname= iscsi_target= and iscsi_address=" for iscsi support' fi [ "${BOOTRW}" != '' ] && mount -o remount,ro ${BOOTDIR} -- 2.26.2