diff options
author | 2019-07-16 02:04:44 +0200 | |
---|---|---|
committer | 2019-07-16 02:04:44 +0200 | |
commit | f27b8c12bde5028a050fe7ae313bdee7dd1bbdc7 (patch) | |
tree | a4dbc431bd0772fee7f3e1c4a86436388104938f /gen_compile.sh | |
parent | gen_configkernel.sh: config_kernel(): No need to re-check required kernel opt... (diff) | |
download | genkernel-f27b8c12bde5028a050fe7ae313bdee7dd1bbdc7.tar.gz genkernel-f27b8c12bde5028a050fe7ae313bdee7dd1bbdc7.tar.bz2 genkernel-f27b8c12bde5028a050fe7ae313bdee7dd1bbdc7.zip |
Adjust LOGLEVEL
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_compile.sh')
-rwxr-xr-x | gen_compile.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gen_compile.sh b/gen_compile.sh index cc7b1aad..a2c70a82 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -37,7 +37,7 @@ compile_external_modules() { fi print_info 1 "$(get_indent 1)>> Compiling out-of-tree module(s) ..." - print_info 2 "COMMAND: ${command}" 1 0 1 + print_info 3 "COMMAND: ${command}" 1 0 1 if [ "${LOGLEVEL}" -gt 3 ] then @@ -199,18 +199,18 @@ compile_generic() { if [ "${argstype}" == 'kernelruntask' ] then # Silent operation, forced -j1 - print_info 2 "COMMAND: ${NICEOPTS}${MAKE} ${MAKEOPTS} -j1 ${ARGS} ${target} $*" 1 0 1 + print_info 3 "COMMAND: ${NICEOPTS}${MAKE} ${MAKEOPTS} -j1 ${ARGS} ${target} $*" 1 0 1 eval ${NICEOPTS}${MAKE} -s ${MAKEOPTS} -j1 ${ARGS} ${target} $* RET=$? elif [ "${LOGLEVEL}" -gt 3 ] then # Output to stdout and logfile - print_info 2 "COMMAND: ${NICEOPTS}${MAKE} ${MAKEOPTS} ${ARGS} ${target} $*" 1 0 1 + print_info 3 "COMMAND: ${NICEOPTS}${MAKE} ${MAKEOPTS} ${ARGS} ${target} $*" 1 0 1 eval ${NICEOPTS}${MAKE} ${MAKEOPTS} ${ARGS} ${target} $* 2>&1 | tee -a "${LOGFILE}" RET=${PIPESTATUS[0]} else # Output to logfile only - print_info 2 "COMMAND: ${NICEOPTS}${MAKE} ${MAKEOPTS} ${ARGS} ${target} $*" 1 0 1 + print_info 3 "COMMAND: ${NICEOPTS}${MAKE} ${MAKEOPTS} ${ARGS} ${target} $*" 1 0 1 eval ${NICEOPTS}${MAKE} ${MAKEOPTS} ${ARGS} ${target} $* >> "${LOGFILE}" 2>&1 RET=$? fi @@ -340,7 +340,7 @@ compile_kernel() { } determine_busybox_config_file() { - print_info 2 "$(get_indent 3)busybox: >> Checking for suitable busybox configuration ..." + print_info 2 "$(get_indent 2)busybox: >> Checking for suitable busybox configuration ..." if [ -n "${CMD_BUSYBOX_CONFIG}" ] then @@ -378,7 +378,7 @@ determine_busybox_config_file() { BUSYBOX_CONFIG="$f" break else - print_info 3 "$(get_indent 1)- '${f}' not found; Skipping ..." + print_info 3 "$(get_indent 3)- '${f}' not found; Skipping ..." fi done |