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 1SAjoB-0004NU-5e for garchives@archives.gentoo.org; Thu, 22 Mar 2012 15:20:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0583BE0716; Thu, 22 Mar 2012 15:20:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B2B16E0716 for ; Thu, 22 Mar 2012 15:20:03 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1ACCB1B4006 for ; Thu, 22 Mar 2012 15:20:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id CC9DBE5403 for ; Thu, 22 Mar 2012 15:20:01 +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: <1332428810.5a7bc18180612f5ada377be3df1ae20596ebfdac.sping@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: ChangeLog gen_funcs.sh X-VCS-Directories: / X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 5a7bc18180612f5ada377be3df1ae20596ebfdac X-VCS-Branch: master Date: Thu, 22 Mar 2012 15:20:01 +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: 7bc1785a-626d-40f5-83d2-0eb0532c2ea8 X-Archives-Hash: 43946630a662f268ce2214b45b170cda commit: 5a7bc18180612f5ada377be3df1ae20596ebfdac Author: Sebastian Pipping pipping org> AuthorDate: Thu Mar 22 15:06:50 2012 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Thu Mar 22 15:06:50 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3D5a7bc181 Make errors stand out more --- ChangeLog | 4 ++++ gen_funcs.sh | 35 ++++++++++++++++++----------------- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index aa381b8..b2529bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ # Distributed under the GPL v2 # $Id$ =20 + 22 Mar 2012; Sebastian Pipping gen_funcs.sh, + gen_initramfs.sh: + Make errors stand out more + 22 Mar 2012; Sebastian Pipping genkernel: Bump version to 3.4.26 =20 diff --git a/gen_funcs.sh b/gen_funcs.sh index 739311b..f199014 100755 --- a/gen_funcs.sh +++ b/gen_funcs.sh @@ -204,29 +204,30 @@ gen_die() { then print_error 1 "ERROR: ${1}" fi - echo - print_info 1 "-- Grepping log... --" - echo + print_error 1 '' + print_error 1 "-- Grepping log... --" + print_error 1 '' =20 if isTrue ${USECOLOR} then - GREP_COLOR=3D'1' grep -B5 -E --colour=3Dalways "([Ww][Aa][Rr][Nn][Ii][= Nn][Gg]|[Ee][Rr][Rr][Oo][Rr][ :,!]|[Ff][Aa][Ii][Ll][Ee]?[Dd]?)" ${LOGFILE= } + GREP_COLOR=3D'1' grep -B5 -E --colour=3Dalways "([Ww][Aa][Rr][Nn][Ii][= Nn][Gg]|[Ee][Rr][Rr][Oo][Rr][ :,!]|[Ff][Aa][Ii][Ll][Ee]?[Dd]?)" ${LOGFILE= } \ + | sed -s "s|^\(*\)\?|${BAD}*${NORMAL}|" else grep -B5 -E "([Ww][Aa][Rr][Nn][Ii][Nn][Gg]|[Ee][Rr][Rr][Oo][Rr][ :,!]|= [Ff][Aa][Ii][Ll][Ee]?[Dd]?)" ${LOGFILE} fi - echo - print_info 1 "-- End log... --" - echo - print_info 1 "Please consult ${LOGFILE} for more information and any" - print_info 1 "errors that were reported above." - echo - print_info 1 "Report any genkernel bugs to bugs.gentoo.org and" - print_info 1 "assign your bug to genkernel@gentoo.org. Please include" - print_info 1 "as much information as you can in your bug report; attach= ing" - print_info 1 "${LOGFILE} so that your issue can be dealt with effective= ly." - print_info 1 '' - print_info 1 'Please do *not* report compilation failures as genkernel = bugs!' - print_info 1 '' + print_error 1 '' + print_error 1 "-- End log... --" + print_error 1 '' + print_error 1 "Please consult ${LOGFILE} for more information and any" + print_error 1 "errors that were reported above." + print_error 1 '' + print_error 1 "Report any genkernel bugs to bugs.gentoo.org and" + print_error 1 "assign your bug to genkernel@gentoo.org. Please include" + print_error 1 "as much information as you can in your bug report; attac= hing" + print_error 1 "${LOGFILE} so that your issue can be dealt with effectiv= ely." + print_error 1 '' + print_error 1 'Please do *not* report compilation failures as genkernel= bugs!' + print_error 1 '' =20 # Cleanup temp dirs and caches if requested cleanup