util/board_status/board_status.sh: Move comment to right position
Fix up commit 1b6e7a67 (Updates to the board status script) adding this
comment before running `cbfstool` by moving it to a more appropriate place.
Change-Id: Iff79ed44e8e5ced55f2345407d1668858098ebe4
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/8491
Tested-by: build bot (Jenkins)
Reviewed-by: David Hendricks <dhendrix@chromium.org>
			
			
This commit is contained in:
		
				
					committed by
					
						
						David Hendricks
					
				
			
			
				
	
			
			
			
						parent
						
							c5163ed83b
						
					
				
				
					commit
					1cc77e0f89
				
			@@ -213,8 +213,6 @@ fi
 | 
				
			|||||||
# If the user does not wish to upload, results will remain in /tmp.
 | 
					# If the user does not wish to upload, results will remain in /tmp.
 | 
				
			||||||
tmpdir=$(mktemp -d --tmpdir coreboot_board_status.XXXXXXXX)
 | 
					tmpdir=$(mktemp -d --tmpdir coreboot_board_status.XXXXXXXX)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Obtain board and revision info to form the directory structure:
 | 
					 | 
				
			||||||
# <vendor>/<board>/<revision>/<timestamp>
 | 
					 | 
				
			||||||
cbfstool_cmd="build/cbfstool"
 | 
					cbfstool_cmd="build/cbfstool"
 | 
				
			||||||
if test ! -x build/cbfstool; then
 | 
					if test ! -x build/cbfstool; then
 | 
				
			||||||
	make -C util/cbfstool/ && cp util/cbfstool/cbfstool build/cbfstool
 | 
						make -C util/cbfstool/ && cp util/cbfstool/cbfstool build/cbfstool
 | 
				
			||||||
@@ -222,6 +220,9 @@ fi
 | 
				
			|||||||
test_cmd $LOCAL "$cbfstool_cmd"
 | 
					test_cmd $LOCAL "$cbfstool_cmd"
 | 
				
			||||||
$cbfstool_cmd build/coreboot.rom extract -n config -f ${tmpdir}/config.txt
 | 
					$cbfstool_cmd build/coreboot.rom extract -n config -f ${tmpdir}/config.txt
 | 
				
			||||||
$cbfstool_cmd build/coreboot.rom print > ${tmpdir}/cbfs.txt
 | 
					$cbfstool_cmd build/coreboot.rom print > ${tmpdir}/cbfs.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Obtain board and revision info to form the directory structure:
 | 
				
			||||||
 | 
					# <vendor>/<board>/<revision>/<timestamp>
 | 
				
			||||||
mainboard_dir="$(grep CONFIG_MAINBOARD_DIR ${tmpdir}/config.txt | awk -F '"' '{ print $2 }')"
 | 
					mainboard_dir="$(grep CONFIG_MAINBOARD_DIR ${tmpdir}/config.txt | awk -F '"' '{ print $2 }')"
 | 
				
			||||||
vendor=$(echo "$mainboard_dir" | awk -F '/' '{ print $1 }')
 | 
					vendor=$(echo "$mainboard_dir" | awk -F '/' '{ print $1 }')
 | 
				
			||||||
mainboard=$(echo "$mainboard_dir" | awk -F '/' '{ print $2 }')
 | 
					mainboard=$(echo "$mainboard_dir" | awk -F '/' '{ print $2 }')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user