From: Yann E. MORIN Date: Sun, 8 Jul 2018 10:26:59 +0000 (+0200) Subject: utils/test-pkg: log the output of merge-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2664022787eb396125b5696a2d42c460ef54d359;p=buildroot.git utils/test-pkg: log the output of merge-config Currently, the stdout is consigned to oblivion, while the stderr is not redirected at all. So, when the configuration under test redefines a symbol, like is the case when testing busybox for example, there is an ugly warning. So, just redirect both stdout and stderr to the logfile. Signed-off-by: "Yann E. MORIN" Tested-by: Matt Weber Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/utils/test-pkg b/utils/test-pkg index 54951276fa..aa91ee02cf 100755 --- a/utils/test-pkg +++ b/utils/test-pkg @@ -131,7 +131,7 @@ build_one() { support/kconfig/merge_config.sh -O "${dir}" \ "${toolchainconfig}" "support/config-fragments/minimal.config" "${cfg}" \ - > /dev/null + >> "${dir}/logfile" 2>&1 # We want all the options from the snippet to be present as-is (set # or not set) in the actual .config; if one of them is not, it means # some dependency from the toolchain or arch is not available, in