diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-10-30 12:10:58 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-10-30 12:10:58 +1100 |
commit | 9fda8c5c51c0a2471a1dd921666d48536574b140 (patch) | |
tree | db66fa0f5025928e6ec6cc08a4dcb02166ee13d5 | |
parent | 888abee28e260d38c6de8b38d329ebac6a81fd8f (diff) | |
download | skiboot-9fda8c5c51c0a2471a1dd921666d48536574b140.zip skiboot-9fda8c5c51c0a2471a1dd921666d48536574b140.tar.gz skiboot-9fda8c5c51c0a2471a1dd921666d48536574b140.tar.bz2 |
Fix boot_test.sh script for chmod +x pflash if copying
On some BMC firmware revisions, we need to copy over a pflash
binary and we need to ensure that the executable bit is set.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | external/boot-tests/bmc_support.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/boot-tests/bmc_support.sh b/external/boot-tests/bmc_support.sh index c584dd3..610c050 100644 --- a/external/boot-tests/bmc_support.sh +++ b/external/boot-tests/bmc_support.sh @@ -37,6 +37,7 @@ function poweroff { function flash { if [ ! -z "$PFLASH_TO_COPY" ]; then remotecp $PFLASH_TO_COPY $target /tmp/pflash + $SSHCMD chmod +x /tmp/pflash PFLASH_BINARY=/tmp/pflash fi if [ ! -z "$PNOR" ]; then |