From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A01921381F3 for ; Thu, 6 Jun 2013 03:36:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9EDF4E096E; Thu, 6 Jun 2013 03:36:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BA50E096D for ; Thu, 6 Jun 2013 03:36:27 +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 28F6633E2E2 for ; Thu, 6 Jun 2013 03:36:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id EC38CE5464 for ; Thu, 6 Jun 2013 03:36:24 +0000 (UTC) From: "Richard Yao" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Richard Yao" Message-ID: <1370489725.ae7c4d44571fe382e2e2749cd1a19fd235685a27.ryao@gentoo> Subject: [gentoo-commits] proj/genkernel:ryao commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_bootloader.sh X-VCS-Directories: / X-VCS-Committer: ryao X-VCS-Committer-Name: Richard Yao X-VCS-Revision: ae7c4d44571fe382e2e2749cd1a19fd235685a27 X-VCS-Branch: ryao Date: Thu, 6 Jun 2013 03:36:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1372defa-9334-428b-9f14-0a0d5fb05cbe X-Archives-Hash: 1542edb74496e839f51e8810c8f679c5 commit: ae7c4d44571fe382e2e2749cd1a19fd235685a27 Author: Richard Yao gentoo org> AuthorDate: Thu Jun 6 03:06:12 2013 +0000 Commit: Richard Yao gentoo org> CommitDate: Thu Jun 6 03:35:25 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=ae7c4d44 Suppress grub2-mkconfig output Every other tool that we run has its output suppressed, so lets be consistent. Signed-off-by: Richard Yao gentoo.org> --- gen_bootloader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_bootloader.sh b/gen_bootloader.sh index 5848bd2..c695cea 100755 --- a/gen_bootloader.sh +++ b/gen_bootloader.sh @@ -50,7 +50,7 @@ set_bootloader_grub2() { print_info 1 "You can customize Grub2 parameters in /etc/default/grub." print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..." - grub2-mkconfig -o "${GRUB_CONF}" + grub2-mkconfig -o "${GRUB_CONF}" 2> /dev/null [ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_CONF}" }