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 1SPJ0U-0004nq-KU for garchives@archives.gentoo.org; Tue, 01 May 2012 19:45:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A8A6E0B1B; Tue, 1 May 2012 19:44:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 6D451E0B27 for ; Tue, 1 May 2012 19:44:34 +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 D27481B4034 for ; Tue, 1 May 2012 19:44:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 99EF5E542C for ; Tue, 1 May 2012 19:44:32 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1335301350.18c0dbc872052e37cd8df6862810623d170d3d62.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_bootloader.sh X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 18c0dbc872052e37cd8df6862810623d170d3d62 X-VCS-Branch: master Date: Tue, 1 May 2012 19:44:32 +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: 82c7a2a9-4ca4-409e-a005-acc3daeccd4c X-Archives-Hash: dd029c7127818259c5d148ea87e60b6b commit: 18c0dbc872052e37cd8df6862810623d170d3d62 Author: Richard Yao cs stonybrook edu> AuthorDate: Tue Apr 24 05:52:08 2012 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Apr 24 21:02:30 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3D18c0dbc8 Make --bootloader=3Dgrub2 set debug instead of single in grub.cfg --- gen_bootloader.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gen_bootloader.sh b/gen_bootloader.sh index f0273db..5b73d97 100755 --- a/gen_bootloader.sh +++ b/gen_bootloader.sh @@ -51,6 +51,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}" + [ "${BUILD_RAMDISK}" -ne 0 ] && sed -i 's/ro single/ro debug/' "${GRUB_= CONF}" } =20 set_bootloader_grub() {