commit:     0b086d215def3d9aa35f080dcd03edbd2b8cda19
Author:     M. J. Everitt <m.j.everitt <AT> iee <DOT> org>
AuthorDate: Wed Jan  3 02:00:41 2018 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> 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

Reply via email to