From 27c8d4d2bc1df5801632a1b93be5d36984cdbdd8 Mon Sep 17 00:00:00 2001 From: "M. J. Everitt" Date: Wed, 3 Jan 2018 02:00:41 +0000 Subject: [PATCH] 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 fc066cc0..9a5daabd 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 -- 2.13.6