From 368488ae295db84c8983a4fbf85dd3857095bdc6 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 12 Jun 2015 11:35:10 +0200 Subject: [PATCH] board-status: expand minimized config to full size Otherwise the later processing may fail. Keep minimized version as config.short.txt for the user's benefit. Change-Id: I1082ff68de85027d526266cdbf2073d22ce7f2e0 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10525 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/board_status/board_status.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 0f5627d653..ec98277aea 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -219,6 +219,8 @@ if test ! -x build/cbfstool; then fi test_cmd $LOCAL "$cbfstool_cmd" $cbfstool_cmd build/coreboot.rom extract -n config -f ${tmpdir}/config.txt +cp ${tmpdir}/config.txt ${tmpdir}/config.short.txt +yes "" | make DOTCONFIG=${tmpdir}/config.txt oldconfig $cbfstool_cmd build/coreboot.rom print > ${tmpdir}/cbfs.txt # Obtain board and revision info to form the directory structure: @@ -238,6 +240,7 @@ echo "Temporarily placing output in ${tmpdir}/${results}" mkdir -p "${tmpdir}/${results}" mv "${tmpdir}/config.txt" "${tmpdir}/${results}" +mv "${tmpdir}/config.short.txt" "${tmpdir}/${results}" mv "${tmpdir}/cbfs.txt" "${tmpdir}/${results}" touch ${tmpdir}/${results}/revision.txt