# Distributed under the GPL v2
# $Id$
+ 31 May 2011; Sebastian Pipping <sping@gentoo.org> genkernel:
+ Output warning in warning color
+
31 May 2011; Sebastian Pipping <sping@gentoo.org> doc/genkernel.8.txt,
genkernel:
Document boot parameter domdadm (bug #369415)
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=<additional options>"'
- [ "${ISCSI}" = '1' ] && print_info 1 'add at least "iscsi_initiatorname=<initiator name> iscsi_target=<target name> and iscsi_address=<target ip>" 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=<additional options>"'
+ [ "${ISCSI}" = '1' ] && print_warning 1 'add at least "iscsi_initiatorname=<initiator name> iscsi_target=<target name> and iscsi_address=<target ip>" for iscsi support'
fi
[ "${BOOTRW}" != '' ] && mount -o remount,ro ${BOOTDIR}