From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QRE44-0002ux-0k for garchives@archives.gentoo.org; Tue, 31 May 2011 01:48:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 380031C033; Tue, 31 May 2011 01:48:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 08D601C033 for ; Tue, 31 May 2011 01:48:03 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F6151B400C for ; Tue, 31 May 2011 01:48:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id D55B78050B for ; Tue, 31 May 2011 01:48:02 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: ChangeLog genkernel X-VCS-Directories: / X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: be190b4ec14eb49e60af78e730ec1c9d8410c939 Date: Tue, 31 May 2011 01:48:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9ed674e5b687be891eee9372a2c57096 commit: be190b4ec14eb49e60af78e730ec1c9d8410c939 Author: Sebastian Pipping pipping org> AuthorDate: Tue May 31 01:44:58 2011 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue May 31 01:44:58 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3Dbe190b4e 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$ =20 + 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}" =3D '1' ] then echo - print_info 1 'WARNING... WARNING... WARNING...' - print_info 1 'Additional kernel cmdline arguments that *may* be require= d to boot properly...' - [ "${SPLASH}" =3D '1' ] && print_info 1 "add \"vga=3D791 splash=3Dsilen= t,theme:${SPLASH_THEME} console=3Dtty1 quiet\" if you use a splash frameb= uffer ]" - [ "${LVM}" =3D '1' ] && print_info 1 'add "dolvm" for lvm support' - [ "${EVMS}" =3D '1' ] && print_info 1 'add "doevms" for evms support' - [ "${DMRAID}" =3D '1' ] && print_info 1 'add "dodmraid" for dmraid supp= ort' - [ "${MDADM}" =3D '1' ] && print_info 1 'add "domdadm" for RAID support' - [ "${DMRAID}" =3D '1' ] && print_info 1 ' or "dodmraid=3D"' - [ "${ISCSI}" =3D '1' ] && print_info 1 'add at least "iscsi_initiatorna= me=3D iscsi_target=3D and iscsi_address=3D" for iscsi support' + print_warning 1 'WARNING... WARNING... WARNING...' + print_warning 1 'Additional kernel cmdline arguments that *may* be requ= ired to boot properly...' + [ "${SPLASH}" =3D '1' ] && print_warning 1 "add \"vga=3D791 splash=3Dsi= lent,theme:${SPLASH_THEME} console=3Dtty1 quiet\" if you use a splash fra= mebuffer ]" + [ "${LVM}" =3D '1' ] && print_warning 1 'add "dolvm" for lvm support' + [ "${EVMS}" =3D '1' ] && print_warning 1 'add "doevms" for evms support= ' + [ "${DMRAID}" =3D '1' ] && print_warning 1 'add "dodmraid" for dmraid s= upport' + [ "${MDADM}" =3D '1' ] && print_warning 1 'add "domdadm" for RAID suppo= rt' + [ "${DMRAID}" =3D '1' ] && print_warning 1 ' or "dodmraid=3D"' + [ "${ISCSI}" =3D '1' ] && print_warning 1 'add at least "iscsi_initiato= rname=3D iscsi_target=3D and iscsi_address=3D= " for iscsi support' fi =20 [ "${BOOTRW}" !=3D '' ] && mount -o remount,ro ${BOOTDIR}