support/scripts/test-pkg: extend logfile with olddefconfig output

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Benoît Allard 2017-03-09 16:15:21 +01:00 committed by Thomas Petazzoni
parent 80fbef5853
commit ac53042bf2

View File

@ -108,7 +108,7 @@ build_one() {
_EOF_
cat "${cfg}" >>"${dir}/.config"
if ! make O="${dir}" olddefconfig >/dev/null 2>&1; then
if ! make O="${dir}" olddefconfig > "${dir}/logfile" 2>&1; then
printf "FAILED\n"
return 2
fi