[coreboot-gerrit] New patch to review for coreboot: ff5ba21 board_status.sh name temp dir and print the name

Martin Roth (gaumless@gmail.com) gerrit at coreboot.org
Thu Jul 10 23:02:39 CEST 2014


Martin Roth (gaumless at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6259

-gerrit

commit ff5ba21c3c952643a84ed207615495de64cf4157
Author: Martin Roth <martin.roth at se-eng.com>
Date:   Thu Jul 10 14:59:11 2014 -0600

    board_status.sh name temp dir and print the name
    
    - give a template to the temp dir so they're recognizable.
    - show the location of the temp files again at the end of the script.
    
    Change-Id: Ieb031ee249043697f6a75e42284c23d0b9bad1b3
    Signed-off-by: Martin Roth <martin.roth at se-eng.com>
---
 util/board_status/board_status.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 20ba48f..889419e 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -152,7 +152,7 @@ fi
 
 # Results will be placed in a temporary location until we're ready to upload.
 # If the user does not wish to upload, results will remain in /tmp.
-tmpdir=$(mktemp -d)
+tmpdir=$(mktemp -d --tmpdir coreboot_board_status.XXXXXXXX)
 
 # Obtain board and revision info to form the directory structure:
 # <vendor>/<board>/<revision>/<timestamp>
@@ -229,6 +229,9 @@ cd "$coreboot_dir"
 
 if [ $CLOBBER_OUTPUT -eq 1 ]; then
 	rm -rf ${tmpdir}
+else
+	echo
+	echo "output files are in ${tmpdir}/${results}"
 fi
 
 exit $EXIT_SUCCESS



More information about the coreboot-gerrit mailing list