| Index: utility/dev_debug_vboot
|
| diff --git a/utility/dev_debug_vboot b/utility/dev_debug_vboot
|
| index b86aafbd1b3df2c9c2cd0b58c33f9dcafc4ce1d6..c098251010fd5049b61555bd92cf9bcd29886377 100755
|
| --- a/utility/dev_debug_vboot
|
| +++ b/utility/dev_debug_vboot
|
| @@ -14,9 +14,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
|
| TMPDIR=$(mktemp -d /tmp/debug_vboot_XXXXXXXXX)
|
| LOGFILE=noisy.log
|
| -# The public file must live directly in /tmp, not in a subdirectory.
|
| -# See http://crosbug.com/8947
|
| -PUBLOGFILE=/tmp/debug_vboot_noisy.log
|
| +PUBLOGFILE=/var/log/debug_vboot_noisy.log
|
|
|
| # TODO(wfrichar): Need to support ARM. The hard disk path is likely different.
|
| # We can use 'crossystem arch' to distinguish between x86 and ARM.
|
| @@ -24,8 +22,7 @@ HD=/dev/sda
|
|
|
| cleanup() {
|
| if [ -z "${USE_EXISTING:-}" ]; then
|
| - # See http://crosbug.com/8947
|
| - cp --no-target-directory --remove-destination "${LOGFILE}" "${PUBLOGFILE}"
|
| + cp -f "${LOGFILE}" "${PUBLOGFILE}"
|
| info "exporting log file as ${PUBLOGFILE}"
|
| fi
|
| if [ -n "${CLEANUP:-}" ]; then
|
|
|