From: VMware, Inc <> Date: Wed, 18 Sep 2013 03:29:52 +0000 (-0700) Subject: Fix lspci command in vm-support. X-Git-Tag: 2013.09.16-1328054~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdfb73d3f965ceb791a4ba18d044ad90f29bf645;p=thirdparty%2Fopen-vm-tools.git Fix lspci command in vm-support. Change runcmd "lspci -t -v -nn -F /tmp/lspci1.$$.txt" "/tmp/lspci2.$$.txt" to runcmd "lspci -t -v -nn -F ${OUTPUT_DIR}/tmp/lspci1.$$.txt" "/tmp/lspci2.$$.txt" because previous command: runcmd "lspci -M -vvv -nn -xxxx" "/tmp/lspci1.$$.txt" would remove /tmp/lspci1.$$.txt in the last step. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/scripts/common/vm-support b/open-vm-tools/scripts/common/vm-support index 7361f2e04..412e5d69f 100644 --- a/open-vm-tools/scripts/common/vm-support +++ b/open-vm-tools/scripts/common/vm-support @@ -239,7 +239,7 @@ stageLinux() # Commands to run ($1) and redirect to logs ($2) for inclusion. runcmd "ps auwwx" "/tmp/ps-auwwx.$$.txt" runcmd "lspci -M -vvv -nn -xxxx" "/tmp/lspci1.$$.txt" - runcmd "lspci -t -v -nn -F /tmp/lspci1.$$.txt" "/tmp/lspci2.$$.txt" + runcmd "lspci -t -v -nn -F ${OUTPUT_DIR}/tmp/lspci1.$$.txt" "/tmp/lspci2.$$.txt" runcmd "lspci -vvv -nn" "/tmp/lspci3.$$.txt" runcmd "/sbin/lsmod" "/tmp/modules.$$.txt" runcmd "uname -a" "/tmp/uname.$$.txt"