From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7ACA91382C5 for ; Fri, 5 Jan 2018 16:41:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2C4CE086F; Fri, 5 Jan 2018 16:41:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BBCCE086F for ; Fri, 5 Jan 2018 16:41:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9AFDE335C0C for ; Fri, 5 Jan 2018 16:41:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ED3091A1 for ; Fri, 5 Jan 2018 16:41:26 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1515170329.0b086d215def3d9aa35f080dcd03edbd2b8cda19.dolsen@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/kmerge.sh X-VCS-Directories: targets/support/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 0b086d215def3d9aa35f080dcd03edbd2b8cda19 X-VCS-Branch: master Date: Fri, 5 Jan 2018 16:41:26 +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: 9e007a42-6f45-43be-82ec-62d2ea6d050c X-Archives-Hash: 4a8613b40d663d98983619e6204cb874 commit: 0b086d215def3d9aa35f080dcd03edbd2b8cda19 Author: M. J. Everitt iee org> AuthorDate: Wed Jan 3 02:00:41 2018 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Fri Jan 5 16:38:49 2018 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=0b086d21 Added verbose support for genkernel, and callback emerge targets/support/kmerge.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh index b8593ada..ffa3c9e9 100755 --- a/targets/support/kmerge.sh +++ b/targets/support/kmerge.sh @@ -69,6 +69,11 @@ setup_gk_args() { GK_ARGS="${GK_ARGS} --initramfs-overlay=\"${clst_merge_path}\"" fi fi + + if [[ "${clst_VERBOSE}" == "true" ]] + then + GK_ARGS="${GK_ARGS} --loglevel=2" + fi } genkernel_compile(){ @@ -92,7 +97,12 @@ genkernel_compile(){ esac # Build with genkernel using the set options # callback is put here to avoid escaping issues - gk_callback_opts="-qN" + if [[ "${clst_VERBOSE}" == "true" ]] + then + gk_callback_opts="-vN" + else + gk_callback_opts="-qN" + fi PKGDIR=${PKGDIR} if [ -n "${clst_KERNCACHE}" ] then