Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Tue, 31 May 2011 01:48:12
Message-Id: be190b4ec14eb49e60af78e730ec1c9d8410c939.sping@gentoo
1 commit: be190b4ec14eb49e60af78e730ec1c9d8410c939
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Tue May 31 01:44:58 2011 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 01:44:58 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=be190b4e
7
8 Output warning in warning color
9
10 ---
11 ChangeLog | 3 +++
12 genkernel | 18 +++++++++---------
13 2 files changed, 12 insertions(+), 9 deletions(-)
14
15 diff --git a/ChangeLog b/ChangeLog
16 index af5d371..6c402d6 100644
17 --- a/ChangeLog
18 +++ b/ChangeLog
19 @@ -5,6 +5,9 @@
20 # Distributed under the GPL v2
21 # $Id$
22
23 + 31 May 2011; Sebastian Pipping <sping@g.o> genkernel:
24 + Output warning in warning color
25 +
26 31 May 2011; Sebastian Pipping <sping@g.o> doc/genkernel.8.txt,
27 genkernel:
28 Document boot parameter domdadm (bug #369415)
29
30 diff --git a/genkernel b/genkernel
31 index c74ef60..ec386bd 100755
32 --- a/genkernel
33 +++ b/genkernel
34 @@ -344,15 +344,15 @@ fi
35 if [ "${BUILD_RAMDISK}" = '1' ]
36 then
37 echo
38 - print_info 1 'WARNING... WARNING... WARNING...'
39 - print_info 1 'Additional kernel cmdline arguments that *may* be required to boot properly...'
40 - [ "${SPLASH}" = '1' ] && print_info 1 "add \"vga=791 splash=silent,theme:${SPLASH_THEME} console=tty1 quiet\" if you use a splash framebuffer ]"
41 - [ "${LVM}" = '1' ] && print_info 1 'add "dolvm" for lvm support'
42 - [ "${EVMS}" = '1' ] && print_info 1 'add "doevms" for evms support'
43 - [ "${DMRAID}" = '1' ] && print_info 1 'add "dodmraid" for dmraid support'
44 - [ "${MDADM}" = '1' ] && print_info 1 'add "domdadm" for RAID support'
45 - [ "${DMRAID}" = '1' ] && print_info 1 ' or "dodmraid=<additional options>"'
46 - [ "${ISCSI}" = '1' ] && print_info 1 'add at least "iscsi_initiatorname=<initiator name> iscsi_target=<target name> and iscsi_address=<target ip>" for iscsi support'
47 + print_warning 1 'WARNING... WARNING... WARNING...'
48 + print_warning 1 'Additional kernel cmdline arguments that *may* be required to boot properly...'
49 + [ "${SPLASH}" = '1' ] && print_warning 1 "add \"vga=791 splash=silent,theme:${SPLASH_THEME} console=tty1 quiet\" if you use a splash framebuffer ]"
50 + [ "${LVM}" = '1' ] && print_warning 1 'add "dolvm" for lvm support'
51 + [ "${EVMS}" = '1' ] && print_warning 1 'add "doevms" for evms support'
52 + [ "${DMRAID}" = '1' ] && print_warning 1 'add "dodmraid" for dmraid support'
53 + [ "${MDADM}" = '1' ] && print_warning 1 'add "domdadm" for RAID support'
54 + [ "${DMRAID}" = '1' ] && print_warning 1 ' or "dodmraid=<additional options>"'
55 + [ "${ISCSI}" = '1' ] && print_warning 1 'add at least "iscsi_initiatorname=<initiator name> iscsi_target=<target name> and iscsi_address=<target ip>" for iscsi support'
56 fi
57
58 [ "${BOOTRW}" != '' ] && mount -o remount,ro ${BOOTDIR}